omniauth-jwt2 0.1.0 → 0.1.1

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.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +62 -0
  4. data/CITATION.cff +20 -0
  5. data/CODE_OF_CONDUCT.md +134 -0
  6. data/CONTRIBUTING.md +272 -0
  7. data/FUNDING.md +74 -0
  8. data/LICENSE.md +17 -0
  9. data/README.md +500 -58
  10. data/RUBOCOP.md +71 -0
  11. data/SECURITY.md +21 -0
  12. data/certs/pboling.pem +27 -0
  13. data/lib/omniauth/jwt/version.rb +6 -3
  14. data/lib/omniauth/jwt.rb +2 -1
  15. data/lib/omniauth/jwt2/version.rb +10 -0
  16. data/lib/omniauth/jwt2.rb +10 -0
  17. data/lib/omniauth/strategies/jwt.rb +31 -9
  18. data/sig/omniauth/jwt/version.rbs +8 -0
  19. data/sig/omniauth/jwt2/version.rbs +8 -0
  20. data.tar.gz.sig +0 -0
  21. metadata +263 -58
  22. metadata.gz.sig +0 -0
  23. data/.github/FUNDING.yml +0 -11
  24. data/.github/dependabot.yml +0 -2
  25. data/.github/workflows/ancient.yml +0 -53
  26. data/.github/workflows/ci.yml +0 -59
  27. data/.github/workflows/coverage.yml +0 -91
  28. data/.github/workflows/legacy.yml +0 -54
  29. data/.github/workflows/style.yml +0 -43
  30. data/.gitignore +0 -18
  31. data/.rspec +0 -2
  32. data/.rubocop.yml +0 -2
  33. data/.rubocop_gradual.lock +0 -39
  34. data/.simplecov +0 -2
  35. data/.tool-versions +0 -1
  36. data/Gemfile +0 -17
  37. data/Guardfile +0 -8
  38. data/LICENSE.txt +0 -23
  39. data/Rakefile +0 -23
  40. data/gemfiles/ancient.gemfile +0 -20
  41. data/gemfiles/contexts/coverage.gemfile +0 -2
  42. data/gemfiles/contexts/debug.gemfile +0 -6
  43. data/gemfiles/contexts/style.gemfile +0 -5
  44. data/gemfiles/contexts/testing.gemfile +0 -8
  45. data/gemfiles/coverage.gemfile +0 -20
  46. data/gemfiles/legacy.gemfile +0 -26
  47. data/gemfiles/style.gemfile +0 -20
  48. data/gemfiles/vanilla.gemfile +0 -20
  49. data/omniauth-jwt2.gemspec +0 -41
  50. data/spec/lib/omniauth/strategies/jwt_spec.rb +0 -213
  51. data/spec/spec_helper.rb +0 -64
  52. data/spec/support/hash.rb +0 -9
  53. data/spec/support/next_instance_of.rb +0 -43
