omniauth-liblynx 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +26 -7
- data/lib/omniauth-liblynx/version.rb +1 -1
- data/lib/omniauth/strategies/liblynx.rb +8 -2
- data/omniauth-liblynx.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72198df8541e1d99ef9ec68869c1ee56684ff15f823e084187af4fcfedbe2761
|
4
|
+
data.tar.gz: 5dce95053af8b6317d530d9e3e66fd1166cba7050e024e2def453815af5e7b3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ed42bc1f6c9e3e9f9c51b9a2bfe731712c1bb1f0372c7303edcb7dc7be03a122d8cd39d3e0baffeea3e4dbad63b6528153198798c31b9204dd6c43770c27106
|
7
|
+
data.tar.gz: 0775ad2e2b40a408bb057d3b5063250c8f99110f13c766eb213078f0ec7acddfffe3547aac804d6b9692950d486da9b57655c4d4f002f31502def951f92842f5
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,25 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omniauth-liblynx (1.0.
|
4
|
+
omniauth-liblynx (1.0.6)
|
5
5
|
omniauth (~> 1.5)
|
6
6
|
omniauth-oauth2 (>= 1.4.0, < 2.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
|
11
|
+
ast (2.4.0)
|
12
|
+
faraday (0.15.3)
|
12
13
|
multipart-post (>= 1.2, < 3)
|
13
14
|
hashie (3.5.7)
|
14
|
-
|
15
|
+
jaro_winkler (1.5.1)
|
16
|
+
jwt (2.1.0)
|
15
17
|
multi_json (1.13.1)
|
16
18
|
multi_xml (0.6.0)
|
17
19
|
multipart-post (2.0.0)
|
18
|
-
oauth2 (1.4.
|
19
|
-
faraday (>= 0.8, < 0.
|
20
|
-
jwt (
|
20
|
+
oauth2 (1.4.1)
|
21
|
+
faraday (>= 0.8, < 0.16.0)
|
22
|
+
jwt (>= 1.0, < 3.0)
|
21
23
|
multi_json (~> 1.3)
|
22
24
|
multi_xml (~> 0.5)
|
23
25
|
rack (>= 1.2, < 3)
|
@@ -27,16 +29,33 @@ GEM
|
|
27
29
|
omniauth-oauth2 (1.5.0)
|
28
30
|
oauth2 (~> 1.1)
|
29
31
|
omniauth (~> 1.2)
|
32
|
+
parallel (1.12.1)
|
33
|
+
parser (2.5.1.2)
|
34
|
+
ast (~> 2.4.0)
|
35
|
+
powerpack (0.1.2)
|
30
36
|
rack (2.0.5)
|
37
|
+
rainbow (3.0.0)
|
31
38
|
rake (10.5.0)
|
39
|
+
rubocop (0.59.2)
|
40
|
+
jaro_winkler (~> 1.5.1)
|
41
|
+
parallel (~> 1.10)
|
42
|
+
parser (>= 2.5, != 2.5.1.1)
|
43
|
+
powerpack (~> 0.1)
|
44
|
+
rainbow (>= 2.2.2, < 4.0)
|
45
|
+
ruby-progressbar (~> 1.7)
|
46
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
47
|
+
ruby-progressbar (1.10.0)
|
48
|
+
unicode-display_width (1.4.0)
|
32
49
|
|
33
50
|
PLATFORMS
|
34
51
|
ruby
|
52
|
+
x86_64-darwin-18
|
35
53
|
|
36
54
|
DEPENDENCIES
|
37
55
|
bundler
|
38
56
|
omniauth-liblynx!
|
39
57
|
rake (< 11.0)
|
58
|
+
rubocop
|
40
59
|
|
41
60
|
BUNDLED WITH
|
42
|
-
1.
|
61
|
+
1.17.0
|
@@ -41,7 +41,8 @@ module OmniAuth
|
|
41
41
|
'name' => i['display_name'],
|
42
42
|
'surname' => i['surname'],
|
43
43
|
'given_name' => i['given_name'],
|
44
|
-
'raw' => raw_info
|
44
|
+
'raw' => raw_info['_response'],
|
45
|
+
'attributes' => raw_info.dig('_response', 'attributes')
|
45
46
|
}
|
46
47
|
end
|
47
48
|
|
@@ -66,7 +67,12 @@ module OmniAuth
|
|
66
67
|
.request(:post, options.id_url, body: id_body.merge(url: @auth_url))
|
67
68
|
.parsed
|
68
69
|
ref = r.dig('account', 'publisher_reference')
|
69
|
-
|
70
|
+
{
|
71
|
+
'_response' => r,
|
72
|
+
'reference' => ref
|
73
|
+
}
|
74
|
+
.compact
|
75
|
+
.merge(r['account_individual'] || {})
|
70
76
|
end
|
71
77
|
end
|
72
78
|
|
data/omniauth-liblynx.gemspec
CHANGED
@@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
|
17
17
|
gem.add_development_dependency 'bundler'
|
18
18
|
gem.add_development_dependency 'rake', '< 11.0'
|
19
|
+
gem.add_development_dependency 'rubocop'
|
19
20
|
|
20
21
|
gem.add_dependency 'omniauth', '~> 1.5'
|
21
22
|
gem.add_dependency 'omniauth-oauth2', '>= 1.4.0', '< 2.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-liblynx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Sablic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "<"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '11.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: omniauth
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|