ostatus 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/ostatus/feed.rb CHANGED
@@ -86,6 +86,7 @@ module OStatus
86
86
  feed = TinyAtom::Feed.new(
87
87
  self.id,
88
88
  self.title,
89
+
89
90
  @url,
90
91
 
91
92
  :author_name => self.author.name,
@@ -96,12 +97,15 @@ module OStatus
96
97
  )
97
98
 
98
99
  @entries.each do |entry|
100
+ entry_url = entry.link[:href]
101
+ entry_url = @url if entry_url == nil
102
+
99
103
  feed.add_entry(
100
104
  entry.id,
101
105
  entry.title,
102
106
  entry.updated,
103
107
 
104
- @url,
108
+ entry_url,
105
109
 
106
110
  :published => entry.published,
107
111
 
@@ -1,3 +1,3 @@
1
1
  module OStatus
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Hackers of the Severed Hand
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-03-12 23:00:00 -05:00
17
+ date: 2011-03-14 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency