seven1m-flickr 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/flickr.rb +2 -2
- metadata +3 -2
data/lib/flickr.rb
CHANGED
@@ -44,7 +44,7 @@ class Flickr
|
|
44
44
|
def auth_url(perms='read')
|
45
45
|
@frob = self.flickr.auth.getFrob['rsp']['frob']
|
46
46
|
sig = MD5.hexdigest("#{@secret}api_key#{@api_key}frob#{@frob}perms#{perms}")
|
47
|
-
|
47
|
+
"http://flickr.com/services/auth/?api_key=#{@api_key}&perms=#{perms}&frob=#{@frob}&api_sig=#{sig}"
|
48
48
|
end
|
49
49
|
|
50
50
|
def complete_auth
|
@@ -71,4 +71,4 @@ class Flickr
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
-
end
|
74
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seven1m-flickr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Morgan
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- lib/flickr.rb
|
36
36
|
has_rdoc: false
|
37
37
|
homepage: http://github.com/seven1m/flickr
|
38
|
+
licenses:
|
38
39
|
post_install_message:
|
39
40
|
rdoc_options: []
|
40
41
|
|
@@ -55,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
56
|
requirements: []
|
56
57
|
|
57
58
|
rubyforge_project:
|
58
|
-
rubygems_version: 1.
|
59
|
+
rubygems_version: 1.3.5
|
59
60
|
signing_key:
|
60
61
|
specification_version: 2
|
61
62
|
summary: Lightweight wrapper for Flickr API
|