planet 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/planet.rb +1 -1
- data/lib/planet/version.rb +1 -1
- metadata +1 -1
data/lib/planet.rb
CHANGED
@@ -107,7 +107,7 @@ class Planet
|
|
107
107
|
feed = Feedzirra::Feed.fetch_and_parse(self.feed)
|
108
108
|
|
109
109
|
self.name ||= feed.title || 'the source'
|
110
|
-
self
|
110
|
+
self.url ||= feed.url
|
111
111
|
|
112
112
|
if self.url.nil?
|
113
113
|
abort "#{ self.author }'s blog does not have a url field on it's feed, you will need to specify it on planet.yml"
|
data/lib/planet/version.rb
CHANGED