<commit_before>require "formula"

class Thrift < Formula
  homepage "http://thrift.apache.org"

  stable do
    url "http://archive.apache.org/dist/thrift/0.9.2/thrift-0.9.2.tar.gz"
    sha1 "02f78b158da795ea89a26ce41964fbe562cc4235"

    # Apply any necessary patches (none currently required)
    [
      # Example patch:
      #
      # Apply THRIFT-2201 fix from master to 0.9.1 branch (required for clang to compile with C++11 support)
      # %w{836d95f9f00be73c6936d407977796181d1a506c 4bc8c19c51f3d9f30799251a810dd1ca63c4bf1e},
    ].each do |name, sha|
      patch do
        url "https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=patch;h=#{name}"
        sha1 sha
      end
    end
  end

  bottle do
    cellar :any
    sha1 "07614d7e556b72d53e990de3966b67f8cbea88d6" => :yosemite
    sha1 "983a86c23cc80f40f67c3897dba412e2eb3c0d97" => :mavericks
    sha1 "57e63acf576ff07b549b9f84034d95161cb2c71c" => :mountain_lion
  end

  head do
    url "https://git-wip-us.apache.org/repos/asf/thrift.git"
<commit_msg>thrift: update 0.9.2 bottle.<commit_after>require "formula"

class Thrift < Formula
  homepage "http://thrift.apache.org"

  stable do
    url "http://archive.apache.org/dist/thrift/0.9.2/thrift-0.9.2.tar.gz"
    sha1 "02f78b158da795ea89a26ce41964fbe562cc4235"

    # Apply any necessary patches (none currently required)
    [
      # Example patch:
      #
      # Apply THRIFT-2201 fix from master to 0.9.1 branch (required for clang to compile with C++11 support)
      # %w{836d95f9f00be73c6936d407977796181d1a506c 4bc8c19c51f3d9f30799251a810dd1ca63c4bf1e},
    ].each do |name, sha|
      patch do
        url "https://git-wip-us.apache.org/repos/asf?p=thrift.git;a=patch;h=#{name}"
        sha1 sha
      end
    end
  end

  bottle do
    cellar :any
    sha1 "e25bf36e90de292f4c78306232c5da7aeb80f64d" => :yosemite
    sha1 "0d5d03141d555eac1b374a33068a259ca313accc" => :mavericks
    sha1 "4556b6cac2a5b751d17a4b899574bf7c569d06b7" => :mountain_lion
  end

  head do
    url "https://git-wip-us.apache.org/repos/asf/thrift.git"

{'fraction_non_alphanumeric': 0.10674429888403687, 'fraction_numerical': 0.1722464822901504, 'mean_word_length': 3.3048016701461376, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '6565568', 'n_tokens_mistral': 1046, 'n_tokens_neox': 882, 'n_words': 145}