webrobots 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -2
- data/LICENSE.txt +1 -1
- data/README.rdoc +1 -1
- data/Rakefile +1 -0
- data/lib/webrobots.rb +10 -5
- data/lib/webrobots/version.rb +1 -1
- data/test/helper.rb +7 -0
- data/test/simplecov_start.rb +9 -0
- data/test/test_webrobots.rb +87 -26
- data/test/vcr_cassettes/major_sites.yml +2006 -0
- data/webrobots.gemspec +13 -3
- metadata +109 -24
data/webrobots.gemspec
CHANGED
@@ -29,8 +29,18 @@ This library helps write robots.txt compliant web robots in Ruby.
|
|
29
29
|
|
30
30
|
s.add_development_dependency("rake", [">= 0.9.2.2"])
|
31
31
|
s.add_development_dependency("racc", [">= 0"]) unless RUBY_PLATFORM == "java"
|
32
|
-
s.add_development_dependency("
|
32
|
+
s.add_development_dependency("test-unit")
|
33
|
+
s.add_development_dependency("shoulda", [RUBY_VERSION < "1.9" ? "< 3.5.0" : ">= 0"])
|
34
|
+
s.add_development_dependency("webmock")
|
35
|
+
s.add_development_dependency("vcr")
|
36
|
+
if RUBY_VERSION < "1.9"
|
37
|
+
# Cap dependency on activesupport with < 4.0 on behalf of
|
38
|
+
# shoulda-matchers to satisfy bundler.
|
39
|
+
s.add_development_dependency("activesupport", ["< 4.0"])
|
40
|
+
end
|
33
41
|
s.add_development_dependency("rdoc", ["> 2.4.2"])
|
34
|
-
s.add_development_dependency("bundler", [">= 1.2"])
|
35
|
-
s.add_development_dependency("nokogiri",
|
42
|
+
s.add_development_dependency("bundler", ["~> 1.2", ">= 1.2"])
|
43
|
+
s.add_development_dependency("nokogiri", ">= 1.4.7", [RUBY_VERSION < "1.9" ? "< 1.6.0" : "~> 1.4"])
|
44
|
+
s.add_development_dependency("simplecov", [">= 0"]) unless RUBY_VERSION < "1.9"
|
45
|
+
s.add_development_dependency("coveralls", [">= 0"]) unless RUBY_VERSION < "1.9"
|
36
46
|
end
|
metadata
CHANGED
@@ -1,99 +1,181 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webrobots
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akinori MUSHA
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.9.2.2
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.9.2.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: racc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: test-unit
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: shoulda
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: webmock
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: vcr
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
53
95
|
- !ruby/object:Gem::Version
|
54
96
|
version: '0'
|
55
97
|
- !ruby/object:Gem::Dependency
|
56
98
|
name: rdoc
|
57
99
|
requirement: !ruby/object:Gem::Requirement
|
58
100
|
requirements:
|
59
|
-
- -
|
101
|
+
- - ">"
|
60
102
|
- !ruby/object:Gem::Version
|
61
103
|
version: 2.4.2
|
62
104
|
type: :development
|
63
105
|
prerelease: false
|
64
106
|
version_requirements: !ruby/object:Gem::Requirement
|
65
107
|
requirements:
|
66
|
-
- -
|
108
|
+
- - ">"
|
67
109
|
- !ruby/object:Gem::Version
|
68
110
|
version: 2.4.2
|
69
111
|
- !ruby/object:Gem::Dependency
|
70
112
|
name: bundler
|
71
113
|
requirement: !ruby/object:Gem::Requirement
|
72
114
|
requirements:
|
73
|
-
- -
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.2'
|
118
|
+
- - ">="
|
74
119
|
- !ruby/object:Gem::Version
|
75
120
|
version: '1.2'
|
76
121
|
type: :development
|
77
122
|
prerelease: false
|
78
123
|
version_requirements: !ruby/object:Gem::Requirement
|
79
124
|
requirements:
|
80
|
-
- -
|
125
|
+
- - "~>"
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '1.2'
|
128
|
+
- - ">="
|
81
129
|
- !ruby/object:Gem::Version
|
82
130
|
version: '1.2'
|
83
131
|
- !ruby/object:Gem::Dependency
|
84
132
|
name: nokogiri
|
85
133
|
requirement: !ruby/object:Gem::Requirement
|
86
134
|
requirements:
|
87
|
-
- -
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 1.4.7
|
138
|
+
- - "~>"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '1.4'
|
141
|
+
type: :development
|
142
|
+
prerelease: false
|
143
|
+
version_requirements: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 1.4.7
|
148
|
+
- - "~>"
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '1.4'
|
151
|
+
- !ruby/object:Gem::Dependency
|
152
|
+
name: simplecov
|
153
|
+
requirement: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - ">="
|
88
156
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
157
|
+
version: '0'
|
90
158
|
type: :development
|
91
159
|
prerelease: false
|
92
160
|
version_requirements: !ruby/object:Gem::Requirement
|
93
161
|
requirements:
|
94
|
-
- -
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: coveralls
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - ">="
|
95
170
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
171
|
+
version: '0'
|
172
|
+
type: :development
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
97
179
|
description: |
|
98
180
|
This library helps write robots.txt compliant web robots in Ruby.
|
99
181
|
email:
|
@@ -104,9 +186,9 @@ extra_rdoc_files:
|
|
104
186
|
- LICENSE.txt
|
105
187
|
- README.rdoc
|
106
188
|
files:
|
107
|
-
- .document
|
108
|
-
- .gitignore
|
109
|
-
- .travis.yml
|
189
|
+
- ".document"
|
190
|
+
- ".gitignore"
|
191
|
+
- ".travis.yml"
|
110
192
|
- Gemfile
|
111
193
|
- LICENSE.txt
|
112
194
|
- README.rdoc
|
@@ -117,7 +199,9 @@ files:
|
|
117
199
|
- lib/webrobots/robotstxt.ry
|
118
200
|
- lib/webrobots/version.rb
|
119
201
|
- test/helper.rb
|
202
|
+
- test/simplecov_start.rb
|
120
203
|
- test/test_webrobots.rb
|
204
|
+
- test/vcr_cassettes/major_sites.yml
|
121
205
|
- webrobots.gemspec
|
122
206
|
homepage: https://github.com/knu/webrobots
|
123
207
|
licenses:
|
@@ -125,25 +209,26 @@ licenses:
|
|
125
209
|
metadata: {}
|
126
210
|
post_install_message:
|
127
211
|
rdoc_options:
|
128
|
-
- --exclude
|
129
|
-
-
|
212
|
+
- "--exclude"
|
213
|
+
- "\\.ry$"
|
130
214
|
require_paths:
|
131
215
|
- lib
|
132
216
|
required_ruby_version: !ruby/object:Gem::Requirement
|
133
217
|
requirements:
|
134
|
-
- -
|
218
|
+
- - ">="
|
135
219
|
- !ruby/object:Gem::Version
|
136
220
|
version: '0'
|
137
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
222
|
requirements:
|
139
|
-
- -
|
223
|
+
- - ">="
|
140
224
|
- !ruby/object:Gem::Version
|
141
225
|
version: '0'
|
142
226
|
requirements: []
|
143
227
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
228
|
+
rubygems_version: 2.4.6
|
145
229
|
signing_key:
|
146
230
|
specification_version: 4
|
147
231
|
summary: A Ruby library to help write robots.txt compliant web robots
|
148
232
|
test_files:
|
149
233
|
- test/test_webrobots.rb
|
234
|
+
has_rdoc:
|