fed 0.0.4 → 0.0.5

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.
Files changed (4) hide show
  1. data/fed.gemspec +1 -1
  2. data/lib/fed.rb +1 -1
  3. data/lib/fed/feed/atom.rb +1 -1
  4. metadata +1 -1
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'fed'
16
- s.version = '0.0.4'
16
+ s.version = '0.0.5'
17
17
  s.date = '2013-04-26'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
data/lib/fed.rb CHANGED
@@ -14,7 +14,7 @@ require 'fed/feed/rss2'
14
14
  require 'fed/feed/entry'
15
15
 
16
16
  module Fed
17
- VERSION = '0.0.4'
17
+ VERSION = '0.0.5'
18
18
 
19
19
  class <<self
20
20
 
@@ -24,7 +24,7 @@ module Fed
24
24
  ""
25
25
  end
26
26
 
27
- enclosure_elem = item.css("link[rel='enclosure']").first
27
+ enclosure_elem = entry.css("link[rel='enclosure']").first
28
28
  entry_enclosure = if !enclosure_elem.nil?
29
29
  url = enclosure_elem.attributes['href'] ? enclosure_elem.attributes['href'].value : ''
30
30
  content_type = enclosure_elem.attributes['type'] ? enclosure_elem.attributes['type'].value : ''
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fed
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: