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

class Php70PdoPgsql < AbstractPhp70Extension
  init
  desc "A unified PostgreSQL driver for PDO"
  homepage "https://github.com/php/php-src/tree/master/ext/pdo_pgsql"
  bottle do
    cellar :any
    sha256 "7d30507e910973198519ee63d95ff1525bf03f20fe04fee778b9b55670d1dc45" => :sierra
    sha256 "c0b385a3765d8c2a01032bb4284ae9ba82cbc6a7f589ec5ce3f0a29060a171aa" => :el_capitan
    sha256 "bf0634c6e60487fc82aea3bec598fe3d5e3f40695c095b842883c4178f30c596" => :yosemite
  end

  url PHP_SRC_TARBALL
  sha256 PHP_CHECKSUM[:sha256]
  version PHP_VERSION
  revision 2

  depends_on "postgresql"

  def extension
    "pdo_pgsql"
  end

  def install
    Dir.chdir "ext/pdo_pgsql"

    ENV.universal_binary if build.universal?
<commit_msg>php70-dbo-db-pgsql: update bottle to remedy brew bug<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php70PdoPgsql < AbstractPhp70Extension
  init
  desc "A unified PostgreSQL driver for PDO"
  homepage "https://github.com/php/php-src/tree/master/ext/pdo_pgsql"
  bottle do
    cellar :any
    sha256 "7d30507e910973198519ee63d95ff1525bf03f20fe04fee778b9b55670d1dc45" => :sierra
    sha256 "c0b385a3765d8c2a01032bb4284ae9ba82cbc6a7f589ec5ce3f0a29060a171aa" => :el_capitan
    sha256 "bf0634c6e60487fc82aea3bec598fe3d5e3f40695c095b842883c4178f30c596" => :yosemite
  end

  url PHP_SRC_TARBALL
  sha256 PHP_CHECKSUM[:sha256]
  version PHP_VERSION
  revision 3

  depends_on "postgresql"

  def extension
    "pdo_pgsql"
  end

  def install
    Dir.chdir "ext/pdo_pgsql"

    ENV.universal_binary if build.universal?

{'fraction_non_alphanumeric': 0.07824540604623592, 'fraction_numerical': 0.17190278601066983, 'mean_word_length': 4.861111111111111, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '3277053', 'n_tokens_mistral': 870, 'n_tokens_neox': 707, 'n_words': 108}