<commit_before>class Sourcery < Formula
  desc "Meta-programming for Swift, stop writing boilerplate code"
  homepage "https://github.com/krzysztofzablocki/Sourcery"
  url "https://github.com/krzysztofzablocki/Sourcery/archive/1.4.0.tar.gz"
  sha256 "a735ea332ca62af592ca5a09e5195767fd5d83242b8274bc0c6fc45387efe569"
  license "MIT"
  head "https://github.com/krzysztofzablocki/Sourcery.git"

  bottle do
    sha256 cellar: :any, arm64_big_sur: "119babe36b16fcf0b5b15cd346a46f5ffe6ac605213a65de073d6b49a02346b3"
    sha256 cellar: :any, big_sur:       "d92c19b4378d014eef67c4632b1ca7103bb5d218d24315147301f6362c89593b"
    sha256 cellar: :any, catalina:      "9abcc985fd21879613a1841c35864a9ea103552603892040b3b21113f59b8d7d"
  end

  depends_on xcode: "12.0"
  uses_from_macos "ruby" => :build

  def install
    system "rake", "build"
    bin.install "cli/bin/sourcery"
    lib.install Dir["cli/lib/*.dylib"]
  end

  test do<commit_msg>sourcery: update 1.4.0 bottle.<commit_after>class Sourcery < Formula
  desc "Meta-programming for Swift, stop writing boilerplate code"
  homepage "https://github.com/krzysztofzablocki/Sourcery"
  url "https://github.com/krzysztofzablocki/Sourcery/archive/1.4.0.tar.gz"
  sha256 "a735ea332ca62af592ca5a09e5195767fd5d83242b8274bc0c6fc45387efe569"
  license "MIT"
  head "https://github.com/krzysztofzablocki/Sourcery.git"

  bottle do
    rebuild 1
    sha256 cellar: :any, arm64_big_sur: "abacda61686eb9aac087eded93bd4f3d8384a2df4b07eb25f5db1bf42cb71081"
    sha256 cellar: :any, big_sur:       "ea9749813c93e9abecb0953910efd402aa556f94edc0bb3d41d5ba2213422608"
    sha256 cellar: :any, catalina:      "648fba6896d186b3d28a6b19f0b2cf6e70ff74554f9cd412539d765c12e63487"
  end

  depends_on xcode: "12.0"
  uses_from_macos "ruby" => :build

  def install
    system "rake", "build"
    bin.install "cli/bin/sourcery"
    lib.install Dir["cli/lib/*.dylib"]
  end

  test do
{'fraction_non_alphanumeric': 0.09533787323205867, 'fraction_numerical': 0.19486642221058145, 'mean_word_length': 4.950155763239875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2052990', 'n_tokens_mistral': 1041, 'n_tokens_neox': 844, 'n_words': 118}