File: mechanize.gemspec

package info (click to toggle)
ruby-mechanize 2.7.6-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,480 kB
  • sloc: ruby: 11,380; makefile: 5; sh: 4
file content (66 lines) | stat: -rw-r--r-- 2,369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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 =
    [
      'Eric Hodel',
      'Aaron Patterson',
      'Mike Dalessio',
      'Akinori MUSHA',
      'Lee Jarvis'
    ]
  spec.email =
    [
      'drbrain@segment7.net',
      'aaronp@rubyforge.org',
      'mike.dalessio@gmail.com',
      'knu@idaemons.org',
      'ljjarvis@gmail.com'
    ]

  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 "rubyntlm"
  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 "rake"
  spec.add_development_dependency "bundler",  "~> 1.3"
  spec.add_development_dependency "rdoc",     "~> 4.0"
  spec.add_development_dependency "minitest", "~> 5.0"
end