<commit_before>require 'formula'

class Rubber < Formula
  homepage 'https://launchpad.net/rubber/'
  url 'http://launchpad.net/rubber/trunk/1.1/+download/rubber-20100306.tar.gz'
  sha1 'cd382a19cc9fc65d114456ec9d6b042dc0e65b53'

  # Creates missing .in files and adds them to the configure phase
  # otherwise rubber modules are not found after install
  patch do
    url "https://gist.githubusercontent.com/mgee/370408/raw/484d76d042e936053de41fbbe48f5dbdbd1b71b8/fix_rubber_configure.patch"
    sha1 "29173bd22b7ae6216d1255597b6755931df9a33e"
  end

  def install
    system "./configure", "--prefix=#{prefix}",<commit_msg>rubber: remove missing patch<commit_after>require 'formula'

class Rubber < Formula
  homepage 'https://launchpad.net/rubber/'
  url 'http://launchpad.net/rubber/trunk/1.1/+download/rubber-20100306.tar.gz'
  sha1 'cd382a19cc9fc65d114456ec9d6b042dc0e65b53'

  def install
    system "./configure", "--prefix=#{prefix}",
{'fraction_non_alphanumeric': 0.11758474576271187, 'fraction_numerical': 0.13665254237288135, 'mean_word_length': 4.833333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4578995', 'n_tokens_mistral': 426, 'n_tokens_neox': 347, 'n_words': 60}