omniauth-barong-oauth2 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +14 -1
- data/lib/omniauth-barong-oauth2/strategy.rb +3 -0
- data/lib/omniauth-barong-oauth2/version.rb +1 -1
- data/omniauth-barong-oauth2.gemspec +1 -0
- metadata +22 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e8b28d6d0d192fd7134a3b09e1809c3b42cf0ccbc92d435a633ba4c7d668713
|
4
|
+
data.tar.gz: 956ee00fd0b31ab8afd3709cfa45c5612bacb79c41f12b6faba35558673de91a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e90472fbe349eee7fbe24814bc49b17cb7f13e0f6a3ed786a9c4f78f9863a83318cfcf7cdf2bc496c10bf6614b73a614a9d4000f3cf08089aaed3cd2c29f5c74
|
7
|
+
data.tar.gz: 9486667443a803b4b0defd79e076cf7f536e809b7412d50d099cf71d456c8d990ec35ab2649d161cf0c1ab48a7c9f3d253cd0de9e0580226c1520983eb54e68e
|
data/Gemfile.lock
CHANGED
@@ -1,16 +1,26 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
omniauth-barong-oauth2 (1.0.
|
4
|
+
omniauth-barong-oauth2 (1.0.1)
|
5
|
+
activesupport (>= 4.0, < 6.0)
|
5
6
|
omniauth-oauth2 (~> 1.5)
|
6
7
|
|
7
8
|
GEM
|
8
9
|
remote: https://rubygems.org/
|
9
10
|
specs:
|
11
|
+
activesupport (5.2.1)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 0.7, < 2)
|
14
|
+
minitest (~> 5.1)
|
15
|
+
tzinfo (~> 1.1)
|
16
|
+
concurrent-ruby (1.0.5)
|
10
17
|
faraday (0.12.2)
|
11
18
|
multipart-post (>= 1.2, < 3)
|
12
19
|
hashie (3.5.7)
|
20
|
+
i18n (1.1.0)
|
21
|
+
concurrent-ruby (~> 1.0)
|
13
22
|
jwt (1.5.6)
|
23
|
+
minitest (5.11.3)
|
14
24
|
multi_json (1.13.1)
|
15
25
|
multi_xml (0.6.0)
|
16
26
|
multipart-post (2.0.0)
|
@@ -27,6 +37,9 @@ GEM
|
|
27
37
|
oauth2 (~> 1.1)
|
28
38
|
omniauth (~> 1.2)
|
29
39
|
rack (2.0.5)
|
40
|
+
thread_safe (0.3.6)
|
41
|
+
tzinfo (1.2.5)
|
42
|
+
thread_safe (~> 0.1)
|
30
43
|
|
31
44
|
PLATFORMS
|
32
45
|
ruby
|
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
require "omniauth-oauth2"
|
5
5
|
require "uri"
|
6
|
+
require "active_support/core_ext/object/deep_dup"
|
6
7
|
|
7
8
|
module OmniAuth::Strategies
|
8
9
|
class Barong < OAuth2
|
@@ -23,6 +24,8 @@ module OmniAuth::Strategies
|
|
23
24
|
|
24
25
|
uid { account.fetch("uid") }
|
25
26
|
|
27
|
+
info { account.deep_dup }
|
28
|
+
|
26
29
|
def account
|
27
30
|
@account ||= access_token.get(URI.join(root_url, options.account_path).to_s).parsed
|
28
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-barong-oauth2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yaroslav Konoplov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth2
|
@@ -24,6 +24,26 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.5'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: activesupport
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '4.0'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '6.0'
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '4.0'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '6.0'
|
27
47
|
- !ruby/object:Gem::Dependency
|
28
48
|
name: bundler
|
29
49
|
requirement: !ruby/object:Gem::Requirement
|