<commit_before>require "language/node"

class Heroku < Formula
  desc "Command-line client for the cloud PaaS"
  homepage "https://cli.heroku.com"
  url "https://registry.npmjs.org/heroku-cli/-/heroku-cli-6.16.10.tgz"
  sha256 "2796544d833d5cc45242c512a36f5aa598e62baeed7d647aee2026788d4b0f6e"
  head "https://github.com/heroku/cli.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "67d9a7b44cee6fa9c95b9465c5adf25c049290df8d314c87aaa5c596104d5ebe" => :high_sierra
    sha256 "3d867ac3b52376c4f881c474d800e2e15c1b9b6e1f49aee06ebbbeb471e13973" => :sierra
    sha256 "38df90b1e8fda89a9d8b632ade18f306cf694c9772b3c6a4e0e33f1a198fd6f8" => :el_capitan
  end

  depends_on "node"

  def install
    inreplace "bin/run" do |s|
      s.gsub! "npm update -g heroku-cli", "brew upgrade heroku"
      s.gsub! "#!/usr/bin/env node", "#!#{Formula["node"].opt_bin}/node"
    end
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    system bin/"heroku", "version"
  end
end<commit_msg>heroku: update 6.16.10 bottle.<commit_after>require "language/node"

class Heroku < Formula
  desc "Command-line client for the cloud PaaS"
  homepage "https://cli.heroku.com"
  url "https://registry.npmjs.org/heroku-cli/-/heroku-cli-6.16.10.tgz"
  sha256 "2796544d833d5cc45242c512a36f5aa598e62baeed7d647aee2026788d4b0f6e"
  head "https://github.com/heroku/cli.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "d9484cdaef620fda9014800d30693c184546af0692e4c36730aab722f215c30d" => :high_sierra
    sha256 "80cabdf0eaf5a8f653c44209b448cb4060f532915072204b59db6454327bec93" => :sierra
    sha256 "9a66a9a9bfd55cc19ea657c18ab975949c127d1ce1ce50bea938971926d04bb9" => :el_capitan
  end

  depends_on "node"

  def install
    inreplace "bin/run" do |s|
      s.gsub! "npm update -g heroku-cli", "brew upgrade heroku"
      s.gsub! "#!/usr/bin/env node", "#!#{Formula["node"].opt_bin}/node"
    end
    system "npm", "install", *Language::Node.std_npm_install_args(libexec)
    bin.install_symlink Dir["#{libexec}/bin/*"]
  end

  test do
    system bin/"heroku", "version"
  end
end
{'fraction_non_alphanumeric': 0.12124016658954188, 'fraction_numerical': 0.16612679315131884, 'mean_word_length': 4.58656330749354, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4373842', 'n_tokens_mistral': 1125, 'n_tokens_neox': 930, 'n_words': 140}