podcastinator 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/podcastinator/feed.rb +4 -0
- data/lib/podcastinator/generator.rb +1 -1
- data/lib/podcastinator/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd00f28d2d36a68857c536b43c95c980d9a35823
|
|
4
|
+
data.tar.gz: f51bc66d30e7c597d991ef8b87975fc424082311
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6295eda4a74f6d82bba281f6fb75ffc0d07e8ec6d7be63c8d239725a74d7b652cc83084e175ab4da70bc0ab12293b8305aaf172a43fa018b6d6228517cc370f
|
|
7
|
+
data.tar.gz: 3768745198e45c93ce512055d8a391e56a6aa10cd1c815219a21db6687fa5d8dc2e2caaefb83ca2de753538245abf3b2b2bfb05a6b73e7670920fa212b2d1dae
|
data/lib/podcastinator/feed.rb
CHANGED
|
@@ -48,7 +48,7 @@ module Podcastinator
|
|
|
48
48
|
xml["itunes"].summary item.subtitle if item.subtitle.present?
|
|
49
49
|
xml["itunes"].image(href: if item.image_url.present? then item.image_url else feed.image_url end)
|
|
50
50
|
xml.enclosure(url: item.url, length: item.file_size, type: item.mime_type)
|
|
51
|
-
xml.guid(item.guid, isPermaLink:
|
|
51
|
+
xml.guid(item.guid, isPermaLink: item.is_guid_permalink?)
|
|
52
52
|
xml.pubDate item.time.iso8601
|
|
53
53
|
xml["itunes"].duration item.duration.to_i
|
|
54
54
|
xml["itunes"].keywords item.keywords.join(",") if item.keywords.present?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: podcastinator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alex McHale
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-09-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nokogiri
|
|
@@ -125,4 +125,3 @@ signing_key:
|
|
|
125
125
|
specification_version: 4
|
|
126
126
|
summary: A ruby library for generating podcast feeds.
|
|
127
127
|
test_files: []
|
|
128
|
-
has_rdoc:
|