feedjira-podcast 0.9.10 → 0.9.11

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: bb6a6b2a97331c69b43040b8dd626acaea02cbdf
4
- data.tar.gz: 24da07b2e22084f2ff2bb37b9505397a0dfce72b
3
+ metadata.gz: 86e2a1da2a622d0052751bcf8827b01640b26108
4
+ data.tar.gz: 5cae698e540338f58f91130c168d5cbc8c98c805
5
5
  SHA512:
6
- metadata.gz: a0c4131e16168702e6df5d46e76a7fd08d5fa795a813634d8ffde4f7e1d982cbd781a2bf7420f553f3b183d22472db1243c449620ea9a01f85a9f3fae6d1222d
7
- data.tar.gz: 80e49ffda80bc84f07542f56a48351ef7f7bfa219204ce195669aeb847d2fd0a49141ce351fd2649f8c4a8babb99e2583c3a73d04f925ad3e7c358ed35ec3638
6
+ metadata.gz: b95b2796bb8a0ad3bd6a2e25e3a033b7b8670c61989a729814e38bdd60396f5061d2c183ebafb33127df20be63af4e5f24b406cf1437b8efe6c999c453e06dc5
7
+ data.tar.gz: c03c1b799dc0dcd73bc803fa7307490eb973f61fe46bf009a394bffd025977712018251adf5445f87ba71b06d4b4ef1f09b57d785e5513e30709f0784ae12d3e
@@ -77,14 +77,14 @@ module Feedjira
77
77
  base.elements :"itunes:category", as: :_itunes_categories, class: AppleCategory
78
78
 
79
79
  base.element :"itunes:image", as: :itunes_image_href, value: :href do |href|
80
- Addressable::URI.parse(href)
80
+ Addressable::URI.parse(href.strip)
81
81
  end
82
82
 
83
83
  base.element :"itunes:explicit", as: :_itunes_explicit
84
84
  base.element :"itunes:complete", as: :_itunes_complete
85
85
 
86
86
  base.element :"itunes:new_feed_url", as: :itunes_new_feed_url do |url|
87
- Addressable::URI.parse(url)
87
+ Addressable::URI.parse(url.strip)
88
88
  end
89
89
 
90
90
  base.element :"itunes:owner", as: :_itunes_owner, class: AppleOwner
@@ -39,7 +39,7 @@ module Feedjira
39
39
  ["self", "hub"].each do |rel|
40
40
  [:"atom:link", :"atom10:link"].each do |ns|
41
41
  base.element ns, with: { rel: rel }, as: "atom_#{rel}_link_href".to_sym, value: :href do |href|
42
- Addressable::URI.parse(href)
42
+ Addressable::URI.parse(href.strip)
43
43
  end
44
44
  base.element ns, with: { rel: rel }, as: "atom_#{rel}_link_rel".to_sym, value: :rel
45
45
  base.element ns, with: { rel: rel }, as: "atom_#{rel}_link_type".to_sym, value: :type
@@ -13,7 +13,7 @@ module Feedjira
13
13
  base.include(InstanceMethods)
14
14
 
15
15
  base.element :"feedburner:info", as: :feedburner_info_uri, value: :uri do |uri|
16
- Addressable::URI.parse(uri)
16
+ Addressable::URI.parse(uri.strip)
17
17
  end
18
18
  end
19
19
  end
@@ -6,13 +6,13 @@ module Feedjira
6
6
  include FeedUtilities
7
7
 
8
8
  element :url do |url|
9
- Addressable::URI.parse(url)
9
+ Addressable::URI.parse(url.strip)
10
10
  end
11
11
 
12
12
  element :title
13
13
 
14
14
  element :link do |link|
15
- Addressable::URI.parse(link)
15
+ Addressable::URI.parse(link.strip)
16
16
  end
17
17
 
18
18
  element :width, &:to_f
@@ -87,7 +87,7 @@ module Feedjira
87
87
  base.element :generator
88
88
 
89
89
  base.element :docs do |docs|
90
- Addressable::URI.parse(docs)
90
+ Addressable::URI.parse(docs.strip)
91
91
  end
92
92
 
93
93
  base.element :cloud, as: :_cloud, class: Cloud
@@ -4,7 +4,7 @@ module Feedjira
4
4
  module Required
5
5
  def self.included(base)
6
6
  base.element :link do |link|
7
- Addressable::URI.parse(link)
7
+ Addressable::URI.parse(link.strip)
8
8
  end
9
9
 
10
10
  base.element :title
@@ -10,7 +10,7 @@ module Feedjira
10
10
  element :name
11
11
 
12
12
  element :link do |link|
13
- Addressable::URI.parse(link)
13
+ Addressable::URI.parse(link.strip)
14
14
  end
15
15
  end
16
16
  end
@@ -61,7 +61,7 @@ module Feedjira
61
61
  base.element :"itunes:block", as: :_itunes_block
62
62
 
63
63
  base.element :"itunes:image", as: :itunes_image_href, value: :href do |href|
64
- Addressable::URI.parse(href)
64
+ Addressable::URI.parse(href.strip)
65
65
  end
66
66
 
67
67
  base.element :"itunes:duration", as: :itunes_duration do |d|
@@ -6,7 +6,7 @@ module Feedjira
6
6
  include FeedUtilities
7
7
 
8
8
  value :guid do |guid|
9
- perma_link? ? Addressable::URI.parse(guid) : guid
9
+ perma_link? ? Addressable::URI.parse(guid.strip) : guid
10
10
  end
11
11
 
12
12
  attribute :isPermaLink, as: :is_perma_link
@@ -20,7 +20,7 @@ module Feedjira
20
20
  base.include(InstanceMethods)
21
21
 
22
22
  base.element :link do |link|
23
- Addressable::URI.parse(link)
23
+ Addressable::URI.parse(link.strip)
24
24
  end
25
25
 
26
26
  base.element :author
@@ -28,11 +28,11 @@ module Feedjira
28
28
  base.elements :category
29
29
 
30
30
  base.element :comments do |comments|
31
- Addressable::URI.parse(comments)
31
+ Addressable::URI.parse(comments.strip)
32
32
  end
33
33
 
34
34
  base.element :enclosure, as: :enclosure_url, value: :url do |url|
35
- Addressable::URI.parse(url)
35
+ Addressable::URI.parse(url.strip)
36
36
  end
37
37
 
38
38
  base.element :enclosure, as: :enclosure_length, value: :length, &:to_f
@@ -8,7 +8,7 @@ module Feedjira
8
8
  value :source, as: :name
9
9
 
10
10
  attribute :url do |url|
11
- Addressable::URI.parse(url)
11
+ Addressable::URI.parse(url.strip)
12
12
  end
13
13
  end
14
14
  end
@@ -1,5 +1,5 @@
1
1
  module Feedjira
2
2
  module Podcast
3
- VERSION = "0.9.10"
3
+ VERSION = "0.9.11"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feedjira-podcast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Kalafarski
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-05 00:00:00.000000000 Z
11
+ date: 2015-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  version: '0'
176
176
  requirements: []
177
177
  rubyforge_project:
178
- rubygems_version: 2.5.0
178
+ rubygems_version: 2.5.1
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: Podcast feed parsing with Feedjira