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

class Php55Mongo < AbstractPhp55Extension
  init
  desc "Legacy MongoDB database driver."
  homepage "https://pecl.php.net/package/mongo"
  url "https://pecl.php.net/get/mongo-1.6.14.tgz"
  sha256 "586a0f55d29198010da5f4c932a183491f114db6e1b0ba8e40e7246b1a4a96d0"
  head "https://github.com/mongodb/mongo-php-driver-legacy.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "eebab2ac24d10d3df45acae5dfe473f0e3a5131f9b834a341ad19aa2a01319dd" => :el_capitan
    sha256 "8054ca4431c21ac3e857038f21f0845c38a03ebe83e85e4d7b89bb76579c0184" => :yosemite
    sha256 "e5f6334a9f6e2c1fda72d110b81e3073256445066823dda2fcf4c34a9d300bbb" => :mavericks
  end

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

    ENV.universal_binary if build.universal?
<commit_msg>php55-mongo: update 1.6.14 bottle.<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php55Mongo < AbstractPhp55Extension
  init
  desc "Legacy MongoDB database driver."
  homepage "https://pecl.php.net/package/mongo"
  url "https://pecl.php.net/get/mongo-1.6.14.tgz"
  sha256 "586a0f55d29198010da5f4c932a183491f114db6e1b0ba8e40e7246b1a4a96d0"
  head "https://github.com/mongodb/mongo-php-driver-legacy.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "028bed8264633fb6e140f275650f4891d77e0d0108110b3157ce46ced8d95e61" => :el_capitan
    sha256 "30b661227951f09507bfb2eaa370e1933cfa140d2682c97a387542dfcf3f5e61" => :yosemite
    sha256 "9e9fc0871ab9bf8f3cb5f24497cb5017c26a809c70f88333d0e5479b2ffc5c56" => :mavericks
  end

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

    ENV.universal_binary if build.universal?

{'fraction_non_alphanumeric': 0.10028328611898017, 'fraction_numerical': 0.21359773371104815, 'mean_word_length': 5.398550724637682, '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': '6399737', 'n_tokens_mistral': 965, 'n_tokens_neox': 774, 'n_words': 89}