<commit_before>require "formula"

class Osquery < Formula
  homepage "http://osquery.io"
  # pull from git tag to get submodules
  url "https://github.com/facebook/osquery.git", :tag => "1.1.0"

  bottle do
    sha1 "0bf8208e6d0605273f67ac1ba180d7918bc2c927" => :yosemite
    sha1 "bf5767f49e29a3cf783419324eb3d53c1e3fd6d4" => :mavericks
  end

  # Build currently fails on Mountain Lion:
  # https://github.com/facebook/osquery/issues/409
  # Will welcome PRs to fix this!
  depends_on :macos => :mavericks

  depends_on "cmake" => :build

  depends_on "boost"
  depends_on "gflags"
  depends_on "glog"
  depends_on "openssl"
  depends_on "rocksdb"
  depends_on "thrift"

  resource "markupsafe" do
    url "https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz"
    sha1 "cd5c22acf6dd69046d6cb6a3920d84ea66bdf62a"
  end

  resource "jinja2" do
    url "https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.7.3.tar.gz"
    sha1 "25ab3881f0c1adfcf79053b58de829c5ae65d3ac"
  end

  def install
    ENV.prepend_create_path "PYTHONPATH", buildpath+"third-party/python/lib/python2.7/site-packages"
<commit_msg>osquery: update 1.1.0 bottle.<commit_after>require "formula"

class Osquery < Formula
  homepage "http://osquery.io"
  # pull from git tag to get submodules
  url "https://github.com/facebook/osquery.git", :tag => "1.1.0"

  bottle do
    sha1 "bc40b678cdbd4948059942d7f48ccc5facabe923" => :yosemite
    sha1 "1ff2f50334ca44170a969f25707a5b4018d7e28d" => :mavericks
  end

  # Build currently fails on Mountain Lion:
  # https://github.com/facebook/osquery/issues/409
  # Will welcome PRs to fix this!
  depends_on :macos => :mavericks

  depends_on "cmake" => :build

  depends_on "boost"
  depends_on "gflags"
  depends_on "glog"
  depends_on "openssl"
  depends_on "rocksdb"
  depends_on "thrift"

  resource "markupsafe" do
    url "https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz"
    sha1 "cd5c22acf6dd69046d6cb6a3920d84ea66bdf62a"
  end

  resource "jinja2" do
    url "https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.7.3.tar.gz"
    sha1 "25ab3881f0c1adfcf79053b58de829c5ae65d3ac"
  end

  def install
    ENV.prepend_create_path "PYTHONPATH", buildpath+"third-party/python/lib/python2.7/site-packages"

{'fraction_non_alphanumeric': 0.11481156879929887, 'fraction_numerical': 0.1021034180543383, 'mean_word_length': 4.10738255033557, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 8, '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': '4467066', 'n_tokens_mistral': 1052, 'n_tokens_neox': 951, 'n_words': 161}