bercow 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/bercow +1 -1
- data/lib/bercow/version.rb +1 -1
- metadata +5 -5
data/bin/bercow
CHANGED
@@ -77,7 +77,7 @@ rss.root.add_namespace_definition 'itunes', 'http://www.itunes.com/dtds/podcast-
|
|
77
77
|
rss_host = URI.parse(options['rss']).host
|
78
78
|
rss_url = "#{options['host']}#{rss_host}/rss.xml"
|
79
79
|
reference = rss.xpath("//channel/atom:link[@rel = 'self']", "atom" => "http://www.w3.org/2005/Atom").to_a[0]
|
80
|
-
reference['href'] = rss_url
|
80
|
+
reference['href'] = rss_url unless reference.nil?
|
81
81
|
|
82
82
|
host_root = File.join options['cache'], rss_host
|
83
83
|
rss_feed = File.join host_root, 'rss.xml'
|
data/lib/bercow/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bercow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-10-08 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: stomp
|
16
|
-
requirement: &
|
16
|
+
requirement: &70330903283980 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70330903283980
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: nokogiri
|
27
|
-
requirement: &
|
27
|
+
requirement: &70330903278640 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70330903278640
|
36
36
|
description: ''
|
37
37
|
email:
|
38
38
|
- craig@barkingiguana.com
|