flickr_vision 0.0.4 → 0.0.5
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.
- data/lib/flickr_vision/flickr_photo.rb +5 -0
- metadata +3 -3
@@ -5,6 +5,10 @@ class FlickrPhoto
|
|
5
5
|
def small_square()
|
6
6
|
return build_photo_url(@farm_id,@server_id,@id,@secret).gsub(".jpg","") + "_s" + ".jpg"
|
7
7
|
end
|
8
|
+
|
9
|
+
def large_square()
|
10
|
+
return build_photo_url(@farm_id,@server_id,@id,@secret).gsub(".jpg","") + "_q" + ".jpg"
|
11
|
+
end
|
8
12
|
|
9
13
|
def thumbnail()
|
10
14
|
return build_photo_url(@farm_id,@server_id,@id,@secret).gsub(".jpg","") + "_t" + ".jpg"
|
@@ -23,6 +27,7 @@ class FlickrPhoto
|
|
23
27
|
def large()
|
24
28
|
return build_photo_url(@farm_id,@server_id,@id,@secret).gsub(".jpg","") + "_b" + ".jpg"
|
25
29
|
end
|
30
|
+
|
26
31
|
|
27
32
|
def original()
|
28
33
|
return build_photo_url(@farm_id,@server_id,@id,@secret).gsub(".jpg","") + "_o" + ".jpg"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flickr_vision
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-01-
|
12
|
+
date: 2015-01-27 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: A gem to access flickr
|
15
15
|
email: koen@infovision.be
|
@@ -41,7 +41,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
41
41
|
version: '0'
|
42
42
|
requirements: []
|
43
43
|
rubyforge_project:
|
44
|
-
rubygems_version: 1.8.
|
44
|
+
rubygems_version: 1.8.15
|
45
45
|
signing_key:
|
46
46
|
specification_version: 3
|
47
47
|
summary: FlickrVision
|