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

class Php55Jsmin < AbstractPhp55Extension
  init
  desc "PHP extension for minifying JavaScript."
  homepage "https://pecl.php.net/package/jsmin"
  url "https://pecl.php.net/get/jsmin-1.1.0.tgz"
  sha256 "9cf4180a816bac08300c45083410ca536200bd4940db0174026b9a825161f159"
  head "https://github.com/sqmk/pecl-jsmin.git"

  bottle do
    cellar :any_skip_relocation
    revision 2
    sha256 "41328d52f924eb5fd920fb4ca5af852050e8c5653662e03ef88f9850a6d1dc3d" => :el_capitan
    sha256 "ec6fc371111b75ec29f492f915ff42a81cb5ce992bc6f0431d94ecf4e8b7851c" => :yosemite
    sha256 "7248655b324ac3769aa15cafc90d4dada869c3936043ea0e902b106e1319f634" => :mavericks
  end

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

    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}",
                          phpconfig<commit_msg>php55-jsmin: bottle revision to rebuild.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php55Jsmin < AbstractPhp55Extension
  init
  desc "PHP extension for minifying JavaScript."
  homepage "https://pecl.php.net/package/jsmin"
  url "https://pecl.php.net/get/jsmin-1.1.0.tgz"
  sha256 "9cf4180a816bac08300c45083410ca536200bd4940db0174026b9a825161f159"
  head "https://github.com/sqmk/pecl-jsmin.git"

  bottle do
    cellar :any_skip_relocation
    rebuild 2
    sha256 "41328d52f924eb5fd920fb4ca5af852050e8c5653662e03ef88f9850a6d1dc3d" => :el_capitan
    sha256 "ec6fc371111b75ec29f492f915ff42a81cb5ce992bc6f0431d94ecf4e8b7851c" => :yosemite
    sha256 "7248655b324ac3769aa15cafc90d4dada869c3936043ea0e902b106e1319f634" => :mavericks
  end

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

    ENV.universal_binary if build.universal?

    safe_phpize
    system "./configure", "--prefix=#{prefix}",
                          phpconfig
{'fraction_non_alphanumeric': 0.10040363269424823, 'fraction_numerical': 0.1927346115035318, 'mean_word_length': 4.345013477088949, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '1740815', 'n_tokens_mistral': 995, 'n_tokens_neox': 783, 'n_words': 105}