<commit_before>class Ruby19Dependency < Requirement
  fatal true

  satisfy do
    ruby = which("ruby")
    `#{ruby} --version` =~ /ruby (\d\.\d).\d/
    $1.to_f >= 1.9
  end

  def message
    "Selecta requires Ruby 1.9 or greater."
  end
end

class Selecta < Formula
  homepage "https://github.com/garybernhardt/selecta"
  url "https://github.com/garybernhardt/selecta/archive/v0.0.6.tar.gz"
  sha1 "bf8881b2d545847921b1a05d23b88e2037c358e4"

  depends_on Ruby19Dependency

  def install
    bin.install "selecta"
  end

  test do
    system "#{bin}/selecta", "--version"
  end
end<commit_msg>selecta: use RubyRequirement.<commit_after>class Selecta < Formula
  homepage "https://github.com/garybernhardt/selecta"
  url "https://github.com/garybernhardt/selecta/archive/v0.0.6.tar.gz"
  sha1 "bf8881b2d545847921b1a05d23b88e2037c358e4"

  depends_on :ruby => "1.9"

  def install
    bin.install "selecta"
  end

  test do
    system "#{bin}/selecta", "--version"
  end
end
{'fraction_non_alphanumeric': 0.1293634496919918, 'fraction_numerical': 0.07905544147843943, 'mean_word_length': 3.4318181818181817, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 5, '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': '7346272', 'n_tokens_mistral': 429, 'n_tokens_neox': 379, 'n_words': 74}