scrappy 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.3.2 2011-03-18
2
+
3
+ * Correction of issue with certain Ruby versions
4
+
1
5
  === 0.3.1 2011-03-18
2
6
 
3
7
  * Support to visual selectors
@@ -1,3 +1,4 @@
1
+ require "scrappy/extractor/selectors/xpath"
1
2
  module Sc
2
3
  class CssSelector < XPathSelector
3
4
  # By using Nokogiri, CSS and XPath use the same search method
data/lib/scrappy.rb CHANGED
@@ -23,5 +23,5 @@ require 'scrappy/agent/blind_agent'
23
23
  require 'scrappy/agent/agent'
24
24
 
25
25
  module Scrappy
26
- VERSION = '0.3.1'
26
+ VERSION = '0.3.2'
27
27
  end
data/scrappy.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{scrappy}
5
- s.version = "0.3.1"
5
+ s.version = "0.3.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Jose Ignacio"]
@@ -17,15 +17,15 @@ Gem::Specification.new do |s|
17
17
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Scrappy", "--main", "README.rdoc"]
18
18
  s.require_paths = ["lib"]
19
19
  s.rubyforge_project = %q{scrappy}
20
- s.rubygems_version = %q{1.3.6}
20
+ s.rubygems_version = %q{1.3.7}
21
21
  s.summary = %q{Web scraper that allows producing RDF data out of plain web pages}
22
- s.test_files = ["test/test_scrappy.rb", "test/test_helper.rb"]
22
+ s.test_files = ["test/test_helper.rb", "test/test_scrappy.rb"]
23
23
 
24
24
  if s.respond_to? :specification_version then
25
25
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
26
26
  s.specification_version = 3
27
27
 
28
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
29
29
  s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
30
30
  s.add_runtime_dependency(%q<sinatra>, [">= 1.1.2"])
31
31
  s.add_runtime_dependency(%q<thin>, [">= 1.2.7"])
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scrappy
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 23
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 3
8
- - 1
9
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
10
11
  platform: ruby
11
12
  authors:
12
13
  - Jose Ignacio
@@ -21,9 +22,11 @@ dependencies:
21
22
  name: activesupport
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 9
27
30
  segments:
28
31
  - 2
29
32
  - 3
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: sinatra
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 23
41
46
  segments:
42
47
  - 1
43
48
  - 1
@@ -49,9 +54,11 @@ dependencies:
49
54
  name: thin
50
55
  prerelease: false
51
56
  requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
52
58
  requirements:
53
59
  - - ">="
54
60
  - !ruby/object:Gem::Version
61
+ hash: 17
55
62
  segments:
56
63
  - 1
57
64
  - 2
@@ -63,9 +70,11 @@ dependencies:
63
70
  name: nokogiri
64
71
  prerelease: false
65
72
  requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
66
74
  requirements:
67
75
  - - ">="
68
76
  - !ruby/object:Gem::Version
77
+ hash: 5
69
78
  segments:
70
79
  - 1
71
80
  - 4
@@ -77,9 +86,11 @@ dependencies:
77
86
  name: mechanize
78
87
  prerelease: false
79
88
  requirement: &id005 !ruby/object:Gem::Requirement
89
+ none: false
80
90
  requirements:
81
91
  - - ">="
82
92
  - !ruby/object:Gem::Version
93
+ hash: 23
83
94
  segments:
84
95
  - 1
85
96
  - 0
@@ -91,9 +102,11 @@ dependencies:
91
102
  name: lightrdf
92
103
  prerelease: false
93
104
  requirement: &id006 !ruby/object:Gem::Requirement
105
+ none: false
94
106
  requirements:
95
107
  - - ">="
96
108
  - !ruby/object:Gem::Version
109
+ hash: 19
97
110
  segments:
98
111
  - 0
99
112
  - 3
@@ -105,9 +118,11 @@ dependencies:
105
118
  name: i18n
106
119
  prerelease: false
107
120
  requirement: &id007 !ruby/object:Gem::Requirement
121
+ none: false
108
122
  requirements:
109
123
  - - ">="
110
124
  - !ruby/object:Gem::Version
125
+ hash: 11
111
126
  segments:
112
127
  - 0
113
128
  - 4
@@ -119,9 +134,11 @@ dependencies:
119
134
  name: rest-client
120
135
  prerelease: false
121
136
  requirement: &id008 !ruby/object:Gem::Requirement
137
+ none: false
122
138
  requirements:
123
139
  - - ">="
124
140
  - !ruby/object:Gem::Version
141
+ hash: 13
125
142
  segments:
126
143
  - 1
127
144
  - 6
@@ -133,9 +150,11 @@ dependencies:
133
150
  name: haml
134
151
  prerelease: false
135
152
  requirement: &id009 !ruby/object:Gem::Requirement
153
+ none: false
136
154
  requirements:
137
155
  - - ">="
138
156
  - !ruby/object:Gem::Version
157
+ hash: 55
139
158
  segments:
140
159
  - 3
141
160
  - 0
@@ -147,9 +166,11 @@ dependencies:
147
166
  name: rack-flash
148
167
  prerelease: false
149
168
  requirement: &id010 !ruby/object:Gem::Requirement
169
+ none: false
150
170
  requirements:
151
171
  - - ">="
152
172
  - !ruby/object:Gem::Version
173
+ hash: 25
153
174
  segments:
154
175
  - 0
155
176
  - 1
@@ -257,16 +278,20 @@ rdoc_options:
257
278
  require_paths:
258
279
  - lib
259
280
  required_ruby_version: !ruby/object:Gem::Requirement
281
+ none: false
260
282
  requirements:
261
283
  - - ">="
262
284
  - !ruby/object:Gem::Version
285
+ hash: 3
263
286
  segments:
264
287
  - 0
265
288
  version: "0"
266
289
  required_rubygems_version: !ruby/object:Gem::Requirement
290
+ none: false
267
291
  requirements:
268
292
  - - ">="
269
293
  - !ruby/object:Gem::Version
294
+ hash: 11
270
295
  segments:
271
296
  - 1
272
297
  - 2
@@ -274,10 +299,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
299
  requirements: []
275
300
 
276
301
  rubyforge_project: scrappy
277
- rubygems_version: 1.3.6
302
+ rubygems_version: 1.3.7
278
303
  signing_key:
279
304
  specification_version: 3
280
305
  summary: Web scraper that allows producing RDF data out of plain web pages
281
306
  test_files:
282
- - test/test_scrappy.rb
283
307
  - test/test_helper.rb
308
+ - test/test_scrappy.rb