<commit_before>require 'formula'

class Juju < Formula
  homepage 'https://juju.ubuntu.com'
  url 'https://launchpad.net/juju-core/1.21/1.21.3/+download/juju-core_1.21.3.tar.gz'
  sha1 'c5387793e050058695d918a1f7b16736574680d3'

  bottle do
    cellar :any
    sha1 "69e90143d53a747eb7c8193ff54345746d11ad14" => :yosemite
    sha1 "c33cb40f909a83602a28ab0679342fd8b43a666e" => :mavericks
    sha1 "0646b1900de413084965e8fbfb4bbe03f55e0762" => :mountain_lion
  end

  depends_on 'go' => :build

  def install
    ENV["GOPATH"] = buildpath
    system "go", "build", "github.com/juju/juju/cmd/juju"
    system "go", "build", "github.com/juju/juju/cmd/plugins/juju-metadata"
    bin.install "juju", "juju-metadata"
    bash_completion.install "src/github.com/juju/juju/etc/bash_completion.d/juju-core"
  end

  test do
    system "#{bin}/juju", "version"
  end
end
<commit_msg>juju 1.22.0<commit_after>require 'formula'

class Juju < Formula
  homepage 'https://juju.ubuntu.com'
  url 'https://launchpad.net/juju-core/1.22/1.22.0/+download/juju-core_1.22.0.tar.gz'
  sha1 '3956a29f5742562ebf31417be4c785154b2b0c19'

  bottle do
    cellar :any
    sha1 "69e90143d53a747eb7c8193ff54345746d11ad14" => :yosemite
    sha1 "c33cb40f909a83602a28ab0679342fd8b43a666e" => :mavericks
    sha1 "0646b1900de413084965e8fbfb4bbe03f55e0762" => :mountain_lion
  end

  depends_on 'go' => :build

  def install
    ENV["GOPATH"] = buildpath
    system "go", "build", "github.com/juju/juju/cmd/juju"
    system "go", "build", "github.com/juju/juju/cmd/plugins/juju-metadata"
    bin.install "juju", "juju-metadata"
    bash_completion.install "src/github.com/juju/juju/etc/bash_completion.d/juju-core"
  end

  test do
    system "#{bin}/juju", "version"
  end
end

{'fraction_non_alphanumeric': 0.13646788990825687, 'fraction_numerical': 0.15022935779816513, 'mean_word_length': 4.0726744186046515, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5488235', 'n_tokens_mistral': 946, 'n_tokens_neox': 759, 'n_words': 107}