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

class Php70Ds < AbstractPhp70Extension
  init
  desc "Data Structures for PHP"
  homepage "https://github.com/php-ds/extension"
  url "https://github.com/php-ds/extension/archive/v1.0.4.tar.gz"
  sha256 "4cdad2bba1cae18f1196346913ac9a54a23f2e5874fd8678200f88730b2788c6"
  head "https://github.com/php-ds/extension.git"

  bottle do
    cellar :any_skip_relocation
    sha256 "5b47e178c446b9663a03911e449fe4eb62a6dc86554d4f4dceff40cbf200ac97" => :el_capitan
    sha256 "92ec724d8be0130f88be81258ecd014765dd9324d56331c857a595422b7ace82" => :yosemite
    sha256 "957a3546f6826401babd464ca9b6a63fbadf5f53f65c11f9f82de49ce274eba6" => :mavericks
  end

  def install
    ENV.universal_binary if build.universal?

    safe_phpize

    system "./configure", "--prefix=#{prefix}", phpconfig
    system "make"

    prefix.install "modules/ds.so"
    write_config_file if build.with? "config-file"
  end
end<commit_msg>php70-ds 1.1.5<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php70Ds < AbstractPhp70Extension
  init
  desc "Data Structures for PHP"
  homepage "https://github.com/php-ds/extension"
  url "https://github.com/php-ds/extension/archive/v1.1.5.tar.gz"
  sha256 "0da5444d07cd283b369c98e177656a96508291b921c3e844b9be6c8269e08372"
  head "https://github.com/php-ds/extension.git"

  def install
    ENV.universal_binary if build.universal?

    safe_phpize

    system "./configure", "--prefix=#{prefix}", phpconfig
    system "make"

    prefix.install "modules/ds.so"
    write_config_file if build.with? "config-file"
  end
end
{'fraction_non_alphanumeric': 0.11409796893667862, 'fraction_numerical': 0.14516129032258066, 'mean_word_length': 4.491803278688525, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '7205323', 'n_tokens_mistral': 785, 'n_tokens_neox': 645, 'n_words': 94}