podcastinator 0.0.3 → 0.0.4

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: 2cc08c4bff010e7414d6e0338f191900191f9d66
4
- data.tar.gz: f877263e92cd902cca3e20d7e11abe3f57ae532f
3
+ metadata.gz: cd00f28d2d36a68857c536b43c95c980d9a35823
4
+ data.tar.gz: f51bc66d30e7c597d991ef8b87975fc424082311
5
5
  SHA512:
6
- metadata.gz: 77a40bec274ffbf0f18c831c7908f49b7a808b2270f2aa0b7d71522c86eecc57929fea8af9959999f723d3da2f9b02ec213a391eb38fd4c70b5f6cd1926af88e
7
- data.tar.gz: bfd76e8116b8b42322871ec02d9a8b54c268c0cb269ab09c73fa960cbdc18c297b201fcb4253bda5eda6387a9b986551d367beb50a62259d6f18b15f22658a16
6
+ metadata.gz: a6295eda4a74f6d82bba281f6fb75ffc0d07e8ec6d7be63c8d239725a74d7b652cc83084e175ab4da70bc0ab12293b8305aaf172a43fa018b6d6228517cc370f
7
+ data.tar.gz: 3768745198e45c93ce512055d8a391e56a6aa10cd1c815219a21db6687fa5d8dc2e2caaefb83ca2de753538245abf3b2b2bfb05a6b73e7670920fa212b2d1dae
@@ -106,6 +106,10 @@ module Podcastinator
106
106
  md5.to_s
107
107
  end
108
108
 
109
+ def is_guid_permalink?
110
+ false
111
+ end
112
+
109
113
  def time
110
114
  @time || File.mtime(local_filename)
111
115
  end
@@ -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: "false")
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?
@@ -1,5 +1,5 @@
1
1
  module Podcastinator
2
2
 
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
 
5
5
  end
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.3
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-08-07 00:00:00.000000000 Z
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: