<commit_before>require "language/node"

class AngularCli < Formula
  desc "CLI tool for Angular"
  homepage "https://cli.angular.io/"
  url "https://registry.npmjs.org/@angular/cli/-/cli-1.2.7.tgz"
  sha256 "26a6c39d953aa8b99ef6aebbeae935d0582c296bfa04cf85722c598386d3a611"

  bottle do
    sha256 "bd70369049a5e588692cee41cd608df90220304a614686ba060a009b4a5dc6cb" => :sierra
    sha256 "189a933406dd26757dfbf4492c5dea8058b583518d1672319323ee02efe0f41b" => :el_capitan
    sha256 "76a0c5c80e9e0c01d8e579dcee0a296a7cb20b2669586c9f9ed7b310f7edc8e6" => :yosemite
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    system bin/"ng", "new", "--skip-install", "angular-homebrew-test"
    assert File.exist?("angular-homebrew-test/package.json"), "Project was not created"
  end
end<commit_msg>angular-cli 1.3.0<commit_after>require "language/node"

class AngularCli < Formula
  desc "CLI tool for Angular"
  homepage "https://cli.angular.io/"
  url "https://registry.npmjs.org/@angular/cli/-/cli-1.3.0.tgz"
  sha256 "eda7681a469303cef3310ecdebb24fd1461c0409b257ff35005408d8dd09fdba"

  bottle do
    sha256 "bd70369049a5e588692cee41cd608df90220304a614686ba060a009b4a5dc6cb" => :sierra
    sha256 "189a933406dd26757dfbf4492c5dea8058b583518d1672319323ee02efe0f41b" => :el_capitan
    sha256 "76a0c5c80e9e0c01d8e579dcee0a296a7cb20b2669586c9f9ed7b310f7edc8e6" => :yosemite
  end

  depends_on "node"

  def install
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    system bin/"ng", "new", "--skip-install", "angular-homebrew-test"
    assert File.exist?("angular-homebrew-test/package.json"), "Project was not created"
  end
end
{'fraction_non_alphanumeric': 0.11646803900325027, 'fraction_numerical': 0.19393282773564463, 'mean_word_length': 5.218855218855219, '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': '5793490', 'n_tokens_mistral': 976, 'n_tokens_neox': 775, 'n_words': 108}