omniauth-flickr 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,5 +1,10 @@
1
1
  An Omniauth 1.0 Strategy for Flickr
2
2
 
3
+ * Version 0.0.6
4
+
5
+ - Comply more closely to published Auth Hash Schema
6
+ (https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema)
7
+
3
8
  * Version 0.0.5
4
9
 
5
10
  - Most available user information should now be available in the info hash
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Flickr
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
@@ -20,14 +20,16 @@ module OmniAuth
20
20
 
21
21
  info do
22
22
  {
23
- :username => access_token.params['username'],
24
- :fullname => access_token.params['fullname'],
23
+ :name => access_token.params['username'],
24
+ :nickname => access_token.params['fullname'],
25
25
  :ispro => user_info["ispro"],
26
26
  :iconserver => user_info["iconserver"],
27
27
  :iconfarm => user_info["iconfarm"],
28
28
  :path_alias => user_info["path_alias"],
29
- :photosurl => user_info["photosurl"],
30
- :profileurl => user_info["profileurl"],
29
+ :urls => {
30
+ "Photos" => user_info["photosurl"],
31
+ "Profile" => user_info["profileurl"],
32
+ },
31
33
  :mbox_sha1sum => user_info["mbox_sha1sum"],
32
34
  :location => user_info["location"],
33
35
  :image => "http://farm#{user_info["iconfarm"]}.static.flickr.com/#{user_info["iconserver"]}/buddyicons/#{uid}.jpg"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-flickr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-03 00:00:00.000000000Z
12
+ date: 2011-12-04 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth-oauth
16
- requirement: &70110384049680 !ruby/object:Gem::Requirement
16
+ requirement: &70224083202000 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70110384049680
24
+ version_requirements: *70224083202000
25
25
  description: OmniAuth strategy for Flickr
26
26
  email:
27
27
  - tim@sbrew.com