<commit_before>require 'formula'

class Goaccess < Formula
  homepage 'http://goaccess.prosoftcorp.com/'
  url 'http://downloads.sourceforge.net/project/goaccess/0.5/goaccess-0.5.tar.gz'
  sha1 '97c0c48e41ed0c8cf24cc87f1d39d7be687bc52b'

  head 'git://goaccess.git.sourceforge.net/gitroot/goaccess/goaccess'

  option 'enable-geoip', "Enable IP location information using GeoIP"

  depends_on 'pkg-config' => :build
  depends_on 'glib'
  depends_on 'geoip' if build.include? "enable-geoip"

  def install
    args = %W[
      --disable-debug
      --disable-dependency-tracking
      --prefix=#{prefix}
    ]

    args << "--enable-geoip" if build.include? "enable-geoip"

    system "./configure", *args
    system "make install"
  end
end<commit_msg>GoAccess 0.6.1<commit_after>require 'formula'

class Goaccess < Formula
  homepage 'http://goaccess.prosoftcorp.com/'
  url 'http://downloads.sourceforge.net/project/goaccess/0.6.1/goaccess-0.6.1.tar.gz'
  sha1 '9604087ca730c288b461a260ab50bf7dd38ca281'

  head 'git://goaccess.git.sourceforge.net/gitroot/goaccess/goaccess'

  option 'enable-geoip', "Enable IP location information using GeoIP"

  depends_on 'pkg-config' => :build
  depends_on 'glib'
  depends_on 'geoip' if build.include? "enable-geoip"

  def install
    args = %W[
      --disable-debug
      --disable-dependency-tracking
      --prefix=#{prefix}
    ]

    args << "--enable-geoip" if build.include? "enable-geoip"

    system "./configure", *args
    system "make install"
  end
end
{'fraction_non_alphanumeric': 0.1365142478462558, 'fraction_numerical': 0.04241219350563287, 'mean_word_length': 3.467455621301775, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '7417896', 'n_tokens_mistral': 582, 'n_tokens_neox': 537, 'n_words': 102}