omniauth-nexaas_id 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: f1214f50974ff81f26a03b8c9968be60a9cd0d9c79e485264b57f39e3591757f
4
- data.tar.gz: d433fbb1bce097a28c540e955f05f1729905291f2690d4518e44554db43f5de9
3
+ metadata.gz: 378798aa8225024b3e030184e6885791d83be5012a323be13a3fa9f945fadc8a
4
+ data.tar.gz: dec1238d5fb2c829c1818b693f2bd1d8069a8bdb4e7ea0d4e66d8a015d35077b
5
5
  SHA512:
6
- metadata.gz: 216f8fd3cbd7a925ecea56872aeb02d33a6d624c7c2552e05a3db531f7fce807ca40183ebaa4bcdd51d99b2d12b270c4f21565325f52bcca366c26fa4ee6e332
7
- data.tar.gz: e4979e3e6dc7c0f64b32bad12fc62603d2cda4c8eeb3de07d23b9244bfc1ceeedd933a6dfe20f686ebc859beb87da0a508350aa1f7573675030e5add0f6d2444
6
+ metadata.gz: 907b0d598fb91283eb25f03ccfd0f9e81561e6b509bda3ffb8e158c9ed3ac9f2629438ce6fae820f2284af6be2d9ced92fdf022159844163c122655311f3a46f
7
+ data.tar.gz: 3dbd48a71570b4765ae99173060724099ee9cc2e0900e57186f93065ed6cd4f890a8bcb66b5b749784200f238d86522582530acbeadbabe9788c0e208e5dc61a
@@ -17,8 +17,12 @@ module OmniAuth
17
17
  info do
18
18
  {
19
19
  id: raw_info['id'],
20
- name: raw_info['name'],
21
- email: raw_info['main_email'],
20
+ name: {
21
+ first: raw_info['first_name'],
22
+ last: raw_info['last_name']
23
+ },
24
+ fullname: raw_info['full_name'],
25
+ email: raw_info['email'],
22
26
  picture_url: raw_info['picture']
23
27
  }
24
28
  end
@@ -33,8 +37,8 @@ module OmniAuth
33
37
  #
34
38
  # {
35
39
  # "id"=>"e9fa918b-a90e-49f3-86ec-e3ce92488a3e",
36
- # "name"=>"John Doe",
37
- # "main_email"=>"john@doe.com",
40
+ # "full_name"=>"John Doe",
41
+ # "email"=>"john@doe.com",
38
42
  # "emails"=>[{"address"=>"john@doe.com", "confirmed"=>true}],
39
43
  # "created_at"=>"2016-07-21T22:02:17Z",
40
44
  # "updated_at"=>"2016-07-21T22:02:17Z",
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "omniauth-nexaas_id"
7
- spec.version = "0.1.0"
7
+ spec.version = "0.1.1"
8
8
  spec.authors = ["Rodrigo Tassinari de Oliveira", "Luiz Carlos Buiatte"]
9
9
  spec.email = ["rodrigo@pittlandia.net", "luiz.buiatte@nexaas.com"]
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-nexaas_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Tassinari de Oliveira
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-08-28 00:00:00.000000000 Z
12
+ date: 2018-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: omniauth-oauth2