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

class Php56Dmtx < AbstractPhp56Extension
  init
  desc "PHP bindings for the dmtx library"
  homepage "http://www.libdmtx.org"
  url "https://github.com/maZahaca/php-dmtx/archive/0.0.3-dev.tar.gz"
  version "0.0.3"
  sha256 "864a2c9a39812e89d4aa3379cdf543a10a88b227cbe6d57ac94f2fd388b35e26"
  head "https://github.com/maZahaca/php-dmtx.git"

  bottle do
    revision 1
    sha256 "1b2f05953a0eecb0f622bc268d4ea111cb6d659d6062b58a5828e1beccc6323f" => :el_capitan
    sha256 "cff6d0ead77e5b6f3089663f5b2bdb783a09ed404eb4af94a5e8cd8da9ccf9cc" => :yosemite
    sha256 "f56f8aab243fb6f01d614b0b680e57295a9b35122e3746c6aa6ebb4c35173dd0" => :mavericks
  end

  depends_on "libdmtx"
  depends_on "php56-imagick"
  depends_on "pkg-config" => :build

  def install
    ENV.universal_binary if build.universal?

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

class Php56Dmtx < AbstractPhp56Extension
  init
  desc "PHP bindings for the dmtx library"
  homepage "http://www.libdmtx.org"
  url "https://github.com/maZahaca/php-dmtx/archive/0.0.3-dev.tar.gz"
  version "0.0.3"
  sha256 "864a2c9a39812e89d4aa3379cdf543a10a88b227cbe6d57ac94f2fd388b35e26"
  head "https://github.com/maZahaca/php-dmtx.git"

  bottle do
    revision 2
    sha256 "2d2e86830015eab368a2660c11e153e5c233ed0999eb8854411cd6d8dddd5433" => :el_capitan
    sha256 "9dd71cfbd5c36ef613ba364811fc4822318f1e171e78e73eacb3dea8a13ad78a" => :yosemite
    sha256 "9923a287f831b167c7cd28912e634654bebd15b6baadac3dd66f0a7c4fb1ecdb" => :mavericks
  end

  depends_on "libdmtx"
  depends_on "php56-imagick"
  depends_on "pkg-config" => :build

  def install
    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}",
                          phpconfig
    system "make"
    prefix.install %w[modules/dmtx.so]
    write_config_file if build.with? "config-file"
  end
end
{'fraction_non_alphanumeric': 0.10472823685373397, 'fraction_numerical': 0.1581970835174547, 'mean_word_length': 4.122171945701357, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 4, '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': '1163402', 'n_tokens_mistral': 1139, 'n_tokens_neox': 963, 'n_words': 132}