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

class Php54Gearman < AbstractPhp54Extension
  init
  homepage "https://pecl.php.net/package/gearman"
  url "https://pecl.php.net/get/gearman-1.1.2.tgz"
  sha1 "4b4d92b0dec9aabf8cd1ed6eba1f0cf8414117c9"
  head "https://svn.php.net/repository/pecl/gearman/trunk/"

  depends_on "gearman"

  def install
    Dir.chdir "gearman-#{version}" unless build.head?<commit_msg>php54-gearman: convert from sha1 to sha256<commit_after>require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)

class Php54Gearman < AbstractPhp54Extension
  init
  homepage "https://pecl.php.net/package/gearman"
  url "https://pecl.php.net/get/gearman-1.1.2.tgz"
  sha256 "c30a68145b4e33f4da929267f7b5296376ca81d76dd801fc77a261696a8a5965"
  head "https://svn.php.net/repository/pecl/gearman/trunk/"

  depends_on "gearman"

  def install
    Dir.chdir "gearman-#{version}" unless build.head?
{'fraction_non_alphanumeric': 0.1380020597322348, 'fraction_numerical': 0.09062821833161688, 'mean_word_length': 4.684210526315789, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '887491', 'n_tokens_mistral': 434, 'n_tokens_neox': 383, 'n_words': 50}