<commit_before>require "language/node"

class Gitmoji < Formula
  desc "Interactive command-line tool for using emoji in commit messages"
  homepage "https://gitmoji.dev"
  url "https://registry.npmjs.org/gitmoji-cli/-/gitmoji-cli-5.2.1.tgz"
  sha256 "c916360e42182aa15702e2efa115b75921b57b30cf6537f9be3918f5cd9cf844"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "6026835ea0064c46fd05c6e645af7eb70208a8160c6a61c2eba1f5f8ff64aad6"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "6026835ea0064c46fd05c6e645af7eb70208a8160c6a61c2eba1f5f8ff64aad6"
    sha256 cellar: :any_skip_relocation, monterey:       "d2ae18f13cf430bfbfff62dc486b83f1f4c1e7c0009388020e1557ff61ddfc82"
    sha256 cellar: :any_skip_relocation, big_sur:        "d2ae18f13cf430bfbfff62dc486b83f1f4c1e7c0009388020e1557ff61ddfc82"
    sha256 cellar: :any_skip_relocation, catalina:       "d2ae18f13cf430bfbfff62dc486b83f1f4c1e7c0009388020e1557ff61ddfc82"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "6026835ea0064c46fd05c6e645af7eb70208a8160c6a61c2eba1f5f8ff64aad6"
  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
    assert_match ":bug:", shell_output("#{bin}/gitmoji --search bug")
  end
end<commit_msg>gitmoji: update 5.2.1 bottle.<commit_after>require "language/node"

class Gitmoji < Formula
  desc "Interactive command-line tool for using emoji in commit messages"
  homepage "https://gitmoji.dev"
  url "https://registry.npmjs.org/gitmoji-cli/-/gitmoji-cli-5.2.1.tgz"
  sha256 "c916360e42182aa15702e2efa115b75921b57b30cf6537f9be3918f5cd9cf844"
  license "MIT"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "155511ad01af3a5fa88eb112d15209d7a27be06b8cb69a5d90a9b131ad120056"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "155511ad01af3a5fa88eb112d15209d7a27be06b8cb69a5d90a9b131ad120056"
    sha256 cellar: :any_skip_relocation, monterey:       "0b0afdbb40c9b45c6ffdff476691d183de9f0bd8f6fc51f5437688fef41dc18c"
    sha256 cellar: :any_skip_relocation, big_sur:        "0b0afdbb40c9b45c6ffdff476691d183de9f0bd8f6fc51f5437688fef41dc18c"
    sha256 cellar: :any_skip_relocation, catalina:       "0b0afdbb40c9b45c6ffdff476691d183de9f0bd8f6fc51f5437688fef41dc18c"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "155511ad01af3a5fa88eb112d15209d7a27be06b8cb69a5d90a9b131ad120056"
  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
    assert_match ":bug:", shell_output("#{bin}/gitmoji --search bug")
  end
end
{'fraction_non_alphanumeric': 0.08381924198250729, 'fraction_numerical': 0.22084548104956267, 'mean_word_length': 6.12987012987013, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 3, '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': '3781083', 'n_tokens_mistral': 1520, 'n_tokens_neox': 1203, 'n_words': 154}