omniauth-photobucket 0.0.2 → 0.0.3

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/README.md CHANGED
@@ -30,16 +30,19 @@ The following information is provided back to you for this provider:
30
30
  provider: 'photobucket',
31
31
  uid: 'photobucket_username',
32
32
  info: {
33
- username: 'photbucket_username',
34
- url: 'http://s1234.photobucket.com/albums/s123/photobucket_username'
33
+ name: 'photbucket_username',
34
+ nickname: 'photbucket_username',
35
+ urls: {
36
+ 'home' => 'http://s1234.photobucket.com/albums/s123/photobucket_username'
37
+ }
35
38
  },
36
39
  credentials: {
37
- token: 'the_token',
40
+ token: 'the_token',
38
41
  secret: 'the_secret'
39
42
  },
40
43
  extra: {
41
44
  # check this out for a few other small things
42
- access_token: raw_oauth_access_token_object
45
+ raw_info: raw_info_from_request
43
46
  }
44
47
  }
45
48
  ```
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Photobucket
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
@@ -17,13 +17,16 @@ module OmniAuth
17
17
 
18
18
  info do
19
19
  {
20
- 'username' => raw_info[:username],
21
- 'url' => raw_info[:homeurl]
20
+ 'name' => raw_info[:username],
21
+ 'nickname' => raw_info[:username],
22
+ 'urls' => {
23
+ 'home' => raw_info[:homeurl]
24
+ }
22
25
  }
23
26
  end
24
27
 
25
28
  extra do
26
- raw_info
29
+ { 'raw_info' => raw_info }
27
30
  end
28
31
 
29
32
  def raw_info
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-photobucket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: