-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
webrobots.gemspec
49 lines (45 loc) · 1.87 KB
/
webrobots.gemspec
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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "webrobots/version"
Gem::Specification.new do |s|
s.name = "webrobots"
s.version = Webrobots::VERSION
s.authors = ["Akinori MUSHA"]
s.email = ["knu@idaemons.org"]
s.homepage = %q{https://github.com/knu/webrobots}
s.licenses = [%q{2-clause BSDL}]
s.summary = %q{A Ruby library to help write robots.txt compliant web robots}
s.description = <<-'EOS'
This library helps write robots.txt compliant web robots in Ruby.
EOS
s.files = `git ls-files`.split("\n")
s.test_files = s.files.grep(%r{/test_[^/]+\.rb$})
s.executables = s.files.grep(%r{^bin/[^.]}).map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.extra_rdoc_files = [
"LICENSE.txt",
"README.rdoc"
]
s.rdoc_options += [
'--exclude', '\.ry$'
]
s.add_development_dependency("rake", [">= 0.9.2.2"])
s.add_development_dependency("racc", [">= 0"]) unless RUBY_PLATFORM == "java"
s.add_development_dependency("test-unit")
s.add_development_dependency("shoulda", [RUBY_VERSION < "1.9" ? "< 3.5.0" : ">= 0"])
s.add_development_dependency("webmock")
if RUBY_VERSION < "1.9"
s.add_development_dependency('i18n', '< 0.7.0')
# Cap dependency on activesupport with < 4.0 on behalf of
# shoulda-matchers to satisfy bundler.
s.add_development_dependency("activesupport", ["< 4.0"])
s.add_development_dependency("vcr", '< 3')
else
s.add_development_dependency("vcr")
end
s.add_development_dependency("rdoc", ["> 2.4.2"])
s.add_development_dependency("bundler", ["~> 1.2", ">= 1.2"])
s.add_development_dependency("nokogiri", ">= 1.4.7", [RUBY_VERSION < "1.9" ? "< 1.6.0" : "~> 1.4"])
s.add_development_dependency("simplecov", [">= 0"]) unless RUBY_VERSION < "1.9"
s.add_development_dependency("coveralls", [">= 0"]) unless RUBY_VERSION < "1.9"
end