Skip to content

Commit b1da74b

Browse files
author
Matt Swanson
committed
tweaks in feedzirra fork for atom author.
1 parent 5954714 commit b1da74b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ GIT
1919

2020
GIT
2121
remote: git://github.com/swanson/feedzirra.git
22-
revision: 3d4767670b24b4de617ab9bcbd1ac9786cb30183
22+
revision: bde016b7f778ea86d7aa1100beca7e504c9a7032
2323
specs:
2424
feedzirra (0.2.0.rc2)
2525
curb (~> 0.8.1)
@@ -64,7 +64,7 @@ GEM
6464
multi_json (1.7.2)
6565
nokogiri (1.5.9)
6666
pg (0.15.1)
67-
pry (0.9.12)
67+
pry (0.9.12.1)
6868
coderay (~> 1.0.5)
6969
method_source (~> 0.8)
7070
slop (~> 3.4)

app/repositories/story_repository.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def self.add(entry, feed)
55
Story.create(feed: feed,
66
title: entry.title,
77
permalink: entry.url,
8-
author: entry.author,
8+
author: entry.author || feed.author,
99
body: StoryRepository.extract_content(entry),
1010
is_read: false,
1111
published: entry.published || Time.now)

0 commit comments

Comments
 (0)