wideopenspaces-flickry 0.1.5 → 0.1.6

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 (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/flickry/comment.rb +3 -2
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 5
3
+ :patch: 6
4
4
  :major: 0
@@ -2,13 +2,14 @@ module Flickry
2
2
  class Comment < Flickry::Base
3
3
  def initialize(comment)
4
4
  super(nil)
5
- extract_attrs!(comment, [:fid, :authorname, :datecreate, :permalink])
5
+ @comment_id = comment.id
6
+ extract_attrs!(comment, [:authorname, :datecreate, :permalink])
6
7
  self.content = comment.to_s
7
8
  self.author_id = comment.author
8
9
  end
9
10
 
10
11
  def comment_id
11
- self.fid
12
+ @comment_id
12
13
  end
13
14
 
14
15
  def to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wideopenspaces-flickry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Stetser