<commit_before># coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mechanize/version'

Gem::Specification.new do |spec|
  spec.name          = "mechanize"
  spec.version       = Mechanize::VERSION
  spec.homepage      = "http://docs.seattlerb.org/mechanize/"
  spec.summary       = %q{The Mechanize library is used for automating interaction with websites}
  spec.description   =
    [
      "The Mechanize library is used for automating interaction with websites.",
      "Mechanize automatically stores and sends cookies, follows redirects,",
      "and can follow links and submit forms.  Form fields can be populated and",
      "submitted.  Mechanize also keeps track of the sites that you have visited as",
      "a history."
    ].join("\n")

  spec.authors =
    [
      '<NAME>',
      '<NAME>',
      '<NAME>',
      '<NAME>',
      '<NAME>'
    ]
  spec.email =
    [
      '<EMAIL>',
      '<EMAIL>',
      '<EMAIL>',
      '<EMAIL>',
      '<EMAIL>'
    ]

  spec.license           = "MIT"

  spec.require_paths = ["lib"]
  spec.files         = `git ls-files`.split($/)
  spec.test_files    = spec.files.grep(%r{^test/})

  spec.extra_rdoc_files += Dir['*.rdoc']
  spec.rdoc_options     = ["--main", "README.rdoc"]

  spec.required_ruby_version = ">= 1.9.2"

  spec.add_runtime_dependency "net-http-digest_auth", [ ">= 1.1.1", "~> 1.1" ]
  if RUBY_VERSION >= "2.0"
    spec.add_runtime_dependency "mime-types", [ ">= 1.17.2" ]
    spec.add_runtime_dependency "net-http-persistent", [ ">= 2.5.2"]
  else
    spec.add_runtime_dependency "mime-types", [ ">= 1.17.2", "< 3" ]
    spec.add_runtime_dependency "net-http-persistent", [ ">= 2.5.2", "~> 2.5" ]
  end
  spec.add_runtime_dependency "http-cookie",          [ "~> 1.0" ]
  spec.add_runtime_dependency "nokogiri",             [ "~> 1.6" ]
  spec.add_runtime_dependency "ntlm-http",            [ ">= 0.1.1", "~> 0.1"   ]
  spec.add_runtime_dependency "webrobots",            [ "< 0.2",    ">= 0.0.9" ]
  spec.add_runtime_dependency "domain_name",          [ ">= 0.5.1", "~> 0.5"   ]
end<commit_msg>Add webrick to development dependecies<commit_after># coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'mechanize/version'

Gem::Specification.new do |spec|
  spec.name          = "mechanize"
  spec.version       = Mechanize::VERSION
  spec.homepage      = "http://docs.seattlerb.org/mechanize/"
  spec.summary       = %q{The Mechanize library is used for automating interaction with websites}
  spec.description   =
    [
      "The Mechanize library is used for automating interaction with websites.",
      "Mechanize automatically stores and sends cookies, follows redirects,",
      "and can follow links and submit forms.  Form fields can be populated and",
      "submitted.  Mechanize also keeps track of the sites that you have visited as",
      "a history."
    ].join("\n")

  spec.authors =
    [
      '<NAME>',
      '<NAME>',
      '<NAME>',
      '<NAME>',
      '<NAME>'
    ]
  spec.email =
    [
      '<EMAIL>',
      '<EMAIL>',
      '<EMAIL>',
      '<EMAIL>',
      '<EMAIL>'
    ]

  spec.license           = "MIT"

  spec.require_paths = ["lib"]
  spec.files         = `git ls-files`.split($/)
  spec.test_files    = spec.files.grep(%r{^test/})

  spec.extra_rdoc_files += Dir['*.rdoc']
  spec.rdoc_options     = ["--main", "README.rdoc"]

  spec.required_ruby_version = ">= 1.9.2"

  spec.add_runtime_dependency "net-http-digest_auth", [ ">= 1.1.1", "~> 1.1" ]
  if RUBY_VERSION >= "2.0"
    spec.add_runtime_dependency "mime-types", [ ">= 1.17.2" ]
    spec.add_runtime_dependency "net-http-persistent", [ ">= 2.5.2"]
  else
    spec.add_runtime_dependency "mime-types", [ ">= 1.17.2", "< 3" ]
    spec.add_runtime_dependency "net-http-persistent", [ ">= 2.5.2", "~> 2.5" ]
  end
  spec.add_runtime_dependency "http-cookie",          [ "~> 1.0" ]
  spec.add_runtime_dependency "nokogiri",             [ "~> 1.6" ]
  spec.add_runtime_dependency "ntlm-http",            [ ">= 0.1.1", "~> 0.1"   ]
  spec.add_runtime_dependency "webrobots",            [ "< 0.2",    ">= 0.0.9" ]
  spec.add_runtime_dependency "domain_name",          [ ">= 0.5.1", "~> 0.5"   ]

  spec.add_development_dependency 'webrick'
end
{'fraction_non_alphanumeric': 0.17073732718894008, 'fraction_numerical': 0.02165898617511521, 'mean_word_length': 2.6265664160401, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 55, 'https://': 0, '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': '1630517', 'n_tokens_mistral': 1604, 'n_tokens_neox': 1540, 'n_words': 303}