data/RUBOCOP.md ADDED
@@ -0,0 +1,71 @@
1
+ # RuboCop Usage Guide
2
+
3
+ ## Overview
4
+
5
+ A tale of two RuboCop plugin gems.
6
+
7
+ ### RuboCop Gradual
8
+
9
+ This project uses `rubocop_gradual` instead of vanilla RuboCop for code style checking. The `rubocop_gradual` tool allows for gradual adoption of RuboCop rules by tracking violations in a lock file.
10
+
11
+ ### RuboCop LTS
12
+
13
+ This project uses `rubocop-lts` to ensure, on a best-effort basis, compatibility with Ruby >= 1.9.2.
14
+ RuboCop rules are meticulously configured by the `rubocop-lts` family of gems to ensure that a project is compatible with a specific version of Ruby. See: https://rubocop-lts.gitlab.io for more.
15
+
16
+ ## Checking RuboCop Violations
17
+
18
+ To check for RuboCop violations in this project, always use:
19
+
20
+ ```bash
21
+ bundle exec rake rubocop_gradual:check
22
+ ```
23
+
24
+ **Do not use** the standard RuboCop commands like:
25
+ - `bundle exec rubocop`
26
+ - `rubocop`
27
+
28
+ ## Understanding the Lock File
29
+
30
+ The `.rubocop_gradual.lock` file tracks all current RuboCop violations in the project. This allows the team to:
31
+
32
+ 1. Prevent new violations while gradually fixing existing ones
33
+ 2. Track progress on code style improvements
34
+ 3. Ensure CI builds don't fail due to pre-existing violations
35
+
36
+ ## Common Commands
37
+
38
+ - **Check violations**
39
+ - `bundle exec rake rubocop_gradual`
40
+ - `bundle exec rake rubocop_gradual:check`
41
+ - **(Safe) Autocorrect violations, and update lockfile if no new violations**
42
+ - `bundle exec rake rubocop_gradual:autocorrect`
43
+ - **Force update the lock file (w/o autocorrect) to match violations present in code**
44
+ - `bundle exec rake rubocop_gradual:force_update`
45
+
46
+ ## Workflow
47
+
48
+ 1. Before submitting a PR, run `bundle exec rake rubocop_gradual:autocorrect`
49
+ a. or just the default `bundle exec rake`, as autocorrection is a pre-requisite of the default task.
50
+ 2. If there are new violations, either:
51
+ - Fix them in your code
52
+ - Run `bundle exec rake rubocop_gradual:force_update` to update the lock file (only for violations you can't fix immediately)
53
+ 3. Commit the updated `.rubocop_gradual.lock` file along with your changes
54
+
55
+ ## Never add inline RuboCop disables
56
+
57
+ Do not add inline `rubocop:disable` / `rubocop:enable` comments anywhere in the codebase (including specs, except when following the few existing `rubocop:disable` patterns for a rule already being disabled elsewhere in the code). We handle exceptions in two supported ways:
58
+
59
+ - Permanent/structural exceptions: prefer adjusting the RuboCop configuration (e.g., in `.rubocop.yml`) to exclude a rule for a path or file pattern when it makes sense project-wide.
60
+ - Temporary exceptions while improving code: record the current violations in `.rubocop_gradual.lock` via the gradual workflow:
61
+ - `bundle exec rake rubocop_gradual:autocorrect` (preferred; will autocorrect what it can and update the lock only if no new violations were introduced)
62
+ - If needed, `bundle exec rake rubocop_gradual:force_update` (as a last resort when you cannot fix the newly reported violations immediately)
63
+
64
+ In general, treat the rules as guidance to follow; fix violations rather than ignore them. For example, RSpec conventions in this project expect `described_class` to be used in specs that target a specific class under test.
65
+
66
+ ## Benefits of rubocop_gradual
67
+
68
+ - Allows incremental adoption of code style rules
69
+ - Prevents CI failures due to pre-existing violations
70
+ - Provides a clear record of code style debt
71
+ - Enables focused efforts on improving code quality over time
data/SECURITY.md ADDED
@@ -0,0 +1,21 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ | Version | Supported |
6
+ |----------|-----------|
7
+ | 0.latest | ✅ |
8
+
9
+ ## Security contact information
10
+
11
+ To report a security vulnerability, please use the
12
+ [Tidelift security contact](https://tidelift.com/security).
13
+ Tidelift will coordinate the fix and disclosure.
14
+
15
+ ## Additional Support
16
+
17
+ If you are interested in support for versions older than the latest release,
18
+ please consider sponsoring the project / maintainer @ https://liberapay.com/pboling/donate,
19
+ or find other sponsorship links in the [README].
20
+
21
+ [README]: README.md
data/certs/pboling.pem ADDED
@@ -0,0 +1,27 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
3
+ ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
4
+ A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
5
+ DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
6
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
7
+ uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
8
+ LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
9
+ mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
10
+ coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
11
+ FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
12
+ yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
13
+ to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
14
+ qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
15
+ fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
16
+ HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
17
+ A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
18
+ ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
19
+ wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
20
+ L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
21
+ GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
22
+ kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
23
+ QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
24
+ 0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
25
+ DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
26
+ L9nRqA==
27
+ -----END CERTIFICATE-----
@@ -1,7 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "../jwt2/version"
4
+
1
5
  module Omniauth
2
6
  module JWT
3
- module Version
4
- VERSION = "0.1.0"
5
- end
7
+ Version = JWT2::Version
8
+ VERSION = JWT2::VERSION
6
9
  end
7
10
  end
data/lib/omniauth/jwt.rb CHANGED
@@ -1,10 +1,11 @@
1
1
  # External gems
2
2
  require "version_gem"
3
+ require_relative "jwt/version"
3
4
 
4
5
  # This gem
5
6
  require "omniauth/jwt/version"
6
7
  require "omniauth/strategies/jwt"
7
8
 
8
- Omniauth::JWT::Version.class_eval do
9
+ Omniauth::JWT2::Version.class_eval do
9
10
  extend VersionGem::Basic
10
11
  end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Omniauth
4
+ module JWT2
5
+ module Version
6
+ VERSION = "0.1.1"
7
+ end
8
+ VERSION = Version::VERSION # Traditional Constant Location
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "version_gem"
4
+ require_relative "jwt2/version"
5
+
6
+ require_relative "jwt"
7
+
8
+ Omniauth::JWT2::Version.class_eval do
9
+ extend VersionGem::Basic
10
+ end
@@ -5,7 +5,6 @@ module OmniAuth
5
5
  module Strategies
6
6
  class JWT
7
7
  class ClaimInvalid < StandardError; end
8
-
9
8
  class BadJwt < StandardError; end
10
9
 
11
10
  include OmniAuth::Strategy
@@ -18,13 +17,13 @@ module OmniAuth
18
17
  option :algorithm, "HS256" # overridden by options.decode_options[:algorithms]
19
18
  option :decode_options, {}
20
19
  option :uid_claim, "email"
21
- option :required_claims, %w(name email)
20
+ option :required_claims, %w[name email]
22
21
  option :info_map, {name: "name", email: "email"}
23
22
  option :auth_url, nil
24
23
  option :valid_within, nil
25
24
 
26
25
  def request_phase
27
- redirect(options.auth_url)
26
+ redirect options.auth_url
28
27
  end
29
28
 
30
29
  def decoded
@@ -34,7 +33,7 @@ module OmniAuth
34
33
  when "RS256", "RS384", "RS512"
35
34
  OpenSSL::PKey::RSA.new(options.secret).public_key
36
35
  when "ES256", "ES384", "ES512"
37
- OpenSSL::PKey::EC.new(options.secret)
36
+ ec_key(options.secret)
38
37
  when "HS256", "HS384", "HS512"
39
38
  options.secret
40
39
  else
@@ -53,9 +52,9 @@ module OmniAuth
53
52
  options.decode_options.merge(
54
53
  {
55
54
  algorithms: default_algos,
56
- jwks: options.jwks_loader,
57
- }.delete_if { |_, v| v.nil? },
58
- ),
55
+ jwks: options.jwks_loader
56
+ }.delete_if { |_, v| v.nil? }
57
+ )
59
58
  )[0]
60
59
  rescue Exception => e
61
60
  raise BadJwt.new("#{e.class}: #{e.message}")
@@ -71,12 +70,35 @@ module OmniAuth
71
70
  @decoded
72
71
  end
73
72
 
73
+ def ec_key(secret)
74
+ key = if secret.is_a?(OpenSSL::PKey::EC)
75
+ secret
76
+ elsif OpenSSL::PKey.respond_to?(:read)
77
+ OpenSSL::PKey.read(secret)
78
+ else
79
+ OpenSSL::PKey::EC.new(secret)
80
+ end
81
+
82
+ ec_public_key(key)
83
+ end
84
+
85
+ def ec_public_key(key)
86
+ return key unless key.respond_to?(:private?)
87
+ return key unless key.private?
88
+
89
+ public_key = OpenSSL::PKey::EC.new(key.group)
90
+ public_key.public_key = key.public_key
91
+ public_key
92
+ rescue OpenSSL::PKey::PKeyError
93
+ key
94
+ end
95
+
74
96
  def callback_phase
75
97
  super
76
98
  rescue BadJwt => e
77
- fail!("bad_jwt", e)
99
+ fail! "bad_jwt", e
78
100
  rescue ClaimInvalid => e
79
- fail!(:claim_invalid, e)
101
+ fail! :claim_invalid, e
80
102
  end
81
103
 
82
104
  uid { decoded[options.uid_claim] }
@@ -0,0 +1,8 @@
1
+ module Omniauth
2
+ module JWT
3
+ module Version
4
+ VERSION: String
5
+ end
6
+ VERSION: String
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ module Omniauth
2
+ module JWT2
3
+ module Version
4
+ VERSION: String
5
+ end
6
+ VERSION: String
7
+ end
8
+ end
data.tar.gz.sig ADDED
Binary file
metadata CHANGED
@@ -1,16 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-jwt2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Bleigh
8
8
  - Robin Ward
9
9
  - Peter Boling
10
- autorequire:
11
- bindir: bin
12
- cert_chain: []
13
- date: 2023-12-07 00:00:00.000000000 Z
10
+ bindir: exe
11
+ cert_chain:
12
+ - |
13
+ -----BEGIN CERTIFICATE-----
14
+ MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
15
+ ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
16
+ A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
17
+ DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
18
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
19
+ uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
20
+ LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
21
+ mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
22
+ coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
23
+ FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
24
+ yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
25
+ to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
26
+ qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
27
+ fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
28
+ HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
29
+ A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
30
+ ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
31
+ wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
32
+ L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
33
+ GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
34
+ kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
35
+ QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
36
+ 0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
37
+ DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
38
+ L9nRqA==
39
+ -----END CERTIFICATE-----
40
+ date: 1980-01-02 00:00:00.000000000 Z
14
41
  dependencies:
15
42
  - !ruby/object:Gem::Dependency
16
43
  name: jwt
@@ -55,7 +82,7 @@ dependencies:
55
82
  version: '1.1'
56
83
  - - ">="
57
84
  - !ruby/object:Gem::Version
58
- version: 1.1.3
85
+ version: 1.1.12
59
86
  type: :runtime
60
87
  prerelease: false
61
88
  version_requirements: !ruby/object:Gem::Requirement
@@ -65,7 +92,41 @@ dependencies:
65
92
  version: '1.1'
66
93
  - - ">="
67
94
  - !ruby/object:Gem::Version
68
- version: 1.1.3
95
+ version: 1.1.12
96
+ - !ruby/object:Gem::Dependency
97
+ name: kettle-dev
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '2.2'
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: 2.2.9
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - "~>"
111
+ - !ruby/object:Gem::Version
112
+ version: '2.2'
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: 2.2.9
116
+ - !ruby/object:Gem::Dependency
117
+ name: bundler-audit
118
+ requirement: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - "~>"
121
+ - !ruby/object:Gem::Version
122
+ version: 0.9.3
123
+ type: :development
124
+ prerelease: false
125
+ version_requirements: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: 0.9.3
69
130
  - !ruby/object:Gem::Dependency
70
131
  name: rake
71
132
  requirement: !ruby/object:Gem::Requirement
@@ -81,45 +142,181 @@ dependencies:
81
142
  - !ruby/object:Gem::Version
82
143
  version: '13.0'
83
144
  - !ruby/object:Gem::Dependency
84
- name: guard
145
+ name: require_bench
85
146
  requirement: !ruby/object:Gem::Requirement
86
147
  requirements:
87
148
  - - "~>"
88
149
  - !ruby/object:Gem::Version
89
- version: '2.18'
150
+ version: '1.0'
90
151
  - - ">="
91
152
  - !ruby/object:Gem::Version
92
- version: 2.18.1
153
+ version: 1.0.4
93
154
  type: :development
94
155
  prerelease: false
95
156
  version_requirements: !ruby/object:Gem::Requirement
96
157
  requirements:
97
158
  - - "~>"
98
159
  - !ruby/object:Gem::Version
99
- version: '2.18'
160
+ version: '1.0'
100
161
  - - ">="
101
162
  - !ruby/object:Gem::Version
102
- version: 2.18.1
163
+ version: 1.0.4
103
164
  - !ruby/object:Gem::Dependency
104
- name: guard-rspec
165
+ name: appraisal2
166
+ requirement: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - "~>"
169
+ - !ruby/object:Gem::Version
170
+ version: '3.1'
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: 3.1.2
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '3.1'
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: 3.1.2
184
+ - !ruby/object:Gem::Dependency
185
+ name: kettle-test
186
+ requirement: !ruby/object:Gem::Requirement
187
+ requirements:
188
+ - - "~>"
189
+ - !ruby/object:Gem::Version
190
+ version: '2.0'
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: 2.0.5
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: '2.0'
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: 2.0.5
204
+ - !ruby/object:Gem::Dependency
205
+ name: rack-session
206
+ requirement: !ruby/object:Gem::Requirement
207
+ requirements:
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ version: '0'
211
+ type: :development
212
+ prerelease: false
213
+ version_requirements: !ruby/object:Gem::Requirement
214
+ requirements:
215
+ - - ">="
216
+ - !ruby/object:Gem::Version
217
+ version: '0'
218
+ - !ruby/object:Gem::Dependency
219
+ name: turbo_tests2
105
220
  requirement: !ruby/object:Gem::Requirement
