<commit_before>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php56Zookeeper < AbstractPhp56Extension
  init
  homepage "https://pecl.php.net/package/zookeeper"
  url "https://pecl.php.net/get/zookeeper-0.2.2.tgz"
  sha256 "ce657910472b0880e2f9dd0c73558a94a15c2cfc0208ba305dcc02e27cb34f78"
  head "https://github.com/andreiz/php-zookeeper.git"

  option "disable-session", "Disable zookeeper session handler support"
  depends_on "zookeeper"

  def install
    Dir.chdir "zookeeper-#{version}" unless build.head?<commit_msg>php56-zookeeper: add 0.2.2 bottle.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php56Zookeeper < AbstractPhp56Extension
  init
  homepage "https://pecl.php.net/package/zookeeper"
  url "https://pecl.php.net/get/zookeeper-0.2.2.tgz"
  sha256 "ce657910472b0880e2f9dd0c73558a94a15c2cfc0208ba305dcc02e27cb34f78"
  head "https://github.com/andreiz/php-zookeeper.git"

  bottle do
    sha256 "8882c1e52c6e16f476518873eeddfb7dd1ee9f15d3c9aac37fa081ac90ff5253" => :el_capitan
    sha256 "2e0d6f8508b424c39842559c3f096c275ce68c234712ab75952ef50e1ed6354c" => :yosemite
    sha256 "fa6860d7fb996a7278c7d0cab875704343c4d8435f2830c549ee059ace0e65ce" => :mavericks
  end

  option "disable-session", "Disable zookeeper session handler support"
  depends_on "zookeeper"

  def install
    Dir.chdir "zookeeper-#{version}" unless build.head?
{'fraction_non_alphanumeric': 0.11142061281337047, 'fraction_numerical': 0.16643454038997216, 'mean_word_length': 5.531818181818182, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '7359895', 'n_tokens_mistral': 709, 'n_tokens_neox': 592, 'n_words': 74}