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

class Php56Vld < AbstractPhp56Extension
  init
  homepage 'https://pecl.php.net/package/vld'
  url 'https://pecl.php.net/get/vld-0.13.0.tgz'
  sha256 'f61fe6501b6f30cf5628b7fd0e2c41185bb9bfac96b765c8b967a8ba01f7bf8b'
  head 'https://github.com/derickr/vld.git'

  def install
    Dir.chdir "vld-#{version}" unless build.head?

    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}",
                          phpconfig
    system "make"
    prefix.install "modules/vld.so"
    write_config_file if build.with? "config-file"
  end
end<commit_msg>php56-vld: add 0.13.0 bottle.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php56Vld < AbstractPhp56Extension
  init
  homepage 'https://pecl.php.net/package/vld'
  url 'https://pecl.php.net/get/vld-0.13.0.tgz'
  sha256 'f61fe6501b6f30cf5628b7fd0e2c41185bb9bfac96b765c8b967a8ba01f7bf8b'
  head 'https://github.com/derickr/vld.git'

  bottle do
    cellar :any_skip_relocation
    sha256 "aa3cf8f40db198bef2b20d55deaf747f2315d37edb0ac4aa4ee74837452fa213" => :el_capitan
    sha256 "1ecfa0ecc9bdc1b63d428e21ca0b2473a8e5ee7029788c31fd5ffc50fc2d5abf" => :yosemite
    sha256 "1c6beae202e049b716e0f08bd888a33e8be47b6858667b58141ef5031ec9332c" => :mavericks
  end

  def install
    Dir.chdir "vld-#{version}" unless build.head?

    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}",
                          phpconfig
    system "make"
    prefix.install "modules/vld.so"
    write_config_file if build.with? "config-file"
  end
end
{'fraction_non_alphanumeric': 0.11652173913043479, 'fraction_numerical': 0.1263768115942029, 'mean_word_length': 3.7944444444444443, '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': '5589505', 'n_tokens_mistral': 803, 'n_tokens_neox': 691, 'n_words': 94}