maxlapshin-feedzirra 0.0.16.2 → 0.0.16.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/feedzirra/feed.rb +1 -1
  2. metadata +1 -1
@@ -144,7 +144,7 @@ module Feedzirra
144
144
  if klass
145
145
  # begin
146
146
  feed = klass.parse(xml)
147
- feed.feed_url = http.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
149
149
  feed.last_modified = http.response_header.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.2
4
+ version: 0.0.16.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix