lib/feedjira/parser/opml_head.rb in feedjira-opml-2.0.0 vs lib/feedjira/parser/opml_head.rb in feedjira-opml-2.0.1
- old
+ new
@@ -15,10 +15,13 @@
end
element :ownerName, as: :owner_name
element :ownerEmail, as: :owner_email
element :ownerId, as: :owner_id
- element :docs
+
+ element :docs do |s|
+ URI(s)
+ end
element :expansionState, as: :expansion_state do |s|
s.split(',').map{ |x| x.to_f }
end