<commit_before>class Xrick < Formula
  desc "Clone of Rick Dangerous"
  homepage "http://www.bigorno.net/xrick/"
  url "http://www.bigorno.net/xrick/xrick-021212.tgz"
  # There is a repo at https://github.com/zpqrtbnk/xrick but it is organized
  # differently than the tarball
  sha256 "aa8542120bec97a730258027a294bd16196eb8b3d66134483d085f698588fc2b"

  bottle do
    sha256 "8b155ebc162ed2990de96f1842fb3b880b4ae84fc187664d13696a3c7d1edfe8" => :catalina
    sha256 "632c310d5834fd968c2d908e3721ff62b3a7c01ee97e4b1587b0dad33067674c" => :mojave
    sha256 "a45d9b27ee02a21aa81ecc8b7eaf2718521388972559003c46fc428d15584f15" => :high_sierra
    sha256 "03e69c34042ffa8849aaa653f06ae889a6d404797a42c6549ce7de8d3de72dce" => :sierra
    sha256 "772f6718786e66657b0647dc7233b3680903a2e16d06fa59a9f804dd33d5096a" => :el_capitan
    sha256 "2d4e9e140f15692acd4d0e9f4a9da08d1a3e6f3d3fdbc8d4d799e6d2bde91e8f" => :yosemite
  end

  depends_on "sdl"

  def install
    inreplace "src/xrick.c", "data.zip", "#{pkgshare}/data.zip"
    system "make"
    bin.install "xrick"
    man6.install "xrick.6.gz"
    pkgshare.install "data.zip"
  end

  test do
    assert_match "xrick [version ##{version}]", shell_output("#{bin}/xrick --help", 1)
  end
end<commit_msg>xrick: update 021212 bottle.<commit_after>class Xrick < Formula
  desc "Clone of Rick Dangerous"
  homepage "http://www.bigorno.net/xrick/"
  url "http://www.bigorno.net/xrick/xrick-021212.tgz"
  # There is a repo at https://github.com/zpqrtbnk/xrick but it is organized
  # differently than the tarball
  sha256 "aa8542120bec97a730258027a294bd16196eb8b3d66134483d085f698588fc2b"

  bottle do
    rebuild 1
    sha256 "301f75c04e2c98c81b58868d7357e817b7dec1bc8a29747b27f088a10c1863ec" => :big_sur
    sha256 "b391e62a9cf0a3537ec68c03d215370d875a70a90fb7a8cb48cac8cc7281e2c2" => :catalina
    sha256 "cf85542617f6e39a8fec0239a57d1bc1707f50289e5c91bee89e84664603f43c" => :mojave
  end

  depends_on "sdl"

  def install
    inreplace "src/xrick.c", "data.zip", "#{pkgshare}/data.zip"
    system "make"
    bin.install "xrick"
    man6.install "xrick.6.gz"
    pkgshare.install "data.zip"
  end

  test do
    assert_match "xrick [version ##{version}]", shell_output("#{bin}/xrick --help", 1)
  end
end
{'fraction_non_alphanumeric': 0.09928762243989314, 'fraction_numerical': 0.2315227070347284, 'mean_word_length': 4.928759894459103, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, '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': '7101377', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1000, 'n_words': 149}