omniauth-zeuswpi 1.1.0 → 2.0.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/.tool-versions +1 -1
- data/Gemfile.lock +41 -21
- data/README.md +1 -1
- data/lib/omniauth/strategies/zeuswpi.rb +1 -1
- data/lib/omniauth/zeuswpi/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: acd3a50d37a9dc71057ead0b5eb229e3daa2eb6821c5bc57e2409620cac402a8
|
|
4
|
+
data.tar.gz: 1e8133c656c99f8d289597f160537801c526b56d4ca77cd1bc27cf338451d7c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9def09b45154fdfaa5cd65bdb4d23ae1dfa0b6176656d903653bfdfeabd3b2c80e37fe74896f527ca4ee726ecbeaf4605e54577a8c6b022affc05a1a46b3c5c
|
|
7
|
+
data.tar.gz: d7f914b0f56942e57789ef94fb16487c3ae93670d0481c58186974c070e04df0dded495fdd5df9af3f6c57bc1381fedaed544b56676f29594152c05dd8ffaf9e
|
data/.tool-versions
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby 3.
|
|
1
|
+
ruby 3.4.8
|
data/Gemfile.lock
CHANGED
|
@@ -1,39 +1,59 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
omniauth-zeuswpi (
|
|
4
|
+
omniauth-zeuswpi (2.0.0)
|
|
5
5
|
omniauth-oauth2 (~> 1.7.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
base64 (0.3.0)
|
|
11
|
+
bigdecimal (4.0.1)
|
|
12
|
+
faraday (2.14.0)
|
|
13
|
+
faraday-net_http (>= 2.0, < 3.5)
|
|
14
|
+
json
|
|
15
|
+
logger
|
|
16
|
+
faraday-net_http (3.4.2)
|
|
17
|
+
net-http (~> 0.5)
|
|
18
|
+
hashie (5.1.0)
|
|
19
|
+
logger
|
|
20
|
+
json (2.18.0)
|
|
21
|
+
jwt (3.1.2)
|
|
22
|
+
base64
|
|
23
|
+
logger (1.7.0)
|
|
24
|
+
multi_xml (0.8.1)
|
|
25
|
+
bigdecimal (>= 3.1, < 5)
|
|
26
|
+
net-http (0.9.1)
|
|
27
|
+
uri (>= 0.11.1)
|
|
28
|
+
oauth2 (2.0.18)
|
|
29
|
+
faraday (>= 0.17.3, < 4.0)
|
|
30
|
+
jwt (>= 1.0, < 4.0)
|
|
31
|
+
logger (~> 1.2)
|
|
22
32
|
multi_xml (~> 0.5)
|
|
23
|
-
rack (>= 1.2, <
|
|
24
|
-
|
|
33
|
+
rack (>= 1.2, < 4)
|
|
34
|
+
snaky_hash (~> 2.0, >= 2.0.3)
|
|
35
|
+
version_gem (~> 1.1, >= 1.1.9)
|
|
36
|
+
omniauth (2.1.4)
|
|
25
37
|
hashie (>= 3.4.6)
|
|
38
|
+
logger
|
|
26
39
|
rack (>= 2.2.3)
|
|
27
40
|
rack-protection
|
|
28
|
-
omniauth-oauth2 (1.7.
|
|
29
|
-
oauth2 (
|
|
41
|
+
omniauth-oauth2 (1.7.3)
|
|
42
|
+
oauth2 (>= 1.4, < 3)
|
|
30
43
|
omniauth (>= 1.9, < 3)
|
|
31
|
-
rack (
|
|
32
|
-
rack-protection (
|
|
33
|
-
|
|
34
|
-
|
|
44
|
+
rack (3.2.4)
|
|
45
|
+
rack-protection (4.2.1)
|
|
46
|
+
base64 (>= 0.1.0)
|
|
47
|
+
logger (>= 1.6.0)
|
|
48
|
+
rack (>= 3.0.0, < 4)
|
|
49
|
+
snaky_hash (2.0.3)
|
|
50
|
+
hashie (>= 0.1.0, < 6)
|
|
51
|
+
version_gem (>= 1.1.8, < 3)
|
|
52
|
+
uri (1.1.1)
|
|
53
|
+
version_gem (1.1.9)
|
|
35
54
|
|
|
36
55
|
PLATFORMS
|
|
56
|
+
arm64-darwin-24
|
|
37
57
|
x86_64-darwin-21
|
|
38
58
|
|
|
39
59
|
DEPENDENCIES
|
data/README.md
CHANGED
|
@@ -60,7 +60,7 @@ devise :omniauthable, omniauth_providers: %i[zeuswpi]
|
|
|
60
60
|
5. Add the `from_omniauth` helper to your `User` model:
|
|
61
61
|
```ruby
|
|
62
62
|
def self.from_omniauth(auth)
|
|
63
|
-
find_or_create_by!(
|
|
63
|
+
find_or_create_by!(uid: auth.uid) do |user|
|
|
64
64
|
# additional initialisation here
|
|
65
65
|
end
|
|
66
66
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: omniauth-zeuswpi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Naessens
|
|
8
8
|
- Zeus WPI
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: omniauth-oauth2
|
|
@@ -48,7 +47,6 @@ homepage: https://github.com/ZeusWPI/omniauth-zeuswpi
|
|
|
48
47
|
licenses:
|
|
49
48
|
- MIT
|
|
50
49
|
metadata: {}
|
|
51
|
-
post_install_message:
|
|
52
50
|
rdoc_options: []
|
|
53
51
|
require_paths:
|
|
54
52
|
- lib
|
|
@@ -63,8 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
63
61
|
- !ruby/object:Gem::Version
|
|
64
62
|
version: '0'
|
|
65
63
|
requirements: []
|
|
66
|
-
rubygems_version: 3.
|
|
67
|
-
signing_key:
|
|
64
|
+
rubygems_version: 3.6.9
|
|
68
65
|
specification_version: 4
|
|
69
66
|
summary: A Zeus WPI strategy for OmniAuth 1.x
|
|
70
67
|
test_files: []
|