106
221
  requirements:
107
222
  - - "~>"
108
223
  - !ruby/object:Gem::Version
109
- version: '4.7'
224
+ version: '3.1'
110
225
  - - ">="
111
226
  - !ruby/object:Gem::Version
112
- version: 4.7.3
227
+ version: 3.1.3
113
228
  type: :development
114
229
  prerelease: false
115
230
  version_requirements: !ruby/object:Gem::Requirement
116
231
  requirements:
117
232
  - - "~>"
118
233
  - !ruby/object:Gem::Version
119
- version: '4.7'
234
+ version: '3.1'
120
235
  - - ">="
121
236
  - !ruby/object:Gem::Version
122
- version: 4.7.3
237
+ version: 3.1.3
238
+ - !ruby/object:Gem::Dependency
239
+ name: ruby-progressbar
240
+ requirement: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - "~>"
243
+ - !ruby/object:Gem::Version
244
+ version: '1.13'
245
+ type: :development
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - "~>"
250
+ - !ruby/object:Gem::Version
251
+ version: '1.13'
252
+ - !ruby/object:Gem::Dependency
253
+ name: stone_checksums
254
+ requirement: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - "~>"
257
+ - !ruby/object:Gem::Version
258
+ version: '1.0'
259
+ - - ">="
260
+ - !ruby/object:Gem::Version
261
+ version: 1.0.3
262
+ type: :development
263
+ prerelease: false
264
+ version_requirements: !ruby/object:Gem::Requirement
265
+ requirements:
266
+ - - "~>"
267
+ - !ruby/object:Gem::Version
268
+ version: '1.0'
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: 1.0.3
272
+ - !ruby/object:Gem::Dependency
273
+ name: gitmoji-regex
274
+ requirement: !ruby/object:Gem::Requirement
275
+ requirements:
276
+ - - "~>"
277
+ - !ruby/object:Gem::Version
278
+ version: '2.0'
279
+ - - ">="
280
+ - !ruby/object:Gem::Version
281
+ version: 2.0.2
282
+ type: :development
283
+ prerelease: false
284
+ version_requirements: !ruby/object:Gem::Requirement
285
+ requirements:
286
+ - - "~>"
287
+ - !ruby/object:Gem::Version
288
+ version: '2.0'
289
+ - - ">="
290
+ - !ruby/object:Gem::Version
291
+ version: 2.0.2
292
+ - !ruby/object:Gem::Dependency
293
+ name: guard
294
+ requirement: !ruby/object:Gem::Requirement
295
+ requirements:
296
+ - - ">="
297
+ - !ruby/object:Gem::Version
298
+ version: '0'
299
+ type: :development
300
+ prerelease: false
301
+ version_requirements: !ruby/object:Gem::Requirement
302
+ requirements:
303
+ - - ">="
304
+ - !ruby/object:Gem::Version
305
+ version: '0'
306
+ - !ruby/object:Gem::Dependency
307
+ name: guard-rspec
308
+ requirement: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - ">="
311
+ - !ruby/object:Gem::Version
312
+ version: '0'
313
+ type: :development
314
+ prerelease: false
315
+ version_requirements: !ruby/object:Gem::Requirement
316
+ requirements:
317
+ - - ">="
318
+ - !ruby/object:Gem::Version
319
+ version: '0'
123
320
  - !ruby/object:Gem::Dependency
124
321
  name: rack-test
125
322
  requirement: !ruby/object:Gem::Requirement
@@ -162,56 +359,65 @@ dependencies:
162
359
  - - "~>"
163
360
  - !ruby/object:Gem::Version
164
361
  version: '0.1'
165
- description: An OmniAuth strategy to accept JWT-based single sign-on.
362
+ description: "\U0001F510 An OmniAuth strategy to accept JWT-based single sign-on."
166
363
  email:
167
364
  - mbleigh@mbleigh.com
168
365
  - robin.ward@gmail.com
169
- - peter.boling@gmail.com
366
+ - floss@galtzo.com
170
367
  executables: []
171
368
  extensions: []
172
- extra_rdoc_files: []
369
+ extra_rdoc_files:
370
+ - CHANGELOG.md
371
+ - CITATION.cff
372
+ - CODE_OF_CONDUCT.md
373
+ - CONTRIBUTING.md
374
+ - FUNDING.md
375
+ - LICENSE.md
376
+ - README.md
377
+ - RUBOCOP.md
378
+ - SECURITY.md
173
379
  files:
