<commit_before>class Carina < Formula
  desc "command-line client for Carina"
  homepage "https://github.com/getcarina/carina"
  url "https://github.com/getcarina/carina.git",
        :tag => "v2.1.2",
        :revision => "a6912875e62b2c832a8f71602b51a7d764ac53d4"
  head "https://github.com/getcarina/carina.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "37e75b5e6b8c8f576b8bde8485e5c6e66ec71b598396d873e6ce005911fcaccb" => :sierra
    sha256 "73297e3bb69192eb07670579834e3339eae96d086dd8995b03277174933bded7" => :el_capitan
    sha256 "83e275ba929845a5fb1512c29655345e60f2022ef93bfa0d4bf2321d2abd6bf4" => :yosemite
  end

  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    ENV.prepend_create_path "PATH", buildpath/"bin"

    carinapath = buildpath/"src/github.com/getcarina/carina"
    carinapath.install Dir["{*,.git}"]

    cd carinapath do
      system "make", "get-deps"
      system "make", "local", "VERSION=#{version}"
      bin.install "carina"
    end
  end

  test do
    system "#{bin}/carina", "--version"
  end<commit_msg>carina 2.1.3<commit_after>class Carina < Formula
  desc "command-line client for Carina"
  homepage "https://github.com/getcarina/carina"
  url "https://github.com/getcarina/carina.git",
        :tag => "v2.1.3",
        :revision => "2b3ec267e298e095d7c2f81a2d82dc50a720e81c"
  head "https://github.com/getcarina/carina.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "37e75b5e6b8c8f576b8bde8485e5c6e66ec71b598396d873e6ce005911fcaccb" => :sierra
    sha256 "73297e3bb69192eb07670579834e3339eae96d086dd8995b03277174933bded7" => :el_capitan
    sha256 "83e275ba929845a5fb1512c29655345e60f2022ef93bfa0d4bf2321d2abd6bf4" => :yosemite
  end

  depends_on "go" => :build

  def install
    ENV["GOPATH"] = buildpath
    ENV.prepend_create_path "PATH", buildpath/"bin"

    carinapath = buildpath/"src/github.com/getcarina/carina"
    carinapath.install Dir["{*,.git}"]

    cd carinapath do
      system "make", "get-deps"
      system "make", "local", "VERSION=#{version}"
      bin.install "carina"
    end
  end

  test do
    system "#{bin}/carina", "--version"
  end
{'fraction_non_alphanumeric': 0.12135247799907364, 'fraction_numerical': 0.15377489578508569, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3576357', 'n_tokens_mistral': 1073, 'n_tokens_neox': 900, 'n_words': 132}