auth-sanitizer 0.1.4 → 0.2.2

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.
data/README.md CHANGED
@@ -1,17 +1,10 @@
1
- [![Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0][🖼️galtzo-i]][🖼️galtzo-discord] [![ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5][🖼️ruby-lang-i]][🖼️ruby-lang] [![oauth2 Logo by Chris Messina, CC BY-SA 3.0][🖼️oauth2-i]][🖼️oauth2]
1
+ <a href="https://github.com/ruby-oauth"><img alt="ruby-oauth Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/ruby-oauth/avatar-128px.svg" width="14%" align="right"/></a>
2
2
 
3
- [🖼️galtzo-i]: https://logos.galtzo.com/assets/images/galtzo-floss/avatar-192px.svg
4
- [🖼️galtzo-discord]: https://discord.gg/3qme4XHNKN
5
- [🖼️ruby-lang-i]: https://logos.galtzo.com/assets/images/ruby-lang/avatar-192px.svg
6
- [🖼️ruby-lang]: https://www.ruby-lang.org/
7
- [🖼️oauth2-i]: https://logos.galtzo.com/assets/images/oauth/oauth2/avatar-192px.svg
8
- [🖼️oauth2]: https://github.com/ruby-oauth/oauth2
3
+ # 💎 Auth::Sanitizer
9
4
 
