Skip to content

Commit 19493c3

Browse files
committed
🎨 Release prep
1 parent e2ec894 commit 19493c3

16 files changed

Lines changed: 251 additions & 141 deletions

.rubocop_gradual.lock

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
[94, 31, 1, "Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.", 177545],
1010
[120, 35, 1, "Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.", 177545]
1111
],
12-
"README.md:1334494681": [
13-
[52, 61, 1, "Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.", 177545],
14-
[288, 38, 1, "Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.", 177545],
15-
[466, 46, 1, "Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.", 177545]
16-
],
1712
"examples/e2e.rb:1294860234": [
1813
[84, 7, 27, "Style/RedundantAssignment: Redundant assignment before returning detected.", 1540382448],
1914
[96, 35, 1, "Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.", 177545],
@@ -34,24 +29,6 @@
3429
"gemfiles/head.gemfile:1068259318": [
3530
[7, 9, 8, "Style/HashSyntax: Use the new Ruby 1.9 hash syntax.", 1623647569]
3631
],
37-
"gemfiles/ruby_2_3_hashie_v0.gemfile:1904598874": [
38-
[5, 9, 8, "Style/HashSyntax: Use the new Ruby 1.9 hash syntax.", 1623647569]
39-
],
40-
"gemfiles/ruby_2_3_hashie_v1.gemfile:2887526779": [
41-
[5, 9, 8, "Style/HashSyntax: Use the new Ruby 1.9 hash syntax.", 1623647569]
42-
],
43-
"gemfiles/ruby_2_3_hashie_v2.gemfile:1758500888": [
44-
[5, 9, 8, "Style/HashSyntax: Use the new Ruby 1.9 hash syntax.", 1623647569]
45-
],
46-
"gemfiles/ruby_2_3_hashie_v3.gemfile:1042487865": [
47-
[5, 9, 8, "Style/HashSyntax: Use the new Ruby 1.9 hash syntax.", 1623647569]
48-
],
49-
"gemfiles/ruby_2_3_hashie_v4.gemfile:1714695134": [
50-
[5, 9, 8, "Style/HashSyntax: Use the new Ruby 1.9 hash syntax.", 1623647569]
51-
],
52-
"gemfiles/ruby_2_3_hashie_v5.gemfile:2697623039": [
53-
[5, 9, 8, "Style/HashSyntax: Use the new Ruby 1.9 hash syntax.", 1623647569]
54-
],
5532
"gemfiles/ruby_2_4.gemfile:934005945": [
5633
[5, 9, 8, "Style/HashSyntax: Use the new Ruby 1.9 hash syntax.", 1623647569]
5734
],

CHANGELOG.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,23 @@ Please file a bug if you notice a violation of semantic versioning.
2222

2323
### Changed
2424

25+
### Deprecated
26+
27+
### Removed
28+
29+
### Fixed
30+
31+
### Security
32+
33+
## [2.0.21] - 2026-06-05
34+
35+
- TAG: [v2.0.21][2.0.21t]
36+
- COVERAGE: 100.00% -- 525/525 lines in 15 files
37+
- BRANCH COVERAGE: 100.00% -- 174/174 branches in 15 files
38+
- 88.35% documented
39+
40+
### Changed
41+
2542
- Raised generated `version_gem` and `appraisal2` dependency floors to
2643
`version_gem` >= 1.1.10 and `appraisal2` >= 3.0.9.
2744
- Raised the runtime dependency floor for `auth-sanitizer` to `>= 0.2.0`.
@@ -31,8 +48,6 @@ Please file a bug if you notice a violation of semantic versioning.
3148
generated README badges and compatibility tables.
3249
- Removed the post-install message from the gemspec to keep installs quieter.
3350

34-
### Deprecated
35-
3651
### Removed
3752

3853
- Dropped the obsolete Ruby 2.3 Caboose workflow and its Hashie appraisal
@@ -51,8 +66,6 @@ Please file a bug if you notice a violation of semantic versioning.
5166
- Constrained `json` in TruffleRuby and Ruby 3.2 appraisal bundles so generated
5267
CI dependency resolution remains compatible with those Ruby targets.
5368

54-
### Security
55-
5669
## [2.0.20] - 2026-05-20
5770

5871
- TAG: [v2.0.20][2.0.20t]
@@ -809,7 +822,9 @@ Please file a bug if you notice a violation of semantic versioning.
809822

810823
[gemfiles/readme]: gemfiles/README.md
811824

812-
[Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.20...HEAD
825+
[Unreleased]: https://github.com/ruby-oauth/oauth2/compare/v2.0.21...HEAD
826+
[2.0.21]: https://github.com/ruby-oauth/oauth2/compare/v2.0.20...v2.0.21
827+
[2.0.21t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.21
813828
[2.0.20]: https://github.com/ruby-oauth/oauth2/compare/v2.0.19...v2.0.20
814829
[2.0.20t]: https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.20
815830
[2.0.19]: https://github.com/ruby-oauth/oauth2/compare/v2.0.18...v2.0.19

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
oauth2 (2.0.20)
4+
oauth2 (2.0.21)
55
auth-sanitizer (~> 0.2, >= 0.2.0)
66
faraday (>= 0.17.3, < 4.0)
77
jwt (>= 1.0, < 4.0)
@@ -502,7 +502,7 @@ CHECKSUMS
502502
nokogiri (1.19.3-x86_64-linux-gnu) sha256=2f5078620fe12e83669b5b17311b32532a8153d02eee7ad06948b926d6080976
503503
nokogiri (1.19.3-x86_64-linux-musl) sha256=248c906d2166eca5efb56d52fdee5f9a1f51d69a72e2b64fdac647b4ce39ea3f
504504
nomono (1.0.2) sha256=49236d39350a66f28ed3f51ec2d94afb8278667576e37ed9763a591e15b65f80
505-
oauth2 (2.0.20)
505+
oauth2 (2.0.21)
506506
openssl (4.0.2) sha256=1037ad2868ae58df9ad917891c0c0f9815a1172f6846d4bcdd508e4c2ee747c2
507507
ostruct (0.6.3) sha256=95a2ed4a4bd1d190784e666b47b2d3f078e4a9efda2fccf18f84ddc6538ed912
508508
parallel (1.28.0) sha256=33e6de1484baf2524792d178b0913fc8eb94c628d6cfe45599ad4458c638c970

LICENSE.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ client = OAuth2::Client.new(
4949
"REDMOND_CLIENT_SECRET", # client_secret
5050
auth_scheme: :request_body, # Other modes are supported: :basic_auth, :tls_client_auth, :private_key_jwt
5151
token_url: "oauth2/token", # relative path, except with leading `/`, then absolute path
52-
site: "https://login.microsoftonline.com/REDMOND_REDACTED",
52+
site: "https://login.microsoftonline.com/REDMOND_REDACTED"
5353
)
5454
client.
5555
client_credentials. # There are many other types to choose from!
@@ -285,7 +285,7 @@ client = OAuth2::Client.new(
285285
"client_secret",
286286
site: "https://example.org/nested/directory/on/your/server",
287287
authorize_url: "/jaunty/authorize/",
288-
token_url: "/stirrups/access_token",
288+
token_url: "/stirrups/access_token"
289289
)
290290
# => #<OAuth2::Client:0x00000001204c8288 @id="client_id", @secret="client_sec...
291291
client.auth_code.authorize_url(redirect_uri: "http://localhost:8080/oauth2/callback")
@@ -463,7 +463,7 @@ client = OAuth2::Client.new(
463463
"client_id",
464464
"client_secret",
465465
site: "https://example.org",
466-
logger: Logger.new("example.log", "weekly"),
466+
logger: Logger.new("example.log", "weekly")
467467
)
468468
```
469469

@@ -1065,7 +1065,7 @@ Thanks for RTFM. ☺️
10651065
[📌gitmoji]: https://gitmoji.dev
10661066
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
10671067
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
1068-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.527-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1068+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.525-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
10691069
[🔐security]: https://github.com/ruby-oauth/oauth2/blob/main/SECURITY.md
10701070
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
10711071
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year

Rakefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ if Dir.exist?(File.join(__dir__, "gems")) && Dir.exist?(File.join(__dir__, "work
7878
end
7979

8080
def family_gem_dirs
81-
Dir.glob(File.join(__dir__, "gems", "*", "*.gemspec"))
82-
.map { |path| File.dirname(path) }
83-
.uniq
84-
.sort_by { |path| File.basename(path) }
81+
Dir.glob(File.join(__dir__, "gems", "*", "*.gemspec")).
82+
map { |path| File.dirname(path) }.
83+
uniq.
84+
sort_by { |path| File.basename(path) }
8585
end
8686

8787
namespace :family do

docs/OAuth2.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ <h5 class="example_title"><div class='inline'><p>Customize filtered output marke
218218
</span><span class='words_sep'> </span><span class='tstring_content'>assertion</span><span class='words_sep'>
219219
</span><span class='words_sep'> </span><span class='tstring_content'>code_verifier</span><span class='words_sep'>
220220
</span><span class='words_sep'> </span><span class='tstring_content'>token</span><span class='words_sep'>
221-
</span><span class='words_sep'> </span><span class='tstring_end'>]</span></span><span class='comma'>,</span>
221+
</span><span class='words_sep'> </span><span class='tstring_end'>]</span></span>
222222
<span class='rparen'>)</span></pre></dd>
223223

224224
<dt id="CONFIG-constant" class="">CONFIG =
@@ -278,7 +278,7 @@ <h5 class="example_title"><div class='inline'><p>Customize filtered output marke
278278

279279
</dt>
280280
<dd><pre class="code"><span class='kw'>begin</span>
281-
<span class='id identifier rubyid_auth_sanitizer_requirement'>auth_sanitizer_requirement</span> <span class='op'>=</span> <span class='const'>Gem</span><span class='op'>::</span><span class='const'>Requirement</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>~&gt; 0.1</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&gt;= 0.1.3</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
281+
<span class='id identifier rubyid_auth_sanitizer_requirement'>auth_sanitizer_requirement</span> <span class='op'>=</span> <span class='const'>Gem</span><span class='op'>::</span><span class='const'>Requirement</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>~&gt; 0.1</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&gt;= 0.1.5</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
282282
<span class='id identifier rubyid_auth_sanitizer_spec'>auth_sanitizer_spec</span> <span class='op'>=</span> <span class='const'>Gem</span><span class='period'>.</span><span class='id identifier rubyid_loaded_specs'>loaded_specs</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>auth-sanitizer</span><span class='tstring_end'>&quot;</span></span><span class='rbracket'>]</span>
283283
<span class='kw'>unless</span> <span class='id identifier rubyid_auth_sanitizer_spec'>auth_sanitizer_spec</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_auth_sanitizer_requirement'>auth_sanitizer_requirement</span><span class='period'>.</span><span class='id identifier rubyid_satisfied_by?'>satisfied_by?</span><span class='lparen'>(</span><span class='id identifier rubyid_auth_sanitizer_spec'>auth_sanitizer_spec</span><span class='period'>.</span><span class='id identifier rubyid_version'>version</span><span class='rparen'>)</span>
284284
<span class='comment'># :nocov:
@@ -288,7 +288,7 @@ <h5 class="example_title"><div class='inline'><p>Customize filtered output marke
288288

289289
<span class='id identifier rubyid_auth_sanitizer_loader_path'>auth_sanitizer_loader_path</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span>
290290
<span class='id identifier rubyid_auth_sanitizer_spec'>auth_sanitizer_spec</span><span class='period'>.</span><span class='id identifier rubyid_full_gem_path'>full_gem_path</span><span class='comma'>,</span>
291-
<span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>lib/auth_sanitizer/loader.rb</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
291+
<span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>lib/auth_sanitizer/loader.rb</span><span class='tstring_end'>&quot;</span></span>
292292
<span class='rparen'>)</span>
293293
<span class='kw'>unless</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_file?'>file?</span><span class='lparen'>(</span><span class='id identifier rubyid_auth_sanitizer_loader_path'>auth_sanitizer_loader_path</span><span class='rparen'>)</span>
294294
<span class='comment'># :nocov:
@@ -301,7 +301,7 @@ <h5 class="example_title"><div class='inline'><p>Customize filtered output marke
301301
<span class='id identifier rubyid_auth_sanitizer_loader_namespace'>auth_sanitizer_loader_namespace</span><span class='period'>.</span><span class='id identifier rubyid_module_eval'>module_eval</span><span class='lparen'>(</span>
302302
<span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_read'>read</span><span class='lparen'>(</span><span class='id identifier rubyid_auth_sanitizer_loader_path'>auth_sanitizer_loader_path</span><span class='rparen'>)</span><span class='comma'>,</span>
303303
<span class='id identifier rubyid_auth_sanitizer_loader_path'>auth_sanitizer_loader_path</span><span class='comma'>,</span>
304-
<span class='int'>1</span><span class='comma'>,</span>
304+
<span class='int'>1</span>
305305
<span class='rparen'>)</span>
306306

307307
<span class='id identifier rubyid_auth_sanitizer_loader_namespace'>auth_sanitizer_loader_namespace</span><span class='period'>.</span>
@@ -498,9 +498,9 @@ <h3 class="signature " id="configure-class_method">
498498
</div>
499499

500500
<div id="footer">
501-
Generated on Wed Jun 3 19:00:56 2026 by
501+
Generated on Fri Jun 5 23:38:33 2026 by
502502
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
503-
0.9.44 (ruby-4.0.4).
503+
0.9.44 (ruby-4.0.5).
504504
</div>
505505

506506
</div>

docs/OAuth2/Version.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h2>
9898
<dt id="VERSION-constant" class="">VERSION =
9999

100100
</dt>
101-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>2.0.20</span><span class='tstring_end'>&quot;</span></span></pre></dd>
101+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>2.0.21</span><span class='tstring_end'>&quot;</span></span></pre></dd>
102102

103103
</dl>
104104

@@ -114,9 +114,9 @@ <h2>
114114
</div>
115115

116116
<div id="footer">
117-
Generated on Wed Jun 3 19:00:56 2026 by
117+
Generated on Fri Jun 5 23:38:33 2026 by
118118
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
119-
0.9.44 (ruby-4.0.4).
119+
0.9.44 (ruby-4.0.5).
120120
</div>
121121

122122
</div>

docs/_index.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ <h2>File Listing</h2>
101101
<li class="r1"><a href="file.THREAT_MODEL.html" title="THREAT_MODEL">THREAT_MODEL</a></li>
102102

103103

104-
<li class="r2"><a href="file.LICENSE.html" title="LICENSE">LICENSE</a></li>
105-
106-
107104
</ul>
108105

109106
<div class="clear"></div>
@@ -304,9 +301,9 @@ <h2>Namespace Listing A-Z</h2>
304301
</div>
305302

306303
<div id="footer">
307-
Generated on Wed Jun 3 19:00:56 2026 by
304+
Generated on Fri Jun 5 23:38:33 2026 by
308305
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
309-
0.9.44 (ruby-4.0.4).
306+
0.9.44 (ruby-4.0.5).
310307
</div>
311308

312309
</div>

0 commit comments

Comments
 (0)