lib/feedjira/podcast/item/optional.rb in feedjira-podcast-0.9.12 vs lib/feedjira/podcast/item/optional.rb in feedjira-podcast-0.9.13
- old
+ new
@@ -37,10 +37,10 @@
base.element :enclosure, as: :enclosure_length, value: :length, &:to_f
base.element :enclosure, as: :enclosure_type, value: :type
- base.element :guid, as: :guid, class: GUID, default: Struct.new(:guid, :perma_link?).new
+ base.element :guid, as: :guid, class: GUID, default: Struct.new(:guid, :perma_link?).new(nil, false)
base.element :pubDate, as: :pub_date do |date|
begin
Time.parse(date)
rescue