lib/feedjira/parser/rss.rb in feedjira-2.2.0 vs lib/feedjira/parser/rss.rb in feedjira-3.0.0.beta1
- old
+ new
@@ -12,10 +12,10 @@
element :lastBuildDate, as: :last_built
element :link, as: :url
element :rss, as: :version, value: :version
element :title
element :ttl
- elements :"atom:link", as: :hubs, value: :href, with: { rel: 'hub' }
+ elements :"atom:link", as: :hubs, value: :href, with: { rel: "hub" }
elements :item, as: :entries, class: RSSEntry
attr_accessor :feed_url
def self.able_to_parse?(xml)