feedjira-opml 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 08527b867147e345f87f219b2a948b0b5c7b15ab
4
- data.tar.gz: d937389bbc4bf1ea30ca557dae8bbda16d4917e2
3
+ metadata.gz: 6de864fb362c53c013e02ed4c4145574222c4ba9
4
+ data.tar.gz: d94287b405afa025641d504c531fa8a4206f966a
5
5
  SHA512:
6
- metadata.gz: cf06beb6bd7995d17cb3cc541c6196b4ecf3a2d2e1456e9de236d461528e507d558e56d73ae674ef45f439ee8117c17d6d7173b76dee147328032df92a9ef02c
7
- data.tar.gz: 07d5288c8e396c3e88bc7d562fff624ec424033158e8e2047f805abcf70b979b621b4318b873495299e4af7810884dd5ad4f2a8f499f41e05a2ff151dcd1d960
6
+ metadata.gz: 23a94acd1e97f6979d6f5e2932c9686b53b75d75afc80f271b55f659df9f5bb2da2940b86b6fe77b114914b5385fa5c1a9f6c4410214a946453ccfac65932279
7
+ data.tar.gz: 31e3ec3d298070a27e907130bf3b374309ccc5f1785ee8aea604c01f8f090941b5f25212ecab4cd8d72531ace13ebdb756654e9822fdbef5b55d11d3c98e2275
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.add_development_dependency 'bundler', '~> 1.8'
27
27
  spec.add_development_dependency 'rake', '~> 10.0'
28
28
  spec.add_development_dependency 'minitest', '~> 5.5'
29
- spec.add_development_dependency 'coveralls'
29
+ spec.add_development_dependency 'coveralls', '~> 0'
30
30
 
31
31
  spec.add_runtime_dependency 'feedjira', '~> 1.6'
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module Feedjira
2
2
  module OPML
3
- VERSION = '2.0.0'
3
+ VERSION = '2.0.1'
4
4
  end
5
5
  end
data/lib/feedjira/opml.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'uri'
1
2
  require 'feedjira'
2
3
 
3
4
  require 'feedjira/opml/version'
@@ -17,7 +17,10 @@ module Feedjira
17
17
  element :ownerName, as: :owner_name
18
18
  element :ownerEmail, as: :owner_email
19
19
  element :ownerId, as: :owner_id
20
- element :docs
20
+
21
+ element :docs do |s|
22
+ URI(s)
23
+ end
21
24
 
22
25
  element :expansionState, as: :expansion_state do |s|
23
26
  s.split(',').map{ |x| x.to_f }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feedjira-opml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Kalafarski
@@ -56,14 +56,14 @@ dependencies:
56
56
  name: coveralls
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency