<commit_before>class Passenger < Formula
  desc "Server for Ruby, Python, and Node.js apps via Apache/NGINX"
  homepage "https://www.phusionpassenger.com/"
  url "https://s3.amazonaws.com/phusion-passenger/releases/passenger-5.0.28.tar.gz"
  sha256 "a5adb8c5446045f56a7c13bc75c5f3e96b7cfb01a10462107032929167dc17fa"
  head "https://github.com/phusion/passenger.git"

  bottle do
    cellar :any
    sha256 "f348af7c23cb4ca08e874fe5534c06f61980bd0f774c15c5b9e5d2f77091f6bd" => :el_capitan
    sha256 "8304d7e09ff6a4a02a85b793647b21b7ddc82f9c7bcdc6da0b75f4560980b662" => :yosemite
    sha256 "0314b4752f4bb67c427ac173d3dd284553c81f6bf60d6a2a13b60e029ec4299a" => :mavericks
  end

  option "without-apache2-module", "Disable Apache2 module"

  depends_on "pcre"
  depends_on "openssl"
  depends_on :macos => :lion

  def install
    # https://github.com/Homebrew/homebrew-core/pull/1046
    ENV.delete("SDKROOT")

    rake "apache2" if build.with? "apache2-module"
    rake "nginx"

    system("/usr/bin/ruby ./bin/passenger-config compile-nginx-engine")

    (libexec/"download_cache").mkpath

    # Fixes https://github.com/phusion/passenger/issues/1288<commit_msg>passenger 5.0.29<commit_after>class Passenger < Formula
  desc "Server for Ruby, Python, and Node.js apps via Apache/NGINX"
  homepage "https://www.phusionpassenger.com/"
  url "https://s3.amazonaws.com/phusion-passenger/releases/passenger-5.0.29.tar.gz"
  sha256 "84dd9553f305b6b87227c87a086068b42f2ba979e7af3f8acd745c99c40f10cc"
  head "https://github.com/phusion/passenger.git"

  bottle do
    cellar :any
    sha256 "f348af7c23cb4ca08e874fe5534c06f61980bd0f774c15c5b9e5d2f77091f6bd" => :el_capitan
    sha256 "8304d7e09ff6a4a02a85b793647b21b7ddc82f9c7bcdc6da0b75f4560980b662" => :yosemite
    sha256 "0314b4752f4bb67c427ac173d3dd284553c81f6bf60d6a2a13b60e029ec4299a" => :mavericks
  end

  option "without-apache2-module", "Disable Apache2 module"

  depends_on "pcre"
  depends_on "openssl"
  depends_on :macos => :lion

  def install
    # https://github.com/Homebrew/homebrew-core/pull/1046
    ENV.delete("SDKROOT")

    rake "apache2" if build.with? "apache2-module"
    rake "nginx"

    system("/usr/bin/ruby ./bin/passenger-config compile-nginx-engine")

    (libexec/"download_cache").mkpath

    # Fixes https://github.com/phusion/passenger/issues/1288
{'fraction_non_alphanumeric': 0.11068211068211069, 'fraction_numerical': 0.16602316602316602, 'mean_word_length': 4.68780487804878, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 10, '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': '2183208', 'n_tokens_mistral': 1175, 'n_tokens_neox': 975, 'n_words': 128}