<commit_before>require 'formula'

class Passenger < Formula
  homepage 'https://www.phusionpassenger.com/'
  url 'http://s3.amazonaws.com/phusion-passenger/releases/passenger-4.0.44.tar.gz'
  sha1 '3938209ff342b9871ef06b9bda1f42995382d3b0'
  head 'https://github.com/phusion/passenger.git'

  bottle do
    sha1 "7d5a41e0df41c3e5e9637b251c6870cc097b0f4c" => :mavericks
    sha1 "fae85438a1297a0ab189c158297fc4d2403bf469" => :mountain_lion
    sha1 "2ef483097daa6ac6d20e94fed64a942070d90e57" => :lion
  end

  depends_on 'pcre'
  depends_on :macos => :mountain_lion

  def install
    rake "apache2"
    rake "nginx"
    rake "webhelper"

    necessary_files = Dir["configure", "Rakefile", "README.md", "CONTRIBUTORS",
      "CONTRIBUTING.md", "LICENSE", "CHANGELOG", "INSTALL.md",
      "passenger.gemspec", "build", "lib", "node_lib", "bin", "doc", "man",
      "helper-scripts", "ext", "resources", "buildout"]
    libexec.mkpath
    cp_r necessary_files, libexec, :preserve => true

    # Allow Homebrew to create symlinks for the Phusion Passenger commands.<commit_msg>passenger: update 4.0.44 bottle.<commit_after>require 'formula'

class Passenger < Formula
  homepage 'https://www.phusionpassenger.com/'
  url 'http://s3.amazonaws.com/phusion-passenger/releases/passenger-4.0.44.tar.gz'
  sha1 '3938209ff342b9871ef06b9bda1f42995382d3b0'
  head 'https://github.com/phusion/passenger.git'

  bottle do
    sha1 "579aecafb14322ec724f4b75c934426a28799e36" => :mavericks
    sha1 "4d194dca9247ae89217a7f0da3424de30b277206" => :mountain_lion
  end

  depends_on 'pcre'
  depends_on :macos => :mountain_lion

  def install
    rake "apache2"
    rake "nginx"
    rake "webhelper"

    necessary_files = Dir["configure", "Rakefile", "README.md", "CONTRIBUTORS",
      "CONTRIBUTING.md", "LICENSE", "CHANGELOG", "INSTALL.md",
      "passenger.gemspec", "build", "lib", "node_lib", "bin", "doc", "man",
      "helper-scripts", "ext", "resources", "buildout"]
    libexec.mkpath
    cp_r necessary_files, libexec, :preserve => true

    # Allow Homebrew to create symlinks for the Phusion Passenger commands.
{'fraction_non_alphanumeric': 0.1326045627376426, 'fraction_numerical': 0.09980988593155894, 'mean_word_length': 4.439276485788113, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '7207199', 'n_tokens_mistral': 923, 'n_tokens_neox': 808, 'n_words': 147}