bercow 0.0.3 → 0.0.4

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 -4
  2. data/lib/bercow/version.rb +1 -1
  3. metadata +5 -5
data/bin/bercow CHANGED
@@ -33,9 +33,6 @@ unless File.exists? options['cache']
33
33
  end
34
34
 
35
35
  remove_nodes = %w{
36
- content:encoded
37
- wfw:commentRss
38
- slash:comments
39
36
  description
40
37
  category
41
38
  }
@@ -79,7 +76,7 @@ rss.root.add_namespace_definition 'itunes', 'http://www.itunes.com/dtds/podcast-
79
76
 
80
77
  rss_host = URI.parse(options['rss']).host
81
78
  rss_url = "#{options['host']}#{rss_host}/rss.xml"
82
- reference = rss.xpath("//channel/atom:link[@rel = 'self']").to_a[0]
79
+ reference = rss.xpath("//channel/atom:link[@rel = 'self']", "atom" => "http://www.w3.org/2005/Atom").to_a[0]
83
80
  reference['href'] = rss_url
84
81
 
85
82
  host_root = File.join options['cache'], rss_host
@@ -1,3 +1,3 @@
1
1
  module Bercow
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
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.3
4
+ version: 0.0.4
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: &70325085784540 !ruby/object:Gem::Requirement
16
+ requirement: &70106361219400 !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: *70325085784540
24
+ version_requirements: *70106361219400
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: nokogiri
27
- requirement: &70325085779060 !ruby/object:Gem::Requirement
27
+ requirement: &70106361214080 !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: *70325085779060
35
+ version_requirements: *70106361214080
36
36
  description: ''
37
37
  email:
38
38
  - craig@barkingiguana.com