<commit_before>require "language/node"

class AtomistCli < Formula
  desc "The Atomist CLI"
  homepage "https://github.com/atomist/cli#readme"
  url "https://registry.npmjs.org/@atomist/cli/-/@atomist/cli-1.2.0.tgz"
  sha256 "57476979f5b1276d126b131341764ae531d51d2b3dce742cd566a51dc44dca24"

  bottle do
    cellar :any_skip_relocation
    sha256 "4c9c870b32219f80331b4a5b88be890c65a7aa302491fb0152dfa53835b18ade" => :mojave
    sha256 "93b64aa4b2b1616431546d1390a73f23fcf9e2d882aa7d774de5a094c08d9b01" => :high_sierra
    sha256 "21c36da42409a22383703491f43ef4c6916ce156f7ca7fabfd4b51858f03e309" => :sierra
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
    bash_completion.install "#{libexec}/lib/node_modules/@atomist/cli/assets/bash_completion/atomist"
  end

  test do
    assert_predicate bin/"atomist", :exist?
    assert_predicate bin/"atomist", :executable?
    assert_predicate bin/"@atomist", :exist?
    assert_predicate bin/"@atomist", :executable?
<commit_msg>atomist-cli: update 1.2.0 bottle.<commit_after>require "language/node"

class AtomistCli < Formula
  desc "The Atomist CLI"
  homepage "https://github.com/atomist/cli#readme"
  url "https://registry.npmjs.org/@atomist/cli/-/@atomist/cli-1.2.0.tgz"
  sha256 "57476979f5b1276d126b131341764ae531d51d2b3dce742cd566a51dc44dca24"

  bottle do
    sha256 "8ba312dfde4af7f2ede49949cd1315974e18dd1d5fafe4ff5afb1c4283e7e716" => :mojave
    sha256 "d01e3c646a708d245d6b097149bdf4edc0d27f1c91161d3a0822a0c8637f4977" => :high_sierra
    sha256 "0daaa3d500d196b0e7f1defbed4c7f5ca93e0afbe2813be046fdb38b3ab38b69" => :sierra
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
    bash_completion.install "#{libexec}/lib/node_modules/@atomist/cli/assets/bash_completion/atomist"
  end

  test do
    assert_predicate bin/"atomist", :exist?
    assert_predicate bin/"atomist", :executable?
    assert_predicate bin/"@atomist", :exist?
    assert_predicate bin/"@atomist", :executable?

{'fraction_non_alphanumeric': 0.11223551057957681, 'fraction_numerical': 0.16375344986200552, 'mean_word_length': 5.551204819277109, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '7448866', 'n_tokens_mistral': 1103, 'n_tokens_neox': 907, 'n_words': 113}