oauth2 2.0.23 → 2.0.24

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: 01151dc8f48c49a5a925098de896b74bca26c0791d4667f9f87edd6329a5c8ab
4
- data.tar.gz: d49ddb0357387cf39b3cd961e4c4747328f8b8495081efc9f65389bb7187cc79
3
+ metadata.gz: 6a0de4e6399834238562b52bb7e5c00550453118dfd111cb4bdc58de0e9e6657
4
+ data.tar.gz: d61082265dbbd08a4554d475fd7b9980f2beeae912e218191911db5dc12e55d5
5
5
  SHA512:
6
- metadata.gz: 45cab4b58795551fd1e0b827b5ee8e155ae741a5af983f1f777926cac677eeeea89f9220d1fd478e2529632e01d27291da0c37e6ef6c7e88771dc8f4a1affefd
7
- data.tar.gz: 981305491fe56a81552efcc9d9719313e159f8d4f2251fe3a0753637c0958509fdb99bdbc46f2202b7b938f1bb7e6b827bb08213eb467d0fb2e8704435e0c647
6
+ metadata.gz: 9a8cfb81304f9337ea276cbda2741e9d808885b0b301e55dfb9f76fa0f835f636c97e9ab29a896cc4b17e3801c3b9eacca33b520f77d94fe1b67eb9f39c23751
7
+ data.tar.gz: 93a8e651d24279a9f13b7bc267a19210830d9ed5fb33c79dcb820d998de55b89c4b6a241667945466f7782a11fcf3b3bae00156a697f02505e5a7ac0f3ddeec4
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,26 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [2.0.24] - 2026-06-18
34
+
35
+ - TAG: [v2.0.24][2.0.24t]
36
+ - COVERAGE: 100.00% -- 558/558 lines in 15 files
37
+ - BRANCH COVERAGE: 97.89% -- 186/190 branches in 15 files
38
+ - 88.35% documented
39
+
40
+ ### Changed
41
+
42
+ - Raised the `anonymous_loader` runtime dependency floor to `>= 0.1.1`.
43
+ - Raised the `auth-sanitizer` runtime dependency floor to `>= 0.2.2` and
44
+ switched isolated sanitizer loading to the released `anonymous_loader` gem,
45
+ including local workspace wiring for the new runtime dependency.
46
+
47
+ ### Fixed
48
+
49
+ - Fixed isolated `auth-sanitizer` loading when Bundler standalone setup makes
50
+ `auth_sanitizer/loader.rb` available on `$LOAD_PATH` without adding
51
+ `auth-sanitizer` to `Gem.loaded_specs` or `GEM_PATH`.
52
+
33
53
  ## [2.0.23] - 2026-06-13
34
54
 
35
55
  - TAG: [v2.0.23][2.0.23t]
@@ -90,7 +110,9 @@ Please file a bug if you notice a violation of semantic versioning.
90
110
  ### Changed
91
111
 
92
112
  - Raised generated `version_gem` dependency floor to `version_gem` >= 1.1.10 - by @pboling
93
- - Raised the runtime dependency floor for `auth-sanitizer` to `>= 0.2.1` - by @pboling
113
+ - Raised the runtime dependency floor for `auth-sanitizer` to `>= 0.2.1` so
114
+ OAuth2 consumers get hash and nested-attribute inspect redaction fixes plus
115
+ downstream RBS duplicate-declaration fixes - by @pboling
94
116
  - Refreshed generated package metadata, support documentation, CI workflows,
95
117
  and development dependency floors from the current kettle-jem template - by @pboling
96
118
  - Documented the current per-version Ruby, JRuby, and TruffleRuby CI matrix in
@@ -886,7 +908,9 @@ Please file a bug if you notice a violation of semantic versioning.
886
908
 
887
909
  [gemfiles/readme]: gemfiles/README.md
888
910
 
