<commit_before>require 'formula'

class Libmaxminddb < Formula
  head 'https://github.com/maxmind/libmaxminddb.git'
  homepage 'https://github.com/maxmind'

  depends_on 'automake' => :build
  depends_on 'libtool' => :build

  def install
    system "./bootstrap"
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "make", "check"
  end
end<commit_msg>Add libmaxminddb version<commit_after>require 'formula'

class Libmaxminddb < Formula
  head 'https://github.com/maxmind/libmaxminddb.git'
  homepage 'https://github.com/maxmind'
  version '0.5.0'

  depends_on 'automake' => :build
  depends_on 'libtool' => :build

  def install
    system "./bootstrap"
    system "./configure", "--disable-debug",
                          "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "make", "check"
  end
end
{'fraction_non_alphanumeric': 0.14074717636837533, 'fraction_numerical': 0.0026064291920069507, 'mean_word_length': 2.138964577656676, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3986817', 'n_tokens_mistral': 348, 'n_tokens_neox': 339, 'n_words': 75}