<commit_before>require 'formula'

class Nginx < Formula
  url 'http://nginx.org/download/nginx-0.8.54.tar.gz'
  head 'http://nginx.org/download/nginx-0.9.4.tar.gz'
  homepage 'http://nginx.org/'

  if ARGV.build_head?
    @md5='055eb48433ec5ab5f25c5d186144e461'
  else
    @md5='44df4eb6a22d725021288c570789046f'
  end

  depends_on 'pcre'

  skip_clean 'logs'

  def patches
    # Changes default port to 8080
    # Set configure to look in homebrew prefix for pcre
    DATA
  end

  def options<commit_msg>nginx - bump head to 0.9.5<commit_after>require 'formula'

class Nginx < Formula
  url 'http://nginx.org/download/nginx-0.8.54.tar.gz'
  head 'http://nginx.org/download/nginx-0.9.5.tar.gz'
  homepage 'http://nginx.org/'

  if ARGV.build_head?
    @md5='955960482bf55b537ad0db5cca8fd61a'
  else
    @md5='44df4eb6a22d725021288c570789046f'
  end

  depends_on 'pcre'

  skip_clean 'logs'

  def patches
    # Changes default port to 8080
    # Set configure to look in homebrew prefix for pcre
    DATA
  end

  def options
{'fraction_non_alphanumeric': 0.1098153547133139, 'fraction_numerical': 0.11467444120505345, 'mean_word_length': 3.2738589211618256, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '457811', 'n_tokens_mistral': 485, 'n_tokens_neox': 416, 'n_words': 85}