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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3047793de70a726eda03f7557cadedc1ed1e71f74a7445b4983792fb7803d22d
4
- data.tar.gz: 3648312903e7bd536a85eaad13b442975ef01de0277594d9b1556a7a38ac28a5
3
+ metadata.gz: acd3a50d37a9dc71057ead0b5eb229e3daa2eb6821c5bc57e2409620cac402a8
4
+ data.tar.gz: 1e8133c656c99f8d289597f160537801c526b56d4ca77cd1bc27cf338451d7c7
5
5
  SHA512:
6
- metadata.gz: 6bc6a0d28bee8556d9e2f26f558b2e15c98e9169bea6aef5c7876241fcf42ae21528e64612e0693218811af8145e5b411994762b50ef432af097933166edf952
7
- data.tar.gz: 26c0f4043c9857840a183cc308da78c437b85d83f87fa2c35a4e5c80223cc52e62872db206ac66774934d2b368143ef7e0b5ab67096ced015283a5ccbaf8a3c2
6
+ metadata.gz: e9def09b45154fdfaa5cd65bdb4d23ae1dfa0b6176656d903653bfdfeabd3b2c80e37fe74896f527ca4ee726ecbeaf4605e54577a8c6b022affc05a1a46b3c5c
7
+ data.tar.gz: d7f914b0f56942e57789ef94fb16487c3ae93670d0481c58186974c070e04df0dded495fdd5df9af3f6c57bc1381fedaed544b56676f29594152c05dd8ffaf9e
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.3.7
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 (1.0.0)
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
- faraday (2.3.0)
11
- faraday-net_http (~> 2.0)
12
- ruby2_keywords (>= 0.0.4)
13
- faraday-net_http (2.0.3)
14
- hashie (5.0.0)
15
- jwt (2.3.0)
16
- multi_json (1.15.0)
17
- multi_xml (0.6.0)
18
- oauth2 (1.4.9)
19
- faraday (>= 0.17.3, < 3.0)
20
- jwt (>= 1.0, < 3.0)
21
- multi_json (~> 1.3)
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, < 3)
24
- omniauth (2.1.0)
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.2)
29
- oauth2 (~> 1.4)
41
+ omniauth-oauth2 (1.7.3)
42
+ oauth2 (>= 1.4, < 3)
30
43
  omniauth (>= 1.9, < 3)
31
- rack (2.2.3)
32
- rack-protection (2.2.0)
33
- rack
34
- ruby2_keywords (0.0.5)
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!(name: auth.uid) do |user|
63
+ find_or_create_by!(uid: auth.uid) do |user|
64
64
  # additional initialisation here
65
65
  end
66
66
  end
@@ -25,7 +25,7 @@ module OmniAuth
25
25
  # additional calls (if the user id is returned with the token
26
26
  # or as a URI parameter). This may not be possible with all
27
27
  # providers.
28
- uid { raw_info['username'] }
28
+ uid { raw_info['id'] }
29
29
 
30
30
  extra do
31
31
  {
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module ZeusWPI
5
- VERSION = '1.1.0'
5
+ VERSION = '2.0.0'
6
6
  end
7
7
  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: 1.1.0
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: 2025-02-16 00:00:00.000000000 Z
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.5.22
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: []