omniauth-galvanize 0.4.13 → 0.4.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b67439d77aaf23b10598b86f632870d2348fe85
4
- data.tar.gz: 8704d05ace874b0cf1d4d8c07b5d25e0e4631635
3
+ metadata.gz: 8675c3d8ba497842f8a4a769a6ccbd2fef4918d1
4
+ data.tar.gz: 19f4394dfb7450fb7a127fd36bab942eb1b53640
5
5
  SHA512:
6
- metadata.gz: 1be0ef6eb0672d1848fe5fa0d673e77e9b1ea4eb5c6d964b2b4bfb1052d32a3a2daf9cb6698906261aaa438c75ea7e791c42cc2ed77f7f6659637acb2fbc9eed
7
- data.tar.gz: 9937cb1ae8a4b376ef2382a275b226f325be5296fb353073bb05ad903ce6630275670397c69931adad311218b221a84514c0a047ecaf7f31c061f25a6ecf655a
6
+ metadata.gz: 94e129044c78b612ddd6aca280c40cc9b28f4b7e472979c71065a4377d5102b9099f0482a6dd5f7a7c32b0f758190b140c9326039f35f7b4aece593b7ab99c5c
7
+ data.tar.gz: 9a09e097bc9edde759677fa010e46844820f873fe03b7ef5cde14d8ff8c86b5e348c1e86a94d45fe99baf046c42bd988fbbf88a0bd571aa9141d5431c4ef0f22
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module Galvanize
3
- VERSION = "0.4.13"
3
+ VERSION = "0.4.14"
4
4
  end
5
5
  end
@@ -33,7 +33,8 @@ module OmniAuth
33
33
  :roles => raw_info['results'][0]['roles'],
34
34
  :home_location => raw_info['results'][0]['home_location'],
35
35
  :cohort => raw_info['results'][0]['cohorts'],
36
- :companies => raw_info['results'][0]['companies']
36
+ :companies => raw_info['results'][0]['companies'],
37
+ :onboard_uuid => raw_info['results'][0]['onboard_uuid']
37
38
  }
38
39
  end
39
40
 
@@ -44,7 +45,7 @@ module OmniAuth
44
45
  end
45
46
 
46
47
  def raw_info
47
- @raw_info ||= access_token.get('/galvanize-api/v1/me').parsed
48
+ @raw_info ||= access_token.get('/galvanize-api/v1/me?include_onboard=true').parsed
48
49
  end
49
50
  end
50
51
  end
@@ -6,7 +6,7 @@ module OmniAuth
6
6
  include OmniAuth::Strategy
7
7
 
8
8
  option :name, 'galvanize_developer'
9
- option :fields, [:first_name, :last_name, :email, :role, :cohorts, :galvanize_id, :home_location]
9
+ option :fields, [:first_name, :last_name, :email, :role, :cohorts, :galvanize_id, :home_location, :onboard_uuid]
10
10
  option :role_fields, [:role]
11
11
  option :cohort_fields, [:cohort]
12
12
  option :uid_field, :galvanize_id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-galvanize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.13
4
+ version: 0.4.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Cunningham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-02 00:00:00.000000000 Z
11
+ date: 2016-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth