bercow 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/bercow +1 -1
  2. data/lib/bercow/version.rb +1 -1
  3. 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'
@@ -1,3 +1,3 @@
1
1
  module Bercow
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
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
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: &70106361219400 !ruby/object:Gem::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: *70106361219400
24
+ version_requirements: *70330903283980
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: nokogiri
27
- requirement: &70106361214080 !ruby/object:Gem::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: *70106361214080
35
+ version_requirements: *70330903278640
36
36
  description: ''
37
37
  email:
38
38
  - craig@barkingiguana.com