<commit_before>require 'formula'


class Remind < Formula
  url 'http://www.roaringpenguin.com/files/download/remind-03.01.10.tar.gz'
  homepage 'http://www.roaringpenguin.com/products/remind'
  md5 'f6f7829d3ac92e0d6d463c59b5e6ce3f'

# roaringpenguin.com returns a 403 when the user agent contains Mac OS X :(
  HOMEBREW_USER_AGENT.delete!("; Mac OS X #{MACOS_FULL_VERSION}")

  def install
    # Remove unnecessary sleeps when running on Apple
    inreplace "configure", "sleep 1", "true"
    inreplace "src/init.c" do |s|
      s.gsub! "sleep(5);", ""
      s.gsub! /rkrphgvba\(.\);/, ""
    end
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end
<commit_msg>remind 03.01.12<commit_after>require 'formula'

class Remind < Formula
  url 'http://www.roaringpenguin.com/files/download/remind-03.01.12.tar.gz'
  homepage 'http://www.roaringpenguin.com/products/remind'
  md5 'de16cbfc3ee94defcb1abdf78b2ebcd1'

  def install
    # Remove unnecessary sleeps when running on Apple
    inreplace "configure", "sleep 1", "true"
    inreplace "src/init.c" do |s|
      s.gsub! "sleep(5);", ""
      s.gsub! /rkrphgvba\(.\);/, ""
    end
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end

{'fraction_non_alphanumeric': 0.15121255349500715, 'fraction_numerical': 0.039229671897289584, 'mean_word_length': 3.020057306590258, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '3170177', 'n_tokens_mistral': 535, 'n_tokens_neox': 498, 'n_words': 106}