omniauth-whalespace 0.2.0 → 0.3.0
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 +4 -4
- data/Gemfile.lock +23 -16
- data/lib/omniauth/strategies/whalespace.rb +3 -3
- data/lib/omniauth/whalespace/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c90aa327c07b64575cdc165a538ac6a1444ca181300d6ab049dad6b9845f2337
|
|
4
|
+
data.tar.gz: f1ff2ea6e9f27f4d578b5374183d8d377960a6ae6396cb17a4aad765cca87de0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 56382ca98e241f3948e5df23c807eee8901054000147c63a0f5dfdec9a4de0ebe2b22bbc212cf0427cd18658488be105181e1b578f323c86ec4ad9f277d086e1
|
|
7
|
+
data.tar.gz: 8ba66a8dbccabaffc0853c4bee70e525e97912d03849e964666be8f181bddade76ba4bb3df305000eb63b62367ca3169a4635d8b595b0cbf278f71bad74fb026
|
data/Gemfile.lock
CHANGED
|
@@ -1,39 +1,42 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
omniauth-whalespace (0.
|
|
4
|
+
omniauth-whalespace (0.3.0)
|
|
5
5
|
omniauth-oauth2 (~> 1.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
10
|
ast (2.4.2)
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
base64 (0.2.0)
|
|
12
|
+
faraday (2.8.1)
|
|
13
|
+
base64
|
|
14
|
+
faraday-net_http (>= 2.0, < 3.1)
|
|
13
15
|
ruby2_keywords (>= 0.0.4)
|
|
14
|
-
faraday-net_http (
|
|
16
|
+
faraday-net_http (3.0.2)
|
|
15
17
|
hashie (5.0.0)
|
|
16
|
-
jwt (2.
|
|
17
|
-
|
|
18
|
+
jwt (2.8.2)
|
|
19
|
+
base64
|
|
18
20
|
multi_xml (0.6.0)
|
|
19
|
-
oauth2 (
|
|
21
|
+
oauth2 (2.0.9)
|
|
20
22
|
faraday (>= 0.17.3, < 3.0)
|
|
21
23
|
jwt (>= 1.0, < 3.0)
|
|
22
|
-
multi_json (~> 1.3)
|
|
23
24
|
multi_xml (~> 0.5)
|
|
24
|
-
rack (>= 1.2, <
|
|
25
|
-
|
|
25
|
+
rack (>= 1.2, < 4)
|
|
26
|
+
snaky_hash (~> 2.0)
|
|
27
|
+
version_gem (~> 1.1)
|
|
28
|
+
omniauth (2.1.2)
|
|
26
29
|
hashie (>= 3.4.6)
|
|
27
|
-
rack (>=
|
|
30
|
+
rack (>= 2.2.3)
|
|
28
31
|
rack-protection
|
|
29
|
-
omniauth-oauth2 (1.
|
|
30
|
-
oauth2 (
|
|
31
|
-
omniauth (
|
|
32
|
+
omniauth-oauth2 (1.8.0)
|
|
33
|
+
oauth2 (>= 1.4, < 3)
|
|
34
|
+
omniauth (~> 2.0)
|
|
32
35
|
parallel (1.22.0)
|
|
33
36
|
parser (3.1.1.0)
|
|
34
37
|
ast (~> 2.4.1)
|
|
35
|
-
rack (
|
|
36
|
-
rack-protection (
|
|
38
|
+
rack (3.1.7)
|
|
39
|
+
rack-protection (3.0.6)
|
|
37
40
|
rack
|
|
38
41
|
rainbow (3.1.1)
|
|
39
42
|
rake (13.0.6)
|
|
@@ -52,7 +55,11 @@ GEM
|
|
|
52
55
|
parser (>= 3.1.1.0)
|
|
53
56
|
ruby-progressbar (1.11.0)
|
|
54
57
|
ruby2_keywords (0.0.5)
|
|
58
|
+
snaky_hash (2.0.1)
|
|
59
|
+
hashie
|
|
60
|
+
version_gem (~> 1.1, >= 1.1.1)
|
|
55
61
|
unicode-display_width (2.1.0)
|
|
62
|
+
version_gem (1.1.4)
|
|
56
63
|
|
|
57
64
|
PLATFORMS
|
|
58
65
|
x86_64-linux
|
|
@@ -8,8 +8,8 @@ module OmniAuth
|
|
|
8
8
|
option :name, "whalespace"
|
|
9
9
|
option :client_options,
|
|
10
10
|
site: "https://auth.whalespace.io",
|
|
11
|
-
authorize_url: "https://auth.whalespace.io/oauth2/v1/authorize",
|
|
12
|
-
token_url: "oauth2/v1/token"
|
|
11
|
+
authorize_url: "https://auth.whalespace.io/oauth2/v1.1/authorize",
|
|
12
|
+
token_url: "oauth2/v1.1/token"
|
|
13
13
|
|
|
14
14
|
uid do
|
|
15
15
|
raw_info["sid"]
|
|
@@ -28,7 +28,7 @@ module OmniAuth
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def raw_info
|
|
31
|
-
@raw_info ||= access_token.get("https://api.whalespace.io/oauth2/v1/userinfo").parsed
|
|
31
|
+
@raw_info ||= access_token.get("https://api.whalespace.io/oauth2/v1.1/userinfo").parsed
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-whalespace
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 이창환
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: omniauth-oauth2
|
|
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
64
64
|
- !ruby/object:Gem::Version
|
|
65
65
|
version: '0'
|
|
66
66
|
requirements: []
|
|
67
|
-
rubygems_version: 3.
|
|
67
|
+
rubygems_version: 3.4.3
|
|
68
68
|
signing_key:
|
|
69
69
|
specification_version: 4
|
|
70
70
|
summary: Whalespace OAuth2 Strategy for OmniAuth
|