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

class Php55Crypto < AbstractPhp55Extension
  init
  desc "Wrapper for OpenSSL Crypto Library"
  homepage "https://pecl.php.net/package/crypto"
  url "https://pecl.php.net/get/crypto-0.1.1.tgz"
  sha256 "9844e93078ac165255bdba6944abf6ec196be9964f9807df9f8f7d792a18807b"
  head "https://github.com/bukka/php-crypto.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "8fa82e628f4b9df8d3f40a30b28ee72fc108f6863057797a0706842fe73110e7" => :el_capitan
    sha256 "7e848e3618aad2e5a11cc8095b7eae6366d5f444167f7760d2c33f7c3317b382" => :yosemite
    sha256 "0c12ed77a1aaa5aa960e6cc5111318bdecb01095f8ba60bf81f6c3d5ccebf1e0" => :mavericks
  end

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

class Php55Crypto < AbstractPhp55Extension
  init
  desc "Wrapper for OpenSSL Crypto Library"
  homepage "https://pecl.php.net/package/crypto"
  url "https://pecl.php.net/get/crypto-0.1.1.tgz"
  sha256 "9844e93078ac165255bdba6944abf6ec196be9964f9807df9f8f7d792a18807b"
  head "https://github.com/bukka/php-crypto.git"

  bottle do
    cellar :any_skip_relocation
    revision 1
    sha256 "b60d15fe9e086542973f4e3c4bacb8a04c5fd67923a2ab4c2ac9ccfee09edd07" => :el_capitan
    sha256 "2cd02c5a3746316546243b9e9d8686fbdc8d6ff81c24d977aa67c194f6141a7a" => :yosemite
    sha256 "78c413bf028eabc5b242a739c28cb280197061c7caec6e6ad7a825afb9ef0bc8" => :mavericks
  end

  def install
    Dir.chdir "crypto-#{version}" unless build.head?
{'fraction_non_alphanumeric': 0.09892086330935251, 'fraction_numerical': 0.2158273381294964, 'mean_word_length': 5.51953125, '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': '624793', 'n_tokens_mistral': 902, 'n_tokens_neox': 730, 'n_words': 86}