10
- # 🟥 Auth::Sanitizer
5
+ [![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
11
6
 
12
- [![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license-ref] [![Downloads Rank][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![CodeQL][🖐codeQL-img]][🖐codeQL] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
13
-
14
- `if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][🖼️galtzo-discord], as I may have missed the [discord notification][🖼️galtzo-discord].
7
+ `if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][✉️discord-invite], as I may have missed the [discord notification][✉️discord-invite].
15
8
 
16
9
  ---
17
10
 
@@ -20,13 +13,13 @@
20
13
  [![OpenCollective Backers][🖇osc-backers-i]][🖇osc-backers] [![OpenCollective Sponsors][🖇osc-sponsors-i]][🖇osc-sponsors] [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor] [![Liberapay Goal Progress][⛳liberapay-img]][⛳liberapay] [![Donate on PayPal][🖇paypal-img]][🖇paypal] [![Buy me a coffee][🖇buyme-small-img]][🖇buyme] [![Donate on Polar][🖇polar-img]][🖇polar] [![Donate at ko-fi.com][🖇kofi-img]][🖇kofi]
21
14
 
22
15
  <details>
23
- <summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
16
+ <summary>👣 How will this project approach the September 2025 hostile takeover of RubyGems? 🚑️</summary>
24
17
 
25
18
  I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-takeover-of-rubygems-my-thoughts-5hlo).
26
19
 
27
20
  </details>
28
21
 
29
- ## 🌻 Synopsis
22
+ ## 🌻 Synopsis <a href="https://discord.gg/3qme4XHNKN"><img alt="Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="8%" align="right"/></a> <a href="https://ruby-toolbox.com"><img alt="ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5" src="https://logos.galtzo.com/assets/images/ruby-lang/avatar-128px.svg" width="8%" align="right"/></a>
30
23
 
31
24
  `auth-sanitizer` provides small, dependency-light helpers for keeping OAuth and authentication secrets out of object
32
25
  inspection and log output.
@@ -34,7 +27,7 @@ inspection and log output.
34
27
  The gem is intentionally narrow in scope. It does not change HTTP requests, token objects, persistence, or application
35
28
  configuration for you. Instead, it gives host gems and applications two reusable redaction surfaces:
36
29
 
37
- - `Auth::Sanitizer::FilteredAttributes` redacts selected instance variables from `#inspect`.
30
+ - `Auth::Sanitizer::FilteredAttributes` redacts selected attributes from standard Ruby `#inspect` output.
38
31
  - `Auth::Sanitizer::SanitizedLogger` wraps an existing logger and redacts sensitive values from string log messages.
39
32
 
40
33
  Out of the box, logger sanitization filters the key names most commonly found in OAuth and OpenID Connect debug output:
@@ -70,49 +63,59 @@ The returned module is an anonymously namespaced `Auth::Sanitizer`, suitable for
70
63
  Use `require: false` in gems that want to avoid every new top-level namespace, including `AuthSanitizer`; see
71
64
  [Zero Top-Level Namespace Additions](#zero-top-level-namespace-additions).
72
65
 
66
+ Consumers that want a reusable resolver for that stricter loading mode can use
67
+ [`anonymous_loader`](https://github.com/ruby-oauth/anonymous_loader). It handles
68
+ explicit paths, RubyGems metadata, and `$LOAD_PATH` fallback resolution while evaluating
69
+ the loader under an anonymous namespace.
70
+
73
71
  This gem is used by the following libraries to ensure clean output:
74
72
 
75
73
  - oauth
76
74
  - oauth-tty
77
75
  - oauth2
78
76
  - omniauth-ldap
77
+ - omniauth-identity
79
78
 
80
79
  ## 💡 Info you can shake a stick at
81
80
 
82
- | Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
81
+ | Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
83
82
  |-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
84
- | Works with JRuby | [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎jruby-9.3-wf] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎jruby-9.4-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
83
+ | Works with JRuby | [![JRuby 9.2 Compat][💎jruby-9.2i]][🚎jruby-9.2-wf] [![JRuby 9.3 Compat][💎jruby-9.3i]][🚎jruby-9.3-wf] <br/> [![JRuby 9.4 Compat][💎jruby-9.4i]][🚎jruby-9.4-wf] [![JRuby current Compat][💎jruby-c-i]][🚎10-j-wf] [![JRuby HEAD Compat][💎jruby-headi]][🚎3-hd-wf]|
85
84
  | Works with Truffle Ruby | [![Truffle Ruby 22.3 Compat][💎truby-22.3i]][🚎truby-22.3-wf] [![Truffle Ruby 23.0 Compat][💎truby-23.0i]][🚎truby-23.0-wf] [![Truffle Ruby 23.1 Compat][💎truby-23.1i]][🚎truby-23.1-wf] <br/> [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf]|
86
- | Works with MRI Ruby 4 | [![Ruby 4.0 Compat][💎ruby-4.0i]][🚎11-c-wf] [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
87
- | Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
88
- | Works with MRI Ruby 2 | ![Ruby 2.2 Compat][💎ruby-2.2i] <br/> [![Ruby 2.3 Compat][💎ruby-2.3i]][🚎ruby-2.3-wf] [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎ruby-2.4-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
89
- | Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
90
- | Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
91
- | Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
92
- | Compliance | [![License: MIT][📄license-img]][📄license-ref] [![Compatible with Apache Software Projects: Verified by SkyWalking Eyes][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
93
- | Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
94
- | Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼‍♂️devto-img]][💖💁🏼‍♂️devto] |
95
- | `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼‍♂️aboutme-img]][💖💁🏼‍♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
85
+ | Works with MRI Ruby 4 | [![Ruby 4.0 Compat][💎ruby-4.0i]][🚎11-c-wf] [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
86
+ | Works with MRI Ruby 3 | [![Ruby 3.0 Compat][💎ruby-3.0i]][🚎ruby-3.0-wf] [![Ruby 3.1 Compat][💎ruby-3.1i]][🚎ruby-3.1-wf] [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
87
+ | Works with MRI Ruby 2 | ![Ruby 2.2 Compat][💎ruby-2.2i] ![Ruby 2.3 Compat][💎ruby-2.3i] <br/> [![Ruby 2.4 Compat][💎ruby-2.4i]][🚎ruby-2.4-wf] [![Ruby 2.5 Compat][💎ruby-2.5i]][🚎ruby-2.5-wf] [![Ruby 2.6 Compat][💎ruby-2.6i]][🚎ruby-2.6-wf] [![Ruby 2.7 Compat][💎ruby-2.7i]][🚎ruby-2.7-wf]|
88
+ | Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
89
+ | Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
90
+ | Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
91
+ | Compliance | [![License: MIT][📄license-img]][📄license] [![Apache license compatibility: Category A][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
92
+ | Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
93
+ | Maintainer 🎖️ | [![Follow Me on LinkedIn][💖🖇linkedin-img]][💖🖇linkedin] [![Follow Me on Ruby.Social][💖🐘ruby-mast-img]][💖🐘ruby-mast] [![Follow Me on Bluesky][💖🦋bluesky-img]][💖🦋bluesky] [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact] [![My technical writing][💖💁🏼‍♂️devto-img]][💖💁🏼‍♂️devto] |
94
+ | `...` 💖 | [![Find Me on WellFound:][💖✌️wellfound-img]][💖✌️wellfound] [![Find Me on CrunchBase][💖💲crunchbase-img]][💖💲crunchbase] [![My LinkTree][💖🌳linktree-img]][💖🌳linktree] [![More About Me][💖💁🏼‍♂️aboutme-img]][💖💁🏼‍♂️aboutme] [🧊][💖🧊berg] [🐙][💖🐙hub] [🛖][💖🛖hut] [🧪][💖🧪lab] |
96
95
 
97
96
  ### Compatibility
98
97
 
99
98
  Compatible with MRI Ruby 2.2.0+, and concordant releases of JRuby, and TruffleRuby.
99
+ CI workflows and Appraisals are generated for MRI Ruby 2.4+.
100
+ This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
101
+ may be higher than the gem's runtime compatibility floor when legacy Rubies are
102
+ not practical for the current toolchain.
100
103
 
101
- | 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 and the color 💚 green 💚 |
104
+ | 🚚 _Amazing_ test matrix was brought to you by | 🔎 appraisal2 🔎 and the color 💚 green 💚 |
102
105
  |------------------------------------------------|--------------------------------------------------------|
103
- | 👟 Check it out! | ✨ [github.com/appraisal-rb/appraisal2][💎appraisal2] ✨ |
106
+ | 👟 Check it out! | ✨ [github.com/appraisal-rb/appraisal2][💎appraisal2] ✨ |
104
107
 
105
108
  ### Federated DVCS
106
109
 
107
110
  <details markdown="1">
108
- <summary>Find this repo on federated forges (Coming soon!)</summary>
111
+ <summary>Find this repo on federated forges (Coming soon!)</summary>
109
112
 
110
- | Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI | Discussions |
113
+ | Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI | Discussions |
111
114
  |-------------------------------------------------|-----------------------------------------------------------------------|---------------------------|--------------------------|---------------------------|--------------------------|------------------------------|
112
- | 🧪 [ruby-oauth/auth-sanitizer on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix | ➖ |
113
- | 🧊 [ruby-oauth/auth-sanitizer on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix | ➖ |
114
- | 🐙 [ruby-oauth/auth-sanitizer on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix | [💚][gh-discussions] |
115
- | 🎮️ [Discord Server][✉️discord-invite] | [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] | [Let's][✉️discord-invite] | [talk][✉️discord-invite] | [about][✉️discord-invite] | [this][✉️discord-invite] | [library!][✉️discord-invite] |
115
+ | 🧪 [ruby-oauth/auth-sanitizer on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix | ➖ |
116
+ | 🧊 [ruby-oauth/auth-sanitizer on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix | ➖ |
117
+ | 🐙 [ruby-oauth/auth-sanitizer on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix | [💚][gh-discussions] |
118
+ | 🎮️ [Discord Server][✉️discord-invite] | [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] | [Let's][✉️discord-invite] | [talk][✉️discord-invite] | [about][✉️discord-invite] | [this][✉️discord-invite] | [library!][✉️discord-invite] |
116
119
 
117
120
  </details>
118
121
 
@@ -123,7 +126,7 @@ Compatible with MRI Ruby 2.2.0+, and concordant releases of JRuby, and TruffleRu
123
126
  Available as part of the Tidelift Subscription.
124
127
 
125
128
  <details markdown="1">
126
- <summary>Need enterprise-level guarantees?</summary>
129
+ <summary>Need enterprise-level guarantees?</summary>
127
130
 
128
131
  The maintainers of this and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use.
129
132
 
@@ -155,41 +158,6 @@ If bundler is not being used to manage dependencies, install the gem by executin
155
158
  gem install auth-sanitizer
156
159
  ```
157
160
 
158
- ### 🔒 Secure Installation
159
-
160
- <details markdown="1">
161
- <summary>For Medium or High Security Installations</summary>
162
-
163
- This gem is cryptographically signed and has verifiable [SHA-256 and SHA-512][💎SHA_checksums] checksums by
164
- [stone_checksums][💎stone_checksums]. Be sure the gem you install hasn’t been tampered with
165
- by following the instructions below.
166
-
167
- Add my public key (if you haven’t already; key expires 2045-04-29) as a trusted certificate:
168
-
169
- ```console
170
- gem cert --add <(curl -Ls https://raw.github.com/galtzo-floss/certs/main/pboling.pem)
171
- ```
172
-
173
- You only need to do that once. Then proceed to install with:
174
-
175
- ```console
176
- gem install auth-sanitizer -P HighSecurity
177
- ```
178
-
179
- The `HighSecurity` trust profile will verify signed gems, and not allow the installation of unsigned dependencies.
180
-
181
- If you want to up your security game full-time:
182
-
183
- ```console
184
- bundle config set --global trust-policy MediumSecurity
185
- ```
186
-
187
- `MediumSecurity` instead of `HighSecurity` is necessary if not all the gems you use are signed.
188
-
189
- NOTE: Be prepared to track down certs for signed gems and add them the same way you added mine.
190
-
191
- </details>
192
-
193
161
  ## ⚙️ Configuration
194
162
 
195
163
  Most applications can use the defaults. Configuration is available when a host gem or application wants to align
@@ -242,27 +210,26 @@ gem "auth-sanitizer", require: "auth_sanitizer/loader"
242
210
  Use `require: false` when the consuming library will decide which loading mode to use internally. Use
243
211
  `require: "auth_sanitizer/loader"` when Bundler should make the isolated loader available during `Bundler.require`.
244
212
 
213
+ When Bundler standalone setup is loaded directly, a dependency can be present on `$LOAD_PATH` without a matching
214
+ `Gem.loaded_specs` entry or `GEM_PATH` entry. Consumers that locate the isolated loader themselves should therefore
215
+ use `AnonymousLoader.load_path`, or otherwise fall back to `Gem.find_files("auth_sanitizer/loader.rb")`, before failing.
216
+
245
217
  #### Zero Top-Level Namespace Additions
246
218
 
247
- A gem that needs zero new top-level namespaces from this dependency can load the loader itself inside an anonymous
248
- namespace. On Ruby 3.1+, use `Kernel.load(path, module)`:
219
+ For a gem that needs zero new top-level namespaces from `auth-sanitizer`, use `anonymous_loader` to evaluate
220
+ `auth_sanitizer/loader.rb` inside an anonymous namespace, then call `AuthSanitizer::Loader.load_isolated` from that
221
+ anonymous namespace:
249
222
 
250
223
  ```ruby
251
- auth_sanitizer_requirement = Gem::Requirement.new("~> 0.1", ">= 0.1.3")
252
- auth_sanitizer_spec = Gem.loaded_specs["auth-sanitizer"]
253
- unless auth_sanitizer_spec && auth_sanitizer_requirement.satisfied_by?(auth_sanitizer_spec.version)
254
- auth_sanitizer_spec = Gem::Specification.find_by_name("auth-sanitizer", auth_sanitizer_requirement)
255
- end
256
- auth_sanitizer_loader_path = File.join(
257
- auth_sanitizer_spec.full_gem_path,
258
- "lib/auth_sanitizer/loader.rb",
224
+ require "anonymous_loader"
225
+
226
+ auth_sanitizer_requirement = Gem::Requirement.new("~> 0.2", ">= 0.2.1")
227
+ auth_sanitizer_loader_namespace = AnonymousLoader.load_path(
228
+ gem_name: "auth-sanitizer",
229
+ require_path: "auth_sanitizer/loader.rb",
230
+ version_requirement: auth_sanitizer_requirement,
231
+ version_file: "auth/sanitizer/version.rb"
259
232
  )
260
- unless File.file?(auth_sanitizer_loader_path)
261
- raise LoadError, "auth-sanitizer #{auth_sanitizer_requirement} loader not found at #{auth_sanitizer_loader_path}"
262
- end
263
-
264
- auth_sanitizer_loader_namespace = Module.new
265
- Kernel.load(auth_sanitizer_loader_path, auth_sanitizer_loader_namespace)
266
233
 
267
234
  AUTH_SANITIZER = auth_sanitizer_loader_namespace
268
235
  .const_get(:AuthSanitizer)
@@ -271,42 +238,26 @@ AUTH_SANITIZER = auth_sanitizer_loader_namespace
271
238
  ```
272
239
 
273
240
  That pattern leaves both `Auth` and `AuthSanitizer` undefined at top level. The consuming gem should assign the returned
274
- module under its own namespace and use that internal constant.
275
-
276
- <details markdown="1">
277
- <summary>Ruby 2.2-compatible zero-top-level loading</summary>
241
+ module under its own namespace and use that internal constant. It does define `AnonymousLoader`, whose namespace is
242
+ specific to the resolver gem and intentionally much less collision-prone than `Auth`.
278
243
 
279
- Ruby 2.2 through Ruby 3.0 do not support `Kernel.load(path, module)`. For those versions, evaluate the loader source
280
- inside an anonymous namespace with `Module#module_eval`:
244
+ Declare both dependencies with `require: false` when the consuming library owns its loading path:
281
245
 
282
246
  ```ruby
283
- auth_sanitizer_requirement = Gem::Requirement.new("~> 0.1", ">= 0.1.3")
284
- auth_sanitizer_spec = Gem.loaded_specs["auth-sanitizer"]
285
- unless auth_sanitizer_spec && auth_sanitizer_requirement.satisfied_by?(auth_sanitizer_spec.version)
286
- auth_sanitizer_spec = Gem::Specification.find_by_name("auth-sanitizer", auth_sanitizer_requirement)
287
- end
288
- auth_sanitizer_loader_path = File.join(
289
- auth_sanitizer_spec.full_gem_path,
290
- "lib/auth_sanitizer/loader.rb",
291
- )
292
- unless File.file?(auth_sanitizer_loader_path)
293
- raise LoadError, "auth-sanitizer #{auth_sanitizer_requirement} loader not found at #{auth_sanitizer_loader_path}"
294
- end
247
+ gem "anonymous_loader", "~> 0.1", ">= 0.1.0", require: false
248
+ gem "auth-sanitizer", "~> 0.2", ">= 0.2.1", require: false
249
+ ```
295
250
 
296
- auth_sanitizer_loader_namespace = Module.new
297
- auth_sanitizer_loader_namespace.module_eval(
298
- File.read(auth_sanitizer_loader_path),
299
- auth_sanitizer_loader_path,
300
- 1,
301
- )
251
+ If the host application uses `Bundler.require`, use:
302
252
 
303
- AUTH_SANITIZER = auth_sanitizer_loader_namespace
304
- .const_get(:AuthSanitizer)
305
- .const_get(:Loader)
306
- .load_isolated
253
+ ```ruby
254
+ gem "anonymous_loader", "~> 0.1", ">= 0.1.0"
255
+ gem "auth-sanitizer", "~> 0.2", ">= 0.2.1", require: false
307
256
  ```
308
257
 
309
- </details>
258
+ `AnonymousLoader.load_path` raises `AnonymousLoader::FileNotFoundError` when it cannot resolve the loader, and
259
+ `AnonymousLoader::VersionMismatchError` when it finds a load-path candidate whose adjacent version file does not satisfy
260
+ the requested range.
310
261
 
311
262
  ### Filtered Label
312
263
 
@@ -353,7 +304,7 @@ logger = Auth::Sanitizer::SanitizedLogger.new(
353
304
  api_key
354
305
  private_key
355
306
  session_secret
356
- ],
307
+ ]
357
308
  )
358
309
  ```
359
310
 
@@ -363,7 +314,7 @@ You can also replace the list entirely:
363
314
  logger = Auth::Sanitizer::SanitizedLogger.new(
364
315
  Logger.new($stdout),
365
316
  filtered_keys: %w[my_secret],
366
- label: "[GONE]",
317
+ label: "[GONE]"
367
318
  )
368
319
  ```
369
320
 
@@ -395,8 +346,43 @@ class OAuthCredential
395
346
  end
396
347
  ```
397
348
 
398
- Declared names are matched against instance variable names. For example, `filtered_attributes :access_token` redacts
399
- `@access_token` in `#inspect`.
349
+ `FilteredAttributes#inspect` delegates to `super.inspect` first, then redacts only narrow, standard Ruby inspect
350
+ fragments for configured names. This preserves host object inspect behavior instead of rebuilding the object's output.
351
+
352
+ For example, `filtered_attributes :access_token` redacts `@access_token="..."` in normal object inspect output:
353
+
354
+ ```ruby
355
+ OAuthCredential.new("secret", Time.now).inspect
356
+ # => #<OAuthCredential:0x... @access_token=[FILTERED], @expires_at=2026-06-04 08:00:00 -0600>
357
+ ```
358
+
359
+ Configured names are also redacted when they appear as string-valued keys inside standard Ruby hash inspect fragments,
360
+ which is useful for adapter models that store attributes in an internal hash:
361
+
362
+ ```ruby
363
+ class IdentityRecord
364
+ include Auth::Sanitizer::FilteredAttributes
365
+
366
+ filtered_attributes :password_digest
367
+
368
+ def initialize(identity_data)
369
+ @identity_data = identity_data
370
+ end
371
+ end
372
+
373
+ IdentityRecord.new({id: 1, password_digest: "$2a$secret"}).inspect
374
+ # => #<IdentityRecord:0x... @identity_data={id: 1, password_digest: [FILTERED]}>
375
+ ```
376
+
377
+ The inspect redactor intentionally leaves unsupported or highly customized inspect formats unchanged. It only replaces
378
+ quoted string values in these standard shapes:
379
+
380
+ - `@name="value"`
381
+ - `{name: "value"}`
382
+ - `{:name => "value"}`
383
+ - `{"name" => "value"}`
384
+
385
+ This conservative behavior avoids breaking host models whose `inspect` output has application-specific formatting.
400
386
 
401
387
  Calling `filtered_attributes` again replaces the class-level list:
402
388
 
@@ -426,7 +412,7 @@ require "auth/sanitizer"
426
412
  ```
427
413
 
428
414
  Or load it without defining top-level `Auth`. This still defines top-level `AuthSanitizer`; see
429
- [Zero Top-Level Namespace Additions](#zero-top-level-namespace-additions) for the stricter loading pattern.
415
+ [Zero Top-Level Namespace Additions](#zero-top-level-namespace-additions) for the stricter `anonymous_loader` pattern.
430
416
 
431
417
  ```ruby
432
418
  require "auth_sanitizer/loader"
@@ -461,15 +447,16 @@ end
461
447
  response = TokenResponse.new(
462
448
  access_token: "access-token-value",
463
449
  refresh_token: "refresh-token-value",
464
- scope: "profile email",
450
+ scope: "profile email"
465
451
  )
466
452
 
467
453
  response.inspect
468
- # => #<TokenResponse:123456 @access_token=[FILTERED], @refresh_token=[FILTERED], @scope="profile email">
454
+ # => #<TokenResponse:0x... @access_token=[FILTERED], @refresh_token=[FILTERED], @scope="profile email">
469
455
  ```
470
456
 
471
457
  Only the configured attributes are redacted. Other instance variables remain visible so inspected objects are still
472
- useful while debugging.
458
+ useful while debugging. Inspect filtering is conservative: unsupported custom formats are left unchanged rather than
459
+ risking a malformed `inspect` result.
473
460
 
474
461
  ### Redact Logger Output
475
462
 
@@ -524,7 +511,7 @@ Use `filtered_keys:` for application-specific secrets:
524
511
  logger = Auth::Sanitizer::SanitizedLogger.new(
525
512
  Logger.new($stdout),
526
513
  filtered_keys: %w[access_token api_key signing_secret],
527
- label: "[SECRET]",
514
+ label: "[SECRET]"
528
515
  )
529
516
 
530
517
  logger.debug("api_key=12345&access_token=abc123")
@@ -553,8 +540,8 @@ While ruby-oauth tools are free software and will always be, the project would b
553
540
  Raising a monthly budget of... "dollars" would make the project more sustainable.
554
541
 
555
542
  We welcome both individual and corporate sponsors! We also offer a
556
- wide array of funding channels to account for your preferences
557
- (although currently [Open Collective][🖇osc] is our preferred funding platform).
543
+ wide array of funding channels to account for your preferences.
544
+ Currently, [Open Collective][🖇osc] is our preferred funding platform.
558
545
 
559
546
  **If you're working in a company that's making significant use of ruby-oauth tools we'd
560
547
  appreciate it if you suggest to your company to become a ruby-oauth sponsor.**
@@ -566,7 +553,7 @@ You can support the development of ruby-oauth tools via
566
553
  [Open Collective][🖇osc]
567
554
  and [Tidelift][🏙️entsup-tidelift].
568
555
 
569
- | 📍 NOTE |
556
+ | 📍 NOTE |
570
557
  |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
571
558
  | If doing a sponsorship in the form of donation is problematic for your company <br/> from an accounting standpoint, we'd recommend the use of Tidelift, <br/> where you can get a support-like subscription instead. |
572
559
 
@@ -588,13 +575,17 @@ NOTE: [kettle-readme-backers][kettle-readme-backers] updates this list every day
588
575
 
589
576
  <!-- OPENCOLLECTIVE-ORGANIZATIONS:START -->
590
577
  No sponsors yet. Be the first!
578
+
579
+ ### Open Collective for Donors
580
+
581
+ [Bill Woika](https://opencollective.com/bill-woika) [Philipp Ebneter](https://opencollective.com/guest-e77282f7) [Grigoriy](https://opencollective.com/guest-c93e0c48)
591
582
  <!-- OPENCOLLECTIVE-ORGANIZATIONS:END -->
592
583
 
593
584
  [kettle-readme-backers]: https://github.com/ruby-oauth/auth-sanitizer/blob/main/exe/kettle-readme-backers
594
585
 
595
586
  ### Another way to support open-source
596
587
 
597
- I’m driven by a passion to foster a thriving open-source community – a space where people can tackle complex problems, no matter how small. Revitalizing libraries that have fallen into disrepair, and building new libraries focused on solving real-world challenges, are my passions. I was recently affected by layoffs, and the tech jobs market is unwelcoming. I’m reaching out here because your support would significantly aid my efforts to provide for my family, and my farm (11 🐔 chickens, 2 🐶 dogs, 3 🐰 rabbits, 8 🐈‍ cats).
588
+ I’m driven by a passion to foster a thriving open-source community – a space where people can tackle complex problems, no matter how small. Revitalizing libraries that have fallen into disrepair, and building new libraries focused on solving real-world challenges, are my passions. I was recently affected by layoffs, and the tech jobs market is unwelcoming. I’m reaching out here because your support would significantly aid my efforts to provide for my family, and my farm (11 🐔 chickens, 2 🐶 dogs, 3 🐰 rabbits, 8 🐈‍ cats).
598
589
 
599
590
  If you work at a company that uses my work, please encourage them to support me as a corporate sponsor. My work on gems you use might show up in `bundle fund`.
600
591
 
@@ -611,7 +602,7 @@ See [SECURITY.md][🔐security].
611
602
  ## 🤝 Contributing
612
603
 
613
604
  If you need some ideas of where to help, you could work on adding more code coverage,
614
- or if it is already 💯 (see [below](#code-coverage)) check [reek](REEK), [issues][🤝gh-issues], or [PRs][🤝gh-pulls],
605
+ or if it is already 💯 (see [below](#code-coverage)) check [issues][🤝gh-issues] or [PRs][🤝gh-pulls],
615
606
  or use the gem and think about how it could be better.
616
607
 
617
608
  We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
@@ -624,12 +615,17 @@ See [CONTRIBUTING.md][🤝contributing].
624
615
 
625
616
  ### Code Coverage
626
617
 
618
+ <details markdown="1">
619
+ <summary>Coverage service badges</summary>
620
+
627
621
  [![Coverage Graph][🏀codecov-g]][🏀codecov]
628
622
 
629
623
  [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls]
630
624
 
631
625
  [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov]
632
626
 
627
+ </details>
628
+
633
629
  ### 🪇 Code of Conduct
634
630
 
635
631
  Everyone interacting with this project's codebases, issue trackers,
@@ -644,13 +640,13 @@ Made with [contributors-img][🖐contrib-rocks].
644
640
  Also see GitLab Contributors: [https://gitlab.com/ruby-oauth/auth-sanitizer/-/graphs/main][🚎contributors-gl]
645
641
 
646
642
  <details>
647
- <summary>⭐️ Star History</summary>
643
+ <summary>⭐️ Star History</summary>
648
644
 
649
- <a href="https://star-history.com/#ruby-oauth/auth-sanitizer&Date">
645
+ <a href="https://star-history.com/ruby-oauth/auth-sanitizer&Date">
650
646
  <picture>
651
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=ruby-oauth/auth-sanitizer&type=Date&theme=dark" />
652
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=ruby-oauth/auth-sanitizer&type=Date" />
653
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=ruby-oauth/auth-sanitizer&type=Date" />
647
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=ruby-oauth/auth-sanitizer&type=Date&theme=dark" />
648
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=ruby-oauth/auth-sanitizer&type=Date" />
649
+ <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=ruby-oauth/auth-sanitizer&type=Date" />
654
650
  </picture>
655
651
  </a>
656
652
 
@@ -658,19 +654,8 @@ Also see GitLab Contributors: [https://gitlab.com/ruby-oauth/auth-sanitizer/-/gr
658
654
 
659
655
  ## 📌 Versioning
660
656
 
661
- This Library adheres to [![Semantic Versioning 2.0.0][📌semver-img]][📌semver].
662
- Violations of this scheme should be reported as bugs.
663
- Specifically, if a minor or patch version is released that breaks backward compatibility,
664
- a new version should be immediately released that restores compatibility.
665
- Breaking changes to the public API will only be introduced with new major versions.
666
-
667
- > dropping support for a platform is both obviously and objectively a breaking change <br/>
668
- >—Jordan Harband ([@ljharb](https://github.com/ljharb), maintainer of SemVer) [in SemVer issue 716][📌semver-breaking]
669
-
670
- I understand that policy doesn't work universally ("exceptions to every rule!"),
671
- but it is the policy here.
672
- As such, in many cases it is good to specify a dependency on this library using
673
- the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
657
+ This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
658
+ For most applications, prefer the [Pessimistic Version Constraint][📌pvc] with two digits of precision.
674
659
 
675
660
  For example:
676
661
 
@@ -681,8 +666,8 @@ spec.add_dependency("auth-sanitizer", "~> 0.0")
681
666
  <details markdown="1">
682
667
  <summary>📌 Is "Platform Support" part of the public API? More details inside.</summary>
683
668
 
684
- SemVer should, IMO, but doesn't explicitly, say that dropping support for specific Platforms
685
- is a *breaking change* to an API, and for that reason the bike shedding is endless.
669
+ Dropping support for a platform can be a breaking change for affected users.
670
+ If a release changes supported platforms, it should be called out clearly in the changelog and versioned with that impact in mind.
686
671
 
687
672
  To get a better understanding of how SemVer is intended to work over a project's lifetime,
688
673
  read this article from the creator of SemVer:
@@ -702,6 +687,13 @@ the [MIT](MIT.md) [![License: MIT][📄license-img]][📄license-ref].
702
687
 
703
688
  See [LICENSE.md][📄license] for the official copyright notice.
704
689
 
690
+ <details markdown="1">
691
+ <summary>Copyright holders</summary>
692
+
693
+ - Copyright (c) 2026 Peter H. Boling
694
+
695
+ </details>
696
+
705
697
  ## 🤑 A request for help
706
698
 
707
699
  Maintainers have teeth and need to pay their dentists.
@@ -721,6 +713,8 @@ To say "thanks!" ☝️ Join the Discord or 👇️ send money.
721
713
 
722
714
  ### Please give the project a star ⭐ ♥.
723
715
 
716
+ Many parts of this project are actively managed by a [kettle-jem](https://github.com/structuredmerge/structuredmerge-ruby/tree/main/gems/kettle-jem) smart template utilizing [StructuredMerge.org](https://structuredmerge.org) merge contracts.
717
+
724
718
  Thanks for RTFM. ☺️
725
719
 
726
720
  [⛳liberapay-img]: https://img.shields.io/liberapay/goal/pboling.svg?logo=liberapay&color=a51611&style=flat
@@ -765,7 +759,7 @@ Thanks for RTFM. ☺️
765
759
  [⛳️gem-name]: https://bestgems.org/gems/auth-sanitizer
766
760
  [⛳️name-img]: https://img.shields.io/badge/name-auth--sanitizer-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
767
761
  [⛳️tag-img]: https://img.shields.io/github/tag/ruby-oauth/auth-sanitizer.svg
768
- [⛳️tag]: http://github.com/ruby-oauth/auth-sanitizer/releases
762
+ [⛳️tag]: https://github.com/ruby-oauth/auth-sanitizer/releases
769
763
  [🚂maint-blog]: http://www.railsbling.com/tags/auth-sanitizer
770
764
  [🚂maint-blog-img]: https://img.shields.io/badge/blog-railsbling-0093D0.svg?style=for-the-badge&logo=rubyonrails&logoColor=orange
771
765
  [🚂maint-contact]: http://www.railsbling.com/contact
@@ -800,7 +794,7 @@ Thanks for RTFM. ☺️
800
794
  [💁🏼‍♂️peterboling]: http://www.peterboling.com
801
795
  [🚂railsbling]: http://www.railsbling.com
802
796
  [📜src-gl-img]: https://img.shields.io/badge/GitLab-FBA326?style=for-the-badge&logo=Gitlab&logoColor=orange
803
- [📜src-gl]: https://gitlab.com/ruby-oauth/auth-sanitizer/
797
+ [📜src-gl]: https://gitlab.com/ruby-oauth/auth-sanitizer
804
798
  [📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
805
799
  [📜src-cb]: https://codeberg.org/ruby-oauth/auth-sanitizer
806
800
  [📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=Github&logoColor=green
@@ -809,8 +803,8 @@ Thanks for RTFM. ☺️
809
803
  [📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
810
804
  [📜gl-wiki]: https://gitlab.com/ruby-oauth/auth-sanitizer/-/wikis/home
811
805
  [📜gh-wiki]: https://github.com/ruby-oauth/auth-sanitizer/wiki
812
- [📜gl-wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
813
- [📜gh-wiki-img]: https://img.shields.io/badge/wiki-examples-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
806
+ [📜gl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
807
+ [📜gh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
814
808
  [👽dl-rank]: https://bestgems.org/gems/auth-sanitizer
815
809
  [👽dl-ranki]: https://img.shields.io/gem/rd/auth-sanitizer.svg
816
810
  [👽version]: https://bestgems.org/gems/auth-sanitizer
@@ -823,9 +817,6 @@ Thanks for RTFM. ☺️
823
817
  [🏀codecovi]: https://codecov.io/gh/ruby-oauth/auth-sanitizer/graph/badge.svg
824
818
  [🏀coveralls]: https://coveralls.io/github/ruby-oauth/auth-sanitizer?branch=main
825
819
  [🏀coveralls-img]: https://coveralls.io/repos/github/ruby-oauth/auth-sanitizer/badge.svg?branch=main
826
- [🖐codeQL]: https://github.com/ruby-oauth/auth-sanitizer/security/code-scanning
827
- [🖐codeQL-img]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/codeql-analysis.yml/badge.svg
828
- [🚎ruby-2.3-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/ruby-2.3.yml
829
820
  [🚎ruby-2.4-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/ruby-2.4.yml
830
821
  [🚎ruby-2.5-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/ruby-2.5.yml
831
822
  [🚎ruby-2.6-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/ruby-2.6.yml
@@ -835,6 +826,7 @@ Thanks for RTFM. ☺️
835
826
  [🚎ruby-3.2-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/ruby-3.2.yml
836
827
  [🚎ruby-3.3-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/ruby-3.3.yml
837
828
  [🚎ruby-3.4-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/ruby-3.4.yml
829
+ [🚎jruby-9.2-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/jruby-9.2.yml
838
830
  [🚎jruby-9.3-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/jruby-9.3.yml
839
831
  [🚎jruby-9.4-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/jruby-9.4.yml
840
832
  [🚎truby-22.3-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/truffleruby-22.3.yml
@@ -863,7 +855,7 @@ Thanks for RTFM. ☺️
863
855
  [🚎15-🪪-wf]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/license-eye.yml
864
856
  [🚎15-🪪-wfi]: https://github.com/ruby-oauth/auth-sanitizer/actions/workflows/license-eye.yml/badge.svg
865
857
  [💎ruby-2.2i]: https://img.shields.io/badge/Ruby-2.2_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
866
- [💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
858
+ [💎ruby-2.3i]: https://img.shields.io/badge/Ruby-2.3_(%F0%9F%9A%ABCI)-AABBCC?style=for-the-badge&logo=ruby&logoColor=white
867
859
  [💎ruby-2.4i]: https://img.shields.io/badge/Ruby-2.4-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
868
860
  [💎ruby-2.5i]: https://img.shields.io/badge/Ruby-2.5-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
869
861
  [💎ruby-2.6i]: https://img.shields.io/badge/Ruby-2.6-DF00CA?style=for-the-badge&logo=ruby&logoColor=white
@@ -882,6 +874,7 @@ Thanks for RTFM. ☺️
882
874
  [💎truby-24.2i]: https://img.shields.io/badge/Truffle_Ruby-24.2-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
883
875
  [💎truby-25.0i]: https://img.shields.io/badge/Truffle_Ruby-25.0-34BCB1?style=for-the-badge&logo=ruby&logoColor=pink
884
876
  [💎truby-c-i]: https://img.shields.io/badge/Truffle_Ruby-current-34BCB1?style=for-the-badge&logo=ruby&logoColor=green
877
+ [💎jruby-9.2i]: https://img.shields.io/badge/JRuby-9.2-FBE742?style=for-the-badge&logo=ruby&logoColor=red
885
878
  [💎jruby-9.3i]: https://img.shields.io/badge/JRuby-9.3-FBE742?style=for-the-badge&logo=ruby&logoColor=red
886
879
  [💎jruby-9.4i]: https://img.shields.io/badge/JRuby-9.4-FBE742?style=for-the-badge&logo=ruby&logoColor=red
887
880
  [💎jruby-c-i]: https://img.shields.io/badge/JRuby-current-FBE742?style=for-the-badge&logo=ruby&logoColor=green
@@ -893,34 +886,35 @@ Thanks for RTFM. ☺️
893
886
  [🤝cb-issues]: https://codeberg.org/ruby-oauth/auth-sanitizer/issues
894
887
  [🤝cb-pulls]: https://codeberg.org/ruby-oauth/auth-sanitizer/pulls
895
888
  [🤝cb-donate]: https://donate.codeberg.org/
896
- [🤝contributing]: CONTRIBUTING.md
897
- [🏀codecov-g]: https://codecov.io/gh/ruby-oauth/auth-sanitizer/graphs/tree.svg
889
+ [🤝contributing]: https://github.com/ruby-oauth/auth-sanitizer/blob/main/CONTRIBUTING.md
890
+ [🏀codecov-g]: https://codecov.io/gh/ruby-oauth/auth-sanitizer/graph/badge.svg
898
891
  [🖐contrib-rocks]: https://contrib.rocks
899
892
  [🖐contributors]: https://github.com/ruby-oauth/auth-sanitizer/graphs/contributors
900
893
  [🖐contributors-img]: https://contrib.rocks/image?repo=ruby-oauth/auth-sanitizer
901
894
  [🚎contributors-gl]: https://gitlab.com/ruby-oauth/auth-sanitizer/-/graphs/main
902
- [🪇conduct]: CODE_OF_CONDUCT.md
895
+ [🪇conduct]: https://github.com/ruby-oauth/auth-sanitizer/blob/main/CODE_OF_CONDUCT.md
903
896
  [🪇conduct-img]: https://img.shields.io/badge/Contributor_Covenant-2.1-259D6C.svg
904
897
  [📌pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
905
898
  [📌semver]: https://semver.org/spec/v2.0.0.html
906
899
  [📌semver-img]: https://img.shields.io/badge/semver-2.0.0-259D6C.svg?style=flat
907
900
  [📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
908
901
  [📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
909
- [📌changelog]: CHANGELOG.md
902
+ [📌changelog]: https://github.com/ruby-oauth/auth-sanitizer/blob/main/CHANGELOG.md
910
903
  [📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
911
904
  [📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-34495e.svg?style=flat
912
905
  [📌gitmoji]: https://gitmoji.dev
913
906
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
914
907
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
915
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.135-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
916
- [🔐security]: SECURITY.md
908
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.145-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
909
+ [🔐security]: https://github.com/ruby-oauth/auth-sanitizer/blob/main/SECURITY.md
917
910
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
918
911
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
919
912
  [📄license]: LICENSE.md
920
- [📄license-ref]: https://opensource.org/licenses/MIT
913
+ [📄license-ref]: MIT.md
921
914
  [📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
922
- [📄license-compat]: https://dev.to/galtzo/how-to-check-license-compatibility-41h0
923
- [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
915
+ [📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
916
+ [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-✓-259D6C.svg?style=flat&logo=Apache
917
+
924
918
  [📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
925
919
  [📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
926
920
  [🚎yard-current]: http://rubydoc.info/gems/auth-sanitizer
@@ -932,3 +926,14 @@ Thanks for RTFM. ☺️
932
926
  [💎appraisal2]: https://github.com/appraisal-rb/appraisal2
933
927
  [💎appraisal2-img]: https://img.shields.io/badge/appraised_by-appraisal2-34495e.svg?plastic&logo=ruby&logoColor=white
934
928
  [💎d-in-dvcs]: https://railsbling.com/posts/dvcs/put_the_d_in_dvcs/
929
+
930
+ <!-- kettle-jem:metadata:start -->
931
+ | Field | Value |
932
+ |---|---|
933
+ | Package | auth-sanitizer |
934
+ | Description | 💎 Configurable KV output redaction. Sanitize/filter your secrets. |
935
+ | Homepage | https://github.com/ruby-oauth/auth-sanitizer |
936
+ | Source | https://github.com/ruby-oauth/auth-sanitizer/tree/v0.2.0 |
937
+ | License | `MIT` |
938
+ | 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/auth-sanitizer, https://www.buymeacoffee.com/pboling |
939
+ <!-- kettle-jem:metadata:end -->