<commit_before>class Navi < Formula
  desc "Interactive cheatsheet tool for the command-line"
  homepage "https://github.com/denisidoro/navi"
  url "https://github.com/denisidoro/navi/archive/v2.13.1.tar.gz"
  sha256 "5f130829bcfce96da8acfee943e2368625b26d83fb391d2f6409acd47923a342"
  license "Apache-2.0"

  bottle do
    cellar :any_skip_relocation
    sha256 "ced790989b7845581178f2f47ec83f5ee572f04e8c7ce7da9ce83510e7039128" => :big_sur
    sha256 "e86d3fd04b70ffc30bbe1ad1424111c5af0490336269a96cd3b7fc3d6ab025cb" => :catalina
    sha256 "7232389d1f0f4d5f4fc5530e53aae2af5710fbd59cedf35ce2519b7e32958edd" => :mojave
  end

  depends_on "rust" => :build
  depends_on "fzf"

  uses_from_macos "zlib"

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    assert_match "navi " + version, shell_output("#{bin}/navi --version")
    (testpath/"cheats/test.cheat").write "% test\n\n# foo\necho bar\n\n# lorem\necho ipsum\n"
    assert_match "bar", shell_output("export RUST_BACKTRACE=1; #{bin}/navi --path #{testpath}/cheats best foo")
  end
end<commit_msg>navi: update 2.13.1 bottle.<commit_after>class Navi < Formula
  desc "Interactive cheatsheet tool for the command-line"
  homepage "https://github.com/denisidoro/navi"
  url "https://github.com/denisidoro/navi/archive/v2.13.1.tar.gz"
  sha256 "5f130829bcfce96da8acfee943e2368625b26d83fb391d2f6409acd47923a342"
  license "Apache-2.0"

  bottle do
    cellar :any_skip_relocation
    sha256 "ced790989b7845581178f2f47ec83f5ee572f04e8c7ce7da9ce83510e7039128" => :big_sur
    sha256 "e86d3fd04b70ffc30bbe1ad1424111c5af0490336269a96cd3b7fc3d6ab025cb" => :catalina
    sha256 "7232389d1f0f4d5f4fc5530e53aae2af5710fbd59cedf35ce2519b7e32958edd" => :mojave
    sha256 "3eff5904d55073ba57253992aa31e383400cd1e8c83e16c7ca73c75cdbc2c42f" => :x86_64_linux
  end

  depends_on "rust" => :build
  depends_on "fzf"

  uses_from_macos "zlib"

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    assert_match "navi " + version, shell_output("#{bin}/navi --version")
    (testpath/"cheats/test.cheat").write "% test\n\n# foo\necho bar\n\n# lorem\necho ipsum\n"
    assert_match "bar", shell_output("export RUST_BACKTRACE=1; #{bin}/navi --path #{testpath}/cheats best foo")
  end
end
{'fraction_non_alphanumeric': 0.10935441370223979, 'fraction_numerical': 0.1769872639437857, 'mean_word_length': 5.107238605898123, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '177947', 'n_tokens_mistral': 1194, 'n_tokens_neox': 996, 'n_words': 145}