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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8675c3d8ba497842f8a4a769a6ccbd2fef4918d1
|
4
|
+
data.tar.gz: 19f4394dfb7450fb7a127fd36bab942eb1b53640
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94e129044c78b612ddd6aca280c40cc9b28f4b7e472979c71065a4377d5102b9099f0482a6dd5f7a7c32b0f758190b140c9326039f35f7b4aece593b7ab99c5c
|
7
|
+
data.tar.gz: 9a09e097bc9edde759677fa010e46844820f873fe03b7ef5cde14d8ff8c86b5e348c1e86a94d45fe99baf046c42bd988fbbf88a0bd571aa9141d5431c4ef0f22
|
@@ -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.
|
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-
|
11
|
+
date: 2016-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth
|