lib/feedjira/parser/itunes_rss_item.rb in feedjira-3.1.1 vs lib/feedjira/parser/itunes_rss_item.rb in feedjira-3.1.2

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Feedjira module Parser # iTunes extensions to the standard RSS2.0 item # Source: http://www.apple.com/itunes/whatson/podcasts/specs.html class ITunesRSSItem @@ -27,10 +29,10 @@ # If summary is not present, use the description tag element :"itunes:summary", as: :itunes_summary element :enclosure, value: :length, as: :enclosure_length element :enclosure, value: :type, as: :enclosure_type element :enclosure, value: :url, as: :enclosure_url - elements "psc:chapter", as: :raw_chapters, class: Feedjira::Parser::PodloveChapter # rubocop:disable Metrics/LineLength + elements "psc:chapter", as: :raw_chapters, class: Feedjira::Parser::PodloveChapter # Podlove requires clients to re-order by start time in the # event the publisher doesn't provide them in that # order. SAXMachine doesn't have any sort capability afaik, so # we have to sort chapters manually.