174
- - ".github/FUNDING.yml"
175
- - ".github/dependabot.yml"
176
- - ".github/workflows/ancient.yml"
177
- - ".github/workflows/ci.yml"
178
- - ".github/workflows/coverage.yml"
179
- - ".github/workflows/legacy.yml"
180
- - ".github/workflows/style.yml"
181
- - ".gitignore"
182
- - ".rspec"
183
- - ".rubocop.yml"
184
- - ".rubocop_gradual.lock"
185
- - ".simplecov"
186
- - ".tool-versions"
187
- - Gemfile
188
- - Guardfile
189
- - LICENSE.txt
380
+ - CHANGELOG.md
381
+ - CITATION.cff
382
+ - CODE_OF_CONDUCT.md
383
+ - CONTRIBUTING.md
384
+ - FUNDING.md
385
+ - LICENSE.md
190
386
  - README.md
191
- - Rakefile
192
- - gemfiles/ancient.gemfile
193
- - gemfiles/contexts/coverage.gemfile
194
- - gemfiles/contexts/debug.gemfile
195
- - gemfiles/contexts/style.gemfile
196
- - gemfiles/contexts/testing.gemfile
197
- - gemfiles/coverage.gemfile
198
- - gemfiles/legacy.gemfile
199
- - gemfiles/style.gemfile
200
- - gemfiles/vanilla.gemfile
387
+ - RUBOCOP.md
388
+ - SECURITY.md
389
+ - certs/pboling.pem
201
390
  - lib/omniauth/jwt.rb
202
391
  - lib/omniauth/jwt/version.rb
392
+ - lib/omniauth/jwt2.rb
393
+ - lib/omniauth/jwt2/version.rb
203
394
  - lib/omniauth/strategies/jwt.rb
204
- - omniauth-jwt2.gemspec
205
- - spec/lib/omniauth/strategies/jwt_spec.rb
206
- - spec/spec_helper.rb
207
- - spec/support/hash.rb
208
- - spec/support/next_instance_of.rb
209
- homepage: http://github.com/pboling/omniauth-jwt2
395
+ - sig/omniauth/jwt/version.rbs
396
+ - sig/omniauth/jwt2/version.rbs
397
+ homepage: https://github.com/omniauth/omniauth-jwt2
210
398
  licenses:
211
399
  - MIT
212
- metadata: {}
213
- post_install_message:
214
- rdoc_options: []
400
+ metadata:
401
+ homepage_uri: https://omniauth-jwt2.galtzo.com
402
+ source_code_uri: https://github.com/omniauth/omniauth-jwt2/tree/v0.1.1
403
+ changelog_uri: https://github.com/omniauth/omniauth-jwt2/blob/v0.1.1/CHANGELOG.md
404
+ bug_tracker_uri: https://github.com/omniauth/omniauth-jwt2/issues
405
+ documentation_uri: https://www.rubydoc.info/gems/omniauth-jwt2/0.1.1
406
+ funding_uri: https://github.com/sponsors/pboling
407
+ wiki_uri: https://github.com/omniauth/omniauth-jwt2/wiki
408
+ news_uri: https://www.railsbling.com/tags/omniauth-jwt2
409
+ discord_uri: https://discord.gg/3qme4XHNKN
410
+ rubygems_mfa_required: 'true'
411
+ rdoc_options:
412
+ - "--title"
413
+ - "omniauth-jwt2 - \U0001F510 An OmniAuth strategy to accept JWT-based single sign-on."
414
+ - "--main"
415
+ - README.md
416
+ - "--exclude"
417
+ - "^sig/"
418
+ - "--line-numbers"
419
+ - "--inline-source"
420
+ - "--quiet"
215
421
  require_paths:
216
422
  - lib
217
423
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -225,8 +431,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
431
  - !ruby/object:Gem::Version
226
432
  version: '0'
227
433
  requirements: []
228
- rubygems_version: 3.4.22
229
- signing_key:
434
+ rubygems_version: 4.0.10
230
435
  specification_version: 4
231
- summary: An OmniAuth strategy to accept JWT-based single sign-on.
436
+ summary: "\U0001F510 An OmniAuth strategy to accept JWT-based single sign-on."
232
437
  test_files: []
metadata.gz.sig ADDED
Binary file