omniauth-parallelmarkets 0.3.1 → 0.4.0

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: b026698cd5a7b5283f7913babb473531952ba669b67bd12c0a18363c9244cf4e
4
- data.tar.gz: e1db5da64573edbdbc378965cc1d6c5f5684fe859f2293fadf0600793e52c9b2
3
+ metadata.gz: a09a136f927f294185559a7dfab444e5fb74998f1de4eeccea20380a4f16de31
4
+ data.tar.gz: d9dba23f966d094ca5ea5998e9750d4aefba87b8a34069b5372f9ac524aa270c
5
5
  SHA512:
6
- metadata.gz: f00eb527524c5bf8b9feab30b59c2c8b3dfcee235e8a8cc2d5a42bb7a67f0a773703acafdfa173daedae3f9fb3cf0358ae21fd45b8106c5e3dc4569153103744
7
- data.tar.gz: c322188b820b9fe1d3fc48dd6bc2d0627c7f8dc82e5810339351b36409ec007dc8a1e4a5aef4af6ce7b41784e5649a220e094199dabfa6002aacd4d65dd70ada
6
+ metadata.gz: c874ad3849bf22c15ffd1a8388ccbcf0120ad36e24222e7250c4434432ceda003df5628a4f4be2a7be6caac8a6b9dd453aba361909f183f6fb6f95f506b2c5fe
7
+ data.tar.gz: df94ef490b155c9e7cf1117c3fb925d606e1e6a1faef01a390de63bd9f28d0d9c169069959e106f867268d4851eb481ce5aeaaf730cf71b349c67139abc57f09
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module ParallelMarkets
5
- VERSION = '0.3.1'
5
+ VERSION = '0.4.0'
6
6
  end
7
7
  end
@@ -27,6 +27,12 @@ module OmniAuth
27
27
  accreditations: accreditations,
28
28
  indicated_unaccredited: indicated_unaccredited,
29
29
  business_type: profile['business_type'],
30
+ primary_contact: profile['primary_contact'].nil? ? nil : {
31
+ name: "#{profile['primary_contact']['first_name']} #{profile['primary_contact']['last_name']}",
32
+ first_name: profile['primary_contact']['first_name'],
33
+ last_name: profile['primary_contact']['last_name'],
34
+ email: profile['primary_contact']['email']
35
+ },
30
36
  type: raw_info['type'],
31
37
  user_id: raw_info['user_id'],
32
38
  raw_info: raw_info
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-parallelmarkets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Muller
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-19 00:00:00.000000000 Z
11
+ date: 2020-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -89,7 +89,7 @@ homepage: https://github.com/parallel-markets/omniauth-parallelmarkets
89
89
  licenses:
90
90
  - MIT
91
91
  metadata: {}
92
- post_install_message:
92
+ post_install_message:
93
93
  rdoc_options: []
94
94
  require_paths:
95
95
  - lib
@@ -104,8 +104,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.0.6
108
- signing_key:
107
+ rubygems_version: 3.0.8
108
+ signing_key:
109
109
  specification_version: 4
110
110
  summary: Parallel Markets OAuth strategy for OmniAuth
111
111
  test_files: []