omniauth-passport 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,6 +16,13 @@ module OmniAuth
16
16
  }
17
17
  end
18
18
 
19
+ def request_phase
20
+ branding_params = request.params.slice('background_colour', 'tagline', 'header_image')
21
+ options.authorize_params.update branding_params
22
+
23
+ super
24
+ end
25
+
19
26
  def raw_info
20
27
  @raw_info ||= begin
21
28
  parsed = access_token.get('/api/v1/me').parsed
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Passport
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-passport
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
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: 2012-12-17 00:00:00.000000000 Z
12
+ date: 2013-02-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth-oauth2