pauldix-feedzirra 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/feedzirra.rb +1 -1
- data/lib/feedzirra/feed.rb +3 -3
- metadata +3 -2
data/lib/feedzirra.rb
CHANGED
data/lib/feedzirra/feed.rb
CHANGED
@@ -96,7 +96,7 @@ module Feedzirra
|
|
96
96
|
curl.on_success do |c|
|
97
97
|
responses[url] = decode_content(c)
|
98
98
|
end
|
99
|
-
curl.on_failure do |c|
|
99
|
+
curl.on_failure do |c, err|
|
100
100
|
responses[url] = c.response_code
|
101
101
|
end
|
102
102
|
end
|
@@ -235,7 +235,7 @@ module Feedzirra
|
|
235
235
|
end
|
236
236
|
end
|
237
237
|
|
238
|
-
curl.on_failure do |c|
|
238
|
+
curl.on_failure do |c, err|
|
239
239
|
add_url_to_multi(multi, url_queue.shift, url_queue, responses, options) unless url_queue.empty?
|
240
240
|
responses[url] = c.response_code
|
241
241
|
options[:on_failure].call(url, c.response_code, c.header_str, c.body_str) if options.has_key?(:on_failure)
|
@@ -284,7 +284,7 @@ module Feedzirra
|
|
284
284
|
end
|
285
285
|
end
|
286
286
|
|
287
|
-
curl.on_failure do |c|
|
287
|
+
curl.on_failure do |c, err|
|
288
288
|
add_feed_to_multi(multi, feed_queue.shift, feed_queue, responses, options) unless feed_queue.empty?
|
289
289
|
response_code = c.response_code
|
290
290
|
if response_code == 304 # it's not modified. this isn't an error condition
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pauldix-feedzirra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Dix
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- spec/feedzirra/feed_entry_utilities_spec.rb
|
115
115
|
has_rdoc: true
|
116
116
|
homepage: http://github.com/pauldix/feedzirra
|
117
|
+
licenses:
|
117
118
|
post_install_message:
|
118
119
|
rdoc_options: []
|
119
120
|
|
@@ -134,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
135
|
requirements: []
|
135
136
|
|
136
137
|
rubyforge_project:
|
137
|
-
rubygems_version: 1.
|
138
|
+
rubygems_version: 1.3.5
|
138
139
|
signing_key:
|
139
140
|
specification_version: 2
|
140
141
|
summary: "A feed fetching and parsing library that treats the internet like Godzilla treats Japan: it dominates and eats all."
|