omniauth-sialog 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97366c8441fde5f24a9630c405126cd786ba9bebd39b909121ee61a80486cd2d
4
- data.tar.gz: '08263e8e04edefeb3e68f805dc65ae677692443e00c27a36f0e12e70a3b33b17'
3
+ metadata.gz: a93c2f8858828390cf386a04e4a021e77be97aed2ff69c2df21649c3f9152ac3
4
+ data.tar.gz: 48fd163e72aff1c327c862706be2b83724ef45a10bc9da537af7aadf4bcbf05d
5
5
  SHA512:
6
- metadata.gz: ae37d245e450f95fd15565b63a04f0c6d557328d3a1455a49373376f745ae33c464e99facf4776548cd4383f0fafbee5833ac558c8e93c3409dbd09bc73149c2
7
- data.tar.gz: 3340ca0586fe59cb3c560e0eec39dea9fa64135da19199410531c6997984d0334a5f6ab706a2b70d2c6b56dd024c8ffc0340f72bb27919a0a3efe63da7da178b
6
+ metadata.gz: 38278d6c5a50385bced7ddab6862b0bb0573fef49f7d347592c608f79baa470c8471a26b071ee9caf462d8962272765bf61167c245622783436f8c6a6e8d5f02
7
+ data.tar.gz: 513f5aa654e554ef1a83645a4f230931afc72bfc5cc192002288257b92778cda0679cb1761394c68659884789ad139abfda330fb00ce341bc489e24cf17270c7
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module Sialog
5
- VERSION = '0.1.0'
5
+ VERSION = '0.1.1'
6
6
  end
7
7
  end
@@ -8,16 +8,17 @@ module OmniAuth
8
8
  class Sialog < OmniAuth::Strategies::OAuth2
9
9
  option :name, :sialog
10
10
 
11
- option :client_options, site: 'http://accounts.sialog.com', authorize_url: '/oauth/authorize'
11
+ option :client_options, site: 'https://accounts.sialog.com', authorize_url: '/oauth/authorize'
12
12
 
13
13
  uid { raw_info['id'] }
14
14
 
15
15
  info do
16
16
  {
17
+ name: raw_info['name'],
18
+ last_name: raw_info['last_name'],
17
19
  email: raw_info['email'],
18
- kind: raw_info['kind'],
19
- company_group_id: raw_info['company_group_id'],
20
- company_group_name: raw_info['company_group_name']
20
+ clearance: raw_info['clearance'],
21
+ company_groups: raw_info['company_groups']
21
22
  }
22
23
  end
23
24
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-sialog
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
  - Francis Schiavo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-27 00:00:00.000000000 Z
11
+ date: 2019-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -139,8 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  requirements: []
142
- rubyforge_project:
143
- rubygems_version: 2.7.8
142
+ rubygems_version: 3.0.3
144
143
  signing_key:
145
144
  specification_version: 4
146
145
  summary: Sialog strategy for OmniAuth