889
- [Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.23...HEAD
911
+ [Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.24...HEAD
912
+ [2.0.24]: https://github.com/ruby-oauth/oauth2/compare/v2.0.23...v2.0.24
913
+ [2.0.24t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.24
890
914
  [2.0.23]: https://github.com/ruby-oauth/oauth2/compare/v2.0.22...v2.0.23
891
915
  [2.0.23t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.23
892
916
  [2.0.22]: https://github.com/ruby-oauth/oauth2/compare/v2.0.21...v2.0.22
data/CONTRIBUTING.md CHANGED
@@ -109,14 +109,14 @@ Git diff driver setup
109
109
  - Git hosting forges generally ignore external diff drivers, so pull request views may still show raw textual diffs even when local `git diff` uses semantic drivers.
110
110
 
111
111
  ```console
112
- K_JEM_TEMPLATING=true bundle exec kettle-jem install
112
+ K_JEM_TEMPLATING=true kettle-jem install
113
113
  ```
114
114
 
115
115
  Troubleshooting Git diffs
116
116
  - Use `git diff --no-ext-diff` to compare against Git's built-in diff output.
117
117
  - Use `git diff --no-textconv` when a textconv projection obscures the raw file bytes you need to inspect.
118
118
  - If Git reports a missing `smorg-*` executable, rerun `bundle install` and the setup command above, then check `git config --local --get-regexp '^diff\.smorg-'`.
119
- - To remove managed local entries, run `K_JEM_TEMPLATING=true bundle exec kettle-jem install --undo`; remove global command registrations with `git config --global --unset-all diff.smorg-ruby.command`.
119
+ - To remove managed local entries, run `K_JEM_TEMPLATING=true kettle-jem install --undo`; remove global command registrations with `git config --global --unset-all diff.smorg-ruby.command`.
120
120
 
121
121
  For a quick starting point, this repository’s `mise.toml` defines the shared defaults, and `.env.local` can override them locally. Copy `.env.local.example` to `.env.local`, use `KEY=value` lines, and either activate `mise` in your shell or run commands through `mise exec -C /path/to/project -- ...`.
122
122
 
data/README.md CHANGED
@@ -171,9 +171,22 @@ This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
171
171
  may be higher than the gem's runtime compatibility floor when legacy Rubies are
172
172
  not practical for the current toolchain.
173
173
 
174
- | 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 and the color 💚 green 💚 |
175
- |------------------------------------------------|--------------------------------------------------------|
176
- | 👟 Check it out! | ✨ [github.com/appraisal-rb/appraisal2][💎appraisal2] ✨ |
174
+ | 🚚 _Amazing_ test matrix was brought to you by | The Kettle dev/test stack |
175
+ |------------------------------------------------|---------------------------|
176
+
177
+ <details>
178
+ <summary>How We Manage Complexity In Tests</summary>
179
+
180
+ | Gem | Source | Role | Daily download rank |
181
+ |-----|--------|------|---------------------|
182
+ | [appraisal2](https://bestgems.org/gems/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [![Daily download rank for appraisal2](https://img.shields.io/gem/rd/appraisal2.svg?style=flat-square)](https://bestgems.org/gems/appraisal2) |
183
+ | [appraisal2-rubocop](https://bestgems.org/gems/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [![Daily download rank for appraisal2-rubocop](https://img.shields.io/gem/rd/appraisal2-rubocop.svg?style=flat-square)](https://bestgems.org/gems/appraisal2-rubocop) |
184
+ | [turbo_tests2](https://bestgems.org/gems/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [![Daily download rank for turbo_tests2](https://img.shields.io/gem/rd/turbo_tests2.svg?style=flat-square)](https://bestgems.org/gems/turbo_tests2) |
185
+ | [kettle-test](https://bestgems.org/gems/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [![Daily download rank for kettle-test](https://img.shields.io/gem/rd/kettle-test.svg?style=flat-square)](https://bestgems.org/gems/kettle-test) |
186
+ | [kettle-soup-cover](https://bestgems.org/gems/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [![Daily download rank for kettle-soup-cover](https://img.shields.io/gem/rd/kettle-soup-cover.svg?style=flat-square)](https://bestgems.org/gems/kettle-soup-cover) |
187
+ | [rubocop-lts](https://bestgems.org/gems/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [![Daily download rank for rubocop-lts](https://img.shields.io/gem/rd/rubocop-lts.svg?style=flat-square)](https://bestgems.org/gems/rubocop-lts) |
188
+
189
+ </details>
177
190
 
178
191
  ### Federated DVCS
179
192
 
@@ -660,9 +673,13 @@ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day
660
673
 
661
674
  <!-- OPENCOLLECTIVE-ORGANIZATIONS:START -->
662
675
  No sponsors yet. Be the first!
676
+
677
+ ### Open Collective for Donors
678
+
679
+ [Bill Woika](https://opencollective.com/bill-woika) [Philipp Ebneter](https://opencollective.com/guest-e77282f7) [Grigoriy](https://opencollective.com/guest-c93e0c48)
663
680
  <!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
664
681
 
665
- [kettle-readme-backers]: https://github.com/ruby-oauth/oauth2/blob/main/exe/kettle-readme-backers
682
+ [kettle-readme-backers]: https://github.com/ruby-oauth/oauth2/blob/main/bin/kettle-readme-backers
666
683
 
667
684
  ### Another way to support open-source
668
685
 
@@ -1087,7 +1104,7 @@ Thanks for RTFM. ☺️
1087
1104
  [📌gitmoji]: https://gitmoji.dev
1088
1105
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
1089
1106
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
1090
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.562-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1107
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.558-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1091
1108
  [🔐security]: https://github.com/ruby-oauth/oauth2/blob/main/SECURITY.md
1092
1109
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
1093
1110
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -1115,7 +1132,7 @@ Thanks for RTFM. ☺️
1115
1132
  | Package | oauth2 |
1116
1133
  | Description | 🔐 A Ruby wrapper for the OAuth 2.0 Authorization Framework, including the OAuth 2.1 draft spec, and OpenID Connect (OIDC) |
1117
1134
  | Homepage | https://github.com/ruby-oauth/oauth2 |
1118
- | Source | https://github.com/ruby-oauth/oauth2/tree/v2.0.23 |
1135
+ | Source | https://github.com/ruby-oauth/oauth2 |
1119
1136
  | License | `MIT` |
1120
1137
  | Funding | https://github.com/sponsors/pboling, https://issuehunt.io/u/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/ruby-oauth, https://patreon.com/galtzo, https://polar.sh/pboling, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/oauth2, https://www.buymeacoffee.com/pboling |
1121
1138
  <!-- kettle-jem:metadata:end -->
@@ -1,31 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "anonymous_loader"
4
+
3
5
  module OAuth2
4
6
  AUTH_SANITIZER = begin
5
- auth_sanitizer_requirement = Gem::Requirement.new("~> 0.2", ">= 0.2.1")
6
- auth_sanitizer_spec = Gem.loaded_specs["auth-sanitizer"]
7
- unless auth_sanitizer_spec && auth_sanitizer_requirement.satisfied_by?(auth_sanitizer_spec.version)
8
- # :nocov:
9
- auth_sanitizer_spec = Gem::Specification.find_by_name("auth-sanitizer", auth_sanitizer_requirement)
10
- # :nocov:
11
- end
12
-
13
- auth_sanitizer_loader_path = File.join(
14
- auth_sanitizer_spec.full_gem_path,
15
- "lib/auth_sanitizer/loader.rb"
16
- )
17
- unless File.file?(auth_sanitizer_loader_path)
18
- # :nocov:
19
- raise LoadError, "oauth2 requires auth-sanitizer #{auth_sanitizer_requirement}; " \
20
- "loader not found at #{auth_sanitizer_loader_path}"
21
- # :nocov:
22
- end
23
-
24
- auth_sanitizer_loader_namespace = Module.new
25
- auth_sanitizer_loader_namespace.module_eval(
26
- File.read(auth_sanitizer_loader_path),
27
- auth_sanitizer_loader_path,
28
- 1
7
+ auth_sanitizer_requirement = Gem::Requirement.new("~> 0.2", ">= 0.2.2")
8
+ auth_sanitizer_loader_namespace = AnonymousLoader.load_path(
9
+ gem_name: "auth-sanitizer",
10
+ require_path: "auth_sanitizer/loader.rb",
11
+ version_requirement: auth_sanitizer_requirement,
12
+ version_file: "auth/sanitizer/version.rb"
29
13
  )
30
14
 
31
15
  auth_sanitizer_loader_namespace.
@@ -2,7 +2,7 @@
2
2
 
3
3
  module OAuth2
4
4
  module Version
5
- VERSION = "2.0.23"
5
+ VERSION = "2.0.24"
6
6
  end
7
7
  VERSION = Version::VERSION # Traditional Constant Location
8
8
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,10 +1,105 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.23
4
+ version: 2.0.24
5
5
  platform: ruby
6
6
  authors:
7
+ - Erik Michaels-Ober
8
+ - Jeremy Kemper
9
+ - Michael Bleigh
10
+ - Paul Walker
11
+ - rick
12
+ - Tim Habermaas
13
+ - Wynn Netherland
14
+ - Alexander Lang
15
+ - Greg Spurrier
16
+ - Jay Adkisson
17
+ - Luke Saunders
18
+ - Simon Gate
19
+ - Bas Vodde
20
+ - Damian Janowski
21
+ - Daniël van de Burgt
22
+ - Dorren Chen
23
+ - Igor Sales
24
+ - Leigh Caplan
25
+ - Michael Andrews
26
+ - Omer Rauchwerger
27
+ - Saverio Trioni
28
+ - Trent Ogren
29
+ - Vsevolod Romashov
30
+ - Antonio Tapiador del Dujo
31
+ - Eduardo Gurgel
32
+ - Geostellar Developer
33
+ - Niels Ganser
34
+ - Rainux Luo
35
+ - Taylor Hedberg
36
+ - Tim Clem
37
+ - Dave Stevens
38
+ - Ellis Berner
39
+ - Frank Macreery
40
+ - Olivier Lacan
41
+ - Peter Souter
42
+ - Ryan Williams
43
+ - Andrew Cantino and Jeff Moore
44
+ - Thomas Walpole
45
+ - Bo Jeanes
46
+ - Cody Cutrer
47
+ - Edward Rudd
48
+ - Lawrence Oluyede
49
+ - Linus Pettersson
50
+ - Motoshi Nishihira
51
+ - Adrian Setyadi
52
+ - Benjamin Quorning
53
+ - Christoph Petschnig
54
+ - Nathaniel Bibler
55
+ - Oleg
56
+ - Samuel Cochran
57
+ - tetsuya
58
+ - Yury Velikanau
59
+ - Alex Kowalczuk
60
+ - asm__
61
+ - David Christensen
62
+ - fossabot
63
+ - Jeff Moore
64
+ - Jonathan del Strother
65
+ - Joseph Page
66
+ - Lomey
67
+ - Markus Bengts
68
+ - Mathias Klippinge
69
+ - nikz
7
70
  - Peter H. Boling
71
+ - Daniel Fockler
72
+ - Elliot Crosby-McCullough
73
+ - João Paulo
74
+ - Orien Madgwick
75
+ - Ryan T. Hosford
76
+ - Tom Corley
77
+ - anvox
78
+ - Jesse Cotton
79
+ - Olle Jonsson
80
+ - Stephen Reid
81
+ - Anders Carling
82
+ - dobon
83
+ - Jan Zaydowicz
84
+ - Nicholas Palaniuk
85
+ - Stan Hu
86
+ - Bouke van der Bijl
87
+ - nov
88
+ - Rick Selby
89
+ - Ryo Takahashi
90
+ - Jessie Young
91
+ - Карим Гимадеев
92
+ - Aboling0
93
+ - Elise Wood
94
+ - Manuel van Rijn
95
+ - Annibelle Boling
96
+ - Mark James
97
+ - Mridang Agarwalla
98
+ - Sasa Rosic
99
+ - Jonathan Grinstead
100
+ - kain
101
+ - Rob Zolkos
102
+ - StepSecurity Bot
8
103
  bindir: exe
9
104
  cert_chain:
10
105
  - |
@@ -37,6 +132,26 @@ cert_chain:
37
132
  -----END CERTIFICATE-----
38
133
  date: 1980-01-02 00:00:00.000000000 Z
39
134
  dependencies:
135
+ - !ruby/object:Gem::Dependency
136
+ name: anonymous_loader
137
+ requirement: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - "~>"
140
+ - !ruby/object:Gem::Version
141
+ version: '0.1'
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: 0.1.1
145
+ type: :runtime
146
+ prerelease: false
147
+ version_requirements: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: '0.1'
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: 0.1.1
40
155
  - !ruby/object:Gem::Dependency
41
156
  name: auth-sanitizer
42
157
  requirement: !ruby/object:Gem::Requirement
@@ -46,7 +161,7 @@ dependencies:
46
161
  version: '0.2'
47
162
  - - ">="
48
163
  - !ruby/object:Gem::Version
49
- version: 0.2.1
164
+ version: 0.2.2
50
165
  type: :runtime
51
166
  prerelease: false
52
167
  version_requirements: !ruby/object:Gem::Requirement
@@ -56,7 +171,7 @@ dependencies:
56
171
  version: '0.2'
57
172
  - - ">="
58
173
  - !ruby/object:Gem::Version
59
- version: 0.2.1
174
+ version: 0.2.2
60
175
  - !ruby/object:Gem::Dependency
61
176
  name: faraday
62
177
  requirement: !ruby/object:Gem::Requirement
@@ -174,7 +289,7 @@ dependencies:
174
289
  version: '1.1'
175
290
  - - ">="
176
291
  - !ruby/object:Gem::Version
177
- version: 1.1.11
292
+ version: 1.1.12
178
293
  type: :runtime
179
294
  prerelease: false
180
295
  version_requirements: !ruby/object:Gem::Requirement
@@ -184,7 +299,7 @@ dependencies:
184
299
  version: '1.1'
185
300
  - - ">="
186
301
  - !ruby/object:Gem::Version
187
- version: 1.1.11
302
+ version: 1.1.12
188
303
  - !ruby/object:Gem::Dependency
189
304
  name: kettle-dev
190
305
  requirement: !ruby/object:Gem::Requirement
@@ -194,7 +309,7 @@ dependencies:
194
309
  version: '2.2'
195
310
  - - ">="
196
311
  - !ruby/object:Gem::Version
197
- version: 2.2.5
312
+ version: 2.2.12
198
313
  type: :development
199
314
  prerelease: false
200
315
  version_requirements: !ruby/object:Gem::Requirement
@@ -204,7 +319,7 @@ dependencies:
204
319
  version: '2.2'
205
320
  - - ">="
206
321
  - !ruby/object:Gem::Version
207
- version: 2.2.5
322
+ version: 2.2.12
208
323
  - !ruby/object:Gem::Dependency
209
324
  name: bundler-audit
210
325
  requirement: !ruby/object:Gem::Requirement
@@ -302,7 +417,7 @@ dependencies:
302
417
  version: '3.1'
303
418
  - - ">="
304
419
  - !ruby/object:Gem::Version
305
- version: 3.1.2
420
+ version: 3.1.4
306
421
  type: :development
307
422
  prerelease: false
308
423
  version_requirements: !ruby/object:Gem::Requirement
@@ -312,7 +427,7 @@ dependencies:
312
427
  version: '3.1'
313
428
  - - ">="
314
429
  - !ruby/object:Gem::Version
315
- version: 3.1.2
430
+ version: 3.1.4
316
431
  - !ruby/object:Gem::Dependency
317
432
  name: ruby-progressbar
318
433
  requirement: !ruby/object:Gem::Requirement
@@ -356,7 +471,7 @@ dependencies:
356
471
  version: '2.0'
357
472
  - - ">="
358
473
  - !ruby/object:Gem::Version
359
- version: 2.0.1
474
+ version: 2.0.2
360
475
  type: :development
361
476
  prerelease: false
362
477
  version_requirements: !ruby/object:Gem::Requirement
@@ -366,7 +481,7 @@ dependencies:
366
481
  version: '2.0'
367
482
  - - ">="
368
483
  - !ruby/object:Gem::Version
369
- version: 2.0.1
484
+ version: 2.0.2
370
485
  - !ruby/object:Gem::Dependency
371
486
  name: addressable
372
487
  requirement: !ruby/object:Gem::Requirement
@@ -499,10 +614,10 @@ licenses:
499
614
  - MIT
500
615
  metadata:
501
616
  homepage_uri: https://oauth2.galtzo.com
502
- source_code_uri: https://github.com/ruby-oauth/oauth2/tree/v2.0.23
503
- changelog_uri: https://github.com/ruby-oauth/oauth2/blob/v2.0.23/CHANGELOG.md
617
+ source_code_uri: https://github.com/ruby-oauth/oauth2/tree/v2.0.24
618
+ changelog_uri: https://github.com/ruby-oauth/oauth2/blob/v2.0.24/CHANGELOG.md
504
619
  bug_tracker_uri: https://github.com/ruby-oauth/oauth2/issues
505
- documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.23
620
+ documentation_uri: https://www.rubydoc.info/gems/oauth2/2.0.24
506
621
  funding_uri: https://github.com/sponsors/pboling
507
622
  wiki_uri: https://github.com/ruby-oauth/oauth2/wiki
508
623
  news_uri: https://www.railsbling.com/tags/oauth2
metadata.gz.sig CHANGED
Binary file