<commit_before>require 'formula'

class Cassandra < Formula
  url 'http://www.apache.org/dyn/closer.cgi?path=/cassandra/0.8.5/apache-cassandra-0.8.5-bin.tar.gz'
  homepage 'http://cassandra.apache.org'
  md5 'c188a0275ac3e8204c4ab5a16eb88ba5'

  def install
    (var+"lib/cassandra").mkpath
    (var+"log/cassandra").mkpath
    (etc+"cassandra").mkpath

    inreplace "conf/cassandra.yaml", "/var/lib/cassandra", "#{var}/lib/cassandra"
    inreplace "conf/log4j-server.properties", "/var/log/cassandra", "#{var}/log/cassandra"<commit_msg>cassandra 0.8.6<commit_after>require 'formula'

class Cassandra < Formula
  url 'http://www.apache.org/dyn/closer.cgi?path=/cassandra/0.8.6/apache-cassandra-0.8.6-bin.tar.gz'
  homepage 'http://cassandra.apache.org'
  md5 '3d948680b87efe923f2f7aaa0b186e09'

  def install
    (var+"lib/cassandra").mkpath
    (var+"log/cassandra").mkpath
    (etc+"cassandra").mkpath

    inreplace "conf/cassandra.yaml", "/var/lib/cassandra", "#{var}/lib/cassandra"
    inreplace "conf/log4j-server.properties", "/var/log/cassandra", "#{var}/log/cassandra"
{'fraction_non_alphanumeric': 0.17996289424860853, 'fraction_numerical': 0.05380333951762523, 'mean_word_length': 4.395, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2333174', 'n_tokens_mistral': 468, 'n_tokens_neox': 440, 'n_words': 48}