<commit_before>require "formula"

class CassandraCppDriver < Formula
  homepage "http://datastax.github.io/cpp-driver/"
  url "https://github.com/datastax/cpp-driver/archive/1.0.0.tar.gz"
  sha1 "087aa2cf00e3c6f0eb75bb0471b78d255ea94562"
  version "1.0.0"

  head "git://github.com:datastax/cpp-driver.git", :branch => "1.0"

  depends_on "cmake" => :build
  depends_on "libuv"

  def install
    mkdir 'build' do
      system "cmake", "-DCMAKE_BUILD_TYPE=RELEASE", "-DCASS_BUILD_STATIC=ON", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}", ".."
      system "make", "install"
    end
  end
end<commit_msg>Upgraded homebrew formula to 2.0 branch<commit_after>require "formula"

class CassandraCppDriver < Formula
  homepage "http://datastax.github.io/cpp-driver/"
  url "https://github.com/datastax/cpp-driver/archive/2.0.0.tar.gz"
  sha1 "7bb41ba0caf5a8211bc2ed9dc8c99563e4fd047e"
  version "2.0.0"

  head "git://github.com:datastax/cpp-driver.git", :branch => "2.0"

  depends_on "cmake" => :build
  depends_on "libuv"

  def install
    mkdir 'build' do
      system "cmake", "-DCMAKE_BUILD_TYPE=RELEASE", "-DCASS_BUILD_STATIC=ON", "-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}", ".."
      system "make", "install"
    end
  end
end
{'fraction_non_alphanumeric': 0.1546644844517185, 'fraction_numerical': 0.054009819967266774, 'mean_word_length': 4.117154811715481, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '3213979', 'n_tokens_mistral': 511, 'n_tokens_neox': 474, 'n_words': 80}