feedzirra 0.0.22 → 0.0.23

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.
data/lib/feedzirra.rb CHANGED
@@ -34,5 +34,5 @@ require 'feedzirra/parser/atom'
34
34
  require 'feedzirra/parser/atom_feed_burner'
35
35
 
36
36
  module Feedzirra
37
- VERSION = "0.0.22"
37
+ VERSION = "0.0.23"
38
38
  end
@@ -16,7 +16,7 @@ module Feedzirra
16
16
  ##
17
17
  # Returns the id of the entry or its url if not id is present, as some formats don't support it
18
18
  def id
19
- @id || @url
19
+ @entry_id || @url
20
20
  end
21
21
 
22
22
  ##
@@ -21,7 +21,7 @@ module Feedzirra
21
21
  element :content
22
22
  element :summary
23
23
  element :published
24
- element :id
24
+ element :id, :as => :entry_id
25
25
  element :created, :as => :published
26
26
  element :issued, :as => :published
27
27
  element :updated
@@ -22,7 +22,7 @@ module Feedzirra
22
22
  element :summary
23
23
  element :content
24
24
  element :published
25
- element :id
25
+ element :id, :as => :entry_id
26
26
  element :issued, :as => :published
27
27
  element :created, :as => :published
28
28
  element :updated
@@ -34,7 +34,7 @@ module Feedzirra
34
34
  element :issued, :as => :published
35
35
  elements :category, :as => :categories
36
36
 
37
- element :guid, :as => :id
37
+ element :guid, :as => :entry_id
38
38
  end
39
39
 
40
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feedzirra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix