<commit_before>require 'formula'

class TheSilverSearcher < Formula
  homepage 'https://github.com/ggreer/the_silver_searcher'
  url 'https://github.com/ggreer/the_silver_searcher/tarball/0.5'
  md5 'e39ccf313e40156176fb9fcd5373864c'
  head 'https://github.com/ggreer/the_silver_searcher.git'

  if MacOS.xcode_version >= '4.3'
    depends_on 'automake' => :build
    depends_on 'autoconf' => :build
  end
  depends_on 'pkg-config' => :build
  depends_on 'pcre'


  def install
    # Stable tarball does not include pre-generated configure script
    system "aclocal -I /usr/local/share/aclocal"
    system "autoconf"
    system "autoheader"
    system "automake --add-missing"

    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make"
    system "make install"
  end<commit_msg>the_silver_searcher 0.7.2<commit_after>require 'formula'

class TheSilverSearcher < Formula
  homepage 'https://github.com/ggreer/the_silver_searcher'
  url 'https://github.com/ggreer/the_silver_searcher/tarball/0.7.2'
  sha1 '48c33fa25ded5c446c0fca8d32b10872aee38e70'

  head 'https://github.com/ggreer/the_silver_searcher.git'

  if MacOS.xcode_version >= '4.3'
    depends_on 'automake' => :build
    depends_on 'autoconf' => :build
  end
  depends_on 'pkg-config' => :build
  depends_on 'pcre'


  def install
    # Stable tarball does not include pre-generated configure script
    system "aclocal -I /usr/local/share/aclocal"
    system "autoconf"
    system "autoheader"
    system "automake --add-missing"

    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make"
    system "make install"
  end
{'fraction_non_alphanumeric': 0.1212624584717608, 'fraction_numerical': 0.03211517165005537, 'mean_word_length': 2.9801762114537445, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '3719723', 'n_tokens_mistral': 652, 'n_tokens_neox': 627, 'n_words': 120}