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 +4 -4
- data/lib/feedjira/podcast/channel/apple.rb +2 -2
- data/lib/feedjira/podcast/channel/atom.rb +1 -1
- data/lib/feedjira/podcast/channel/feedburner.rb +1 -1
- data/lib/feedjira/podcast/channel/image.rb +2 -2
- data/lib/feedjira/podcast/channel/optional.rb +1 -1
- data/lib/feedjira/podcast/channel/required.rb +1 -1
- data/lib/feedjira/podcast/channel/text_input.rb +1 -1
- data/lib/feedjira/podcast/item/apple.rb +1 -1
- data/lib/feedjira/podcast/item/guid.rb +1 -1
- data/lib/feedjira/podcast/item/optional.rb +3 -3
- data/lib/feedjira/podcast/item/source.rb +1 -1
- data/lib/feedjira/podcast/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86e2a1da2a622d0052751bcf8827b01640b26108
|
4
|
+
data.tar.gz: 5cae698e540338f58f91130c168d5cbc8c98c805
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -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
|
@@ -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|
|
@@ -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
|
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.
|
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-
|
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.
|
178
|
+
rubygems_version: 2.5.1
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Podcast feed parsing with Feedjira
|