lib/feedjira/podcast/channel/apple.rb in feedjira-podcast-0.9.0 vs lib/feedjira/podcast/channel/apple.rb in feedjira-podcast-0.9.1

- old
+ new

@@ -8,11 +8,11 @@ base.element :"itunes:block", as: :itunes_block do |block| block == 'yes' end - # base.element :"itunes:category", as: :itunes_author + base.elements :"itunes:category", as: :itunes_categories, class: AppleCategory base.element :"itunes:image", as: :itunes_image_href, value: :href do |href| Addressable::URI.parse(href) end @@ -32,11 +32,11 @@ def itunes @itunes ||= Struct.new( :author, :block?, - # :category, + :categories, :image, :explicit?, :clean?, :complete?, :new_feed_url, @@ -44,10 +44,10 @@ :subtitle, :summary, ).new( itunes_author, itunes_block, - # itunes_category, + itunes_categories, itunes_image, itunes_explicit, itunes_clean, itunes_complete, itunes_new_feed_url,