maxlapshin-feedzirra 0.0.16.5 → 0.0.16.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/feedzirra/feed.rb +1 -1
- metadata +2 -3
data/lib/feedzirra/feed.rb
CHANGED
@@ -144,7 +144,7 @@ module Feedzirra
|
|
144
144
|
if klass
|
145
145
|
# begin
|
146
146
|
feed = klass.parse(xml)
|
147
|
-
feed.feed_url = http.respond_to?(:last_effective_url)
|
147
|
+
feed.feed_url = http.respond_to?(:last_effective_url) ? http.last_effective_url : http.uri.to_s
|
148
148
|
feed.etag = http.response_header.etag if http.response_header.respond_to?(:etag)
|
149
149
|
feed.last_modified = http.response_header.last_modified if http.response_header.respond_to?(:last_modified)
|
150
150
|
options[:on_success].call(url, feed) if options.has_key?(:on_success)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maxlapshin-feedzirra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.16.
|
4
|
+
version: 0.0.16.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Dix
|
@@ -105,7 +105,6 @@ files:
|
|
105
105
|
- spec/feedzirra/feed_entry_utilities_spec.rb
|
106
106
|
has_rdoc: true
|
107
107
|
homepage: http://github.com/maxlapshin/feedzirra
|
108
|
-
licenses:
|
109
108
|
post_install_message:
|
110
109
|
rdoc_options: []
|
111
110
|
|
@@ -126,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
125
|
requirements: []
|
127
126
|
|
128
127
|
rubyforge_project:
|
129
|
-
rubygems_version: 1.
|
128
|
+
rubygems_version: 1.2.0
|
130
129
|
signing_key:
|
131
130
|
specification_version: 2
|
132
131
|
summary: "A feed fetching and parsing library that treats the internet like Godzilla treats Japan: it dominates and eats all."
|