<commit_before>require "language/node"

class FirebaseCli < Formula
  desc "Firebase command-line tools"
  homepage "https://firebase.google.com/docs/cli/"
  url "https://registry.npmjs.org/firebase-tools/-/firebase-tools-3.13.0.tgz"
  sha256 "41df772ec0b3db088dd285f5853cd8289ee714d8a8b040ea47803f9ac33eaefd"
  head "https://github.com/firebase/firebase-tools.git"

  bottle do
    sha256 "44288e101a13d7123f8cf5d4672bcf60b33c1c5bb079655bcc467fba1cb43067" => :high_sierra
    sha256 "e31150a4705268d78825614d8db8ad2f31c810717043cc7b32dba5c679d08941" => :sierra
    sha256 "7678d0be33da98fb0c0f279037acedf956940ce2d754999307dc07d8f7678b73" => :el_capitan
  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
    (testpath/"test.exp").write <<-EOS.undent
      spawn #{bin}/firebase login:ci --no-localhost
      expect "Paste"
    EOS
    assert_match "authorization code", shell_output("expect -f test.exp")
  end
end<commit_msg>firebase-cli: update 3.13.0 bottle for Linuxbrew.<commit_after>require "language/node"

class FirebaseCli < Formula
  desc "Firebase command-line tools"
  homepage "https://firebase.google.com/docs/cli/"
  url "https://registry.npmjs.org/firebase-tools/-/firebase-tools-3.13.0.tgz"
  sha256 "41df772ec0b3db088dd285f5853cd8289ee714d8a8b040ea47803f9ac33eaefd"
  head "https://github.com/firebase/firebase-tools.git"

  bottle do
    sha256 "44288e101a13d7123f8cf5d4672bcf60b33c1c5bb079655bcc467fba1cb43067" => :high_sierra
    sha256 "e31150a4705268d78825614d8db8ad2f31c810717043cc7b32dba5c679d08941" => :sierra
    sha256 "7678d0be33da98fb0c0f279037acedf956940ce2d754999307dc07d8f7678b73" => :el_capitan
    sha256 "f98a768547e80a4860acb1fbc5694f0f531144354dbf97385ebf8c020295a880" => :x86_64_linux
  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
    (testpath/"test.exp").write <<-EOS.undent
      spawn #{bin}/firebase login:ci --no-localhost
      expect "Paste"
    EOS
    assert_match "authorization code", shell_output("expect -f test.exp")
  end
end
{'fraction_non_alphanumeric': 0.11027123165851489, 'fraction_numerical': 0.18630502445531347, 'mean_word_length': 4.9523809523809526, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '3913017', 'n_tokens_mistral': 1151, 'n_tokens_neox': 923, 'n_words': 125}