fotonauts-flickr_fu 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/flickr_fu.gemspec +1 -1
- data/lib/flickr/photo.rb +1 -1
- data/lib/flickr/photos.rb +1 -0
- metadata +1 -1
data/VERSION.yml
CHANGED
data/flickr_fu.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{fotonauts-flickr_fu}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.8"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Ben Wyrosdick", "Maciej Bilas", "Fotonauts"]
|
data/lib/flickr/photo.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# wrapping class to hold an flickr photo
|
2
2
|
class Flickr::Photos::Photo
|
3
3
|
attr_accessor :id, :owner, :secret, :server, :farm, :title, :is_public, :is_friend, :is_family # standard attributes
|
4
|
-
attr_accessor :license_id, :uploaded_at, :taken_at, :owner_name, :icon_server, :original_format, :updated_at, :geo, :tags, :machine_tags, :o_height, :o_width, :o_dims, :views, :media # extra attributes
|
4
|
+
attr_accessor :license_id, :uploaded_at, :taken_at, :owner_name, :icon_server, :original_format, :updated_at, :geo, :tags, :machine_tags, :o_height, :o_width, :o_dims, :views, :media, :rotation # extra attributes
|
5
5
|
attr_accessor :info_added, :description, :original_secret, :owner_username, :owner_realname, :url_photopage, :notes # info attributes
|
6
6
|
attr_accessor :comments # comment attributes
|
7
7
|
|
data/lib/flickr/photos.rb
CHANGED
@@ -239,6 +239,7 @@ class Flickr::Photos < Flickr::Base
|
|
239
239
|
:icon_server => photo[:icon_server],
|
240
240
|
:original_format => photo[:originalformat],
|
241
241
|
:updated_at => (Time.at(photo[:lastupdate].to_i) rescue nil),
|
242
|
+
:rotation => photo[:rotation],
|
242
243
|
:geo => photo[:geo],
|
243
244
|
:tags => photo[:tags],
|
244
245
|
:machine_tags => photo[:machine_tags],
|