maxlapshin-feedzirra 0.0.16.1 → 0.0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/feedzirra/feed.rb +5 -5
  2. metadata +1 -1
@@ -142,15 +142,15 @@ module Feedzirra
142
142
  klass = determine_feed_parser_for_xml(xml)
143
143
 
144
144
  if klass
145
- begin
145
+ # begin
146
146
  feed = klass.parse(xml)
147
147
  feed.feed_url = http.last_effective_url
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)
151
- rescue Exception => e
152
- options[:on_failure].call(url, http) if options.has_key?(:on_failure)
153
- end
151
+ # rescue Exception => e
152
+ # options[:on_failure].call(url, http) if options.has_key?(:on_failure)
153
+ # end
154
154
  else
155
155
  # puts "Error determining parser for #{url} - #{c.last_effective_url}"
156
156
  # raise NoParserAvailable.new("no valid parser for content.") (this would unfirtunately fail the whole 'multi', so it's not really useable)
@@ -243,4 +243,4 @@ module Feedzirra
243
243
  multi.add(easy)
244
244
  end
245
245
  end
246
- end
246
+ end
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.1
4
+ version: 0.0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix