<commit_before>require "formula"

class Smali < Formula
  homepage "http://smali.googlecode.com/"
  url "https://bitbucket.org/JesusFreke/smali/downloads/smali-2.0.3.jar", :using => :nounzip
  sha1 "42774f5d949add1739299785feb83f3dec32f240"

  resource "baksmali-jar" do
    url "https://bitbucket.org/JesusFreke/smali/downloads/baksmali-2.0.3.jar", :using => :nounzip
    sha1 "39d860bc2539753c8575f39879cf8d515e1c1cb9"
  end

  resource "baksmali" do
    url "https://bitbucket.org/JesusFreke/smali/downloads/baksmali", :using => :nounzip
    sha1 "9f7a87ee158b89f9d376ba7de09e0bea39e0cad0"
  end

  resource "smali" do
    url "https://bitbucket.org/JesusFreke/smali/downloads/smali", :using => :nounzip
    sha1 "26423d6a1d882d3feac0fd0b93ddae0ab134551f"
  end

  def install
    resource("baksmali-jar").stage {
      libexec.install "baksmali-2.0.3.jar" => "baksmali.jar"
    }
    libexec.install resource("smali"), resource("baksmali"), "smali-2.0.3.jar" => "smali.jar"<commit_msg>smali: add 2.0.3 bottle.<commit_after>require "formula"

class Smali < Formula
  homepage "http://smali.googlecode.com/"
  url "https://bitbucket.org/JesusFreke/smali/downloads/smali-2.0.3.jar", :using => :nounzip
  sha1 "42774f5d949add1739299785feb83f3dec32f240"

  bottle do
    cellar :any
    sha1 "042f4692b35ab5d483aa291e3a4924565fe1510f" => :yosemite
    sha1 "a9e5893ba2cc5bdd4b0b1e9ab489cf8863a48dfb" => :mavericks
    sha1 "f6829e47d12e951c4ea37784496bed1b79cebf0d" => :mountain_lion
  end

  resource "baksmali-jar" do
    url "https://bitbucket.org/JesusFreke/smali/downloads/baksmali-2.0.3.jar", :using => :nounzip
    sha1 "39d860bc2539753c8575f39879cf8d515e1c1cb9"
  end

  resource "baksmali" do
    url "https://bitbucket.org/JesusFreke/smali/downloads/baksmali", :using => :nounzip
    sha1 "9f7a87ee158b89f9d376ba7de09e0bea39e0cad0"
  end

  resource "smali" do
    url "https://bitbucket.org/JesusFreke/smali/downloads/smali", :using => :nounzip
    sha1 "26423d6a1d882d3feac0fd0b93ddae0ab134551f"
  end

  def install
    resource("baksmali-jar").stage {
      libexec.install "baksmali-2.0.3.jar" => "baksmali.jar"
    }
    libexec.install resource("smali"), resource("baksmali"), "smali-2.0.3.jar" => "smali.jar"
{'fraction_non_alphanumeric': 0.13393258426966292, 'fraction_numerical': 0.13752808988764045, 'mean_word_length': 4.363855421686747, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 18, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1324726', 'n_tokens_mistral': 1137, 'n_tokens_neox': 976, 'n_words': 124}