<commit_before>require 'formula'

class Slimerjs < Formula
  homepage 'http://www.slimerjs.org'
  url "http://download.slimerjs.org/releases/0.9.4/slimerjs-0.9.4-mac.tar.bz2"
  sha256 "3c9c7d01c58796e56f5d5b73f643bd99ddafd4ef2b1cc246d9e3b78108aceb5e"

  head 'https://github.com/laurentj/slimerjs.git'

  bottle do
    cellar :any
    sha1 "f777909179024c69332199893897d30eb7c104d5" => :mavericks
    sha1 "00ffe91192f50232cde4169d2a80d5e950edeef5" => :mountain_lion
    sha1 "a05a67c5a7366bf6b1ef6de7dc74fb4f35c4d9cb" => :lion
  end

  if MacOS.version > :snow_leopard
    option "without-xulrunner", "Build without xulrunner (requires a installed Firefox)"
    depends_on "xulrunner" => :recommended
  end

  def install
    unless build.stable?
      cd "src"
      system "zip", "-r", "omni.ja", "chrome/", "components/", "modules/",
                    "defaults/", "chrome.manifest", "-x@package_exclude.lst"<commit_msg>slimerjs: update 0.9.4 bottle.<commit_after>require 'formula'

class Slimerjs < Formula
  homepage 'http://www.slimerjs.org'
  url "http://download.slimerjs.org/releases/0.9.4/slimerjs-0.9.4-mac.tar.bz2"
  sha256 "3c9c7d01c58796e56f5d5b73f643bd99ddafd4ef2b1cc246d9e3b78108aceb5e"

  head 'https://github.com/laurentj/slimerjs.git'

  bottle do
    cellar :any
    sha1 "2913341c917994a4c49d464b93a6aa25d12fc4d3" => :mavericks
    sha1 "8ffe412b951816b089246d8b3587a441aa7c973b" => :mountain_lion
  end

  if MacOS.version > :snow_leopard
    option "without-xulrunner", "Build without xulrunner (requires a installed Firefox)"
    depends_on "xulrunner" => :recommended
  end

  def install
    unless build.stable?
      cd "src"
      system "zip", "-r", "omni.ja", "chrome/", "components/", "modules/",
                    "defaults/", "chrome.manifest", "-x@<EMAIL>"
{'fraction_non_alphanumeric': 0.12694877505567928, 'fraction_numerical': 0.12861915367483295, 'mean_word_length': 3.9098360655737703, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '894732', 'n_tokens_mistral': 861, 'n_tokens_neox': 747, 'n_words': 117}