omniauth-photobucket 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -6,7 +6,9 @@ A Photobucket strategy for OmniAuth 1.0.
6
6
 
7
7
  Add this line to your application's Gemfile:
8
8
 
9
- gem 'omniauth-photobucket'
9
+ ```ruby
10
+ gem 'omniauth-photobucket'
11
+ ```
10
12
 
11
13
  And then run `bundle`.
12
14
 
@@ -33,7 +35,9 @@ The following information is provided back to you for this provider:
33
35
  name: 'photbucket_username',
34
36
  nickname: 'photbucket_username',
35
37
  urls: {
36
- 'home' => 'http://s1234.photobucket.com/albums/s123/photobucket_username'
38
+ home: 'http://s1234.photobucket.com/albums/s123/photobucket_username',
39
+ # You'll need to store this for some API calls
40
+ api_subdomain: 'api1234.photobucket.com'
37
41
  }
38
42
  },
39
43
  credentials: {
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Photobucket
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
@@ -20,7 +20,8 @@ module OmniAuth
20
20
  'name' => raw_info[:username],
21
21
  'nickname' => raw_info[:username],
22
22
  'urls' => {
23
- 'home' => raw_info[:homeurl]
23
+ 'home' => raw_info[:homeurl],
24
+ 'api_sudbomain' => raw_info[:subdomain]
24
25
  }
25
26
  }
26
27
  end
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.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: