auth-sanitizer 0.2.1 → 0.2.5
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +177 -1
- data/LICENSE.md +1 -1
- data/README.md +125 -141
- data/lib/auth/sanitizer/core.rb +19 -13
- data/lib/auth/sanitizer/filtered_attributes.rb +15 -10
- data/lib/auth/sanitizer/sanitized_logger.rb +29 -66
- data/lib/auth/sanitizer/thing_filter.rb +3 -3
- data/lib/auth/sanitizer/value_sanitizer.rb +54 -0
- data/lib/auth/sanitizer/version.rb +4 -1
- data/lib/auth/sanitizer.rb +2 -1
- data/lib/auth_sanitizer/loader.rb +6 -0
- data/sig/auth/sanitizer.rbs +12 -0
- data.tar.gz.sig +0 -0
- metadata +51 -46
- metadata.gz.sig +5 -6
- data/CITATION.cff +0 -20
- data/CODE_OF_CONDUCT.md +0 -134
- data/CONTRIBUTING.md +0 -272
- data/FUNDING.md +0 -74
- data/RUBOCOP.md +0 -71
- data/SECURITY.md +0 -21
- data/certs/pboling.pem +0 -27
- data/sig/auth/sanitizer/version.rbs +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b0218d87fe77fa1705ba06cbd2b4cb5eae0e04b7769312f2d2c8270de81eb741
|
|
4
|
+
data.tar.gz: 005dbc3a409a7d06e18943d0441526a26d29ec325daf1df0745bd3819ec4ab37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b171736f3d3d7d2d3ae43c783c172527b90d19aedf4b7c11685e1617108bdbeb5b2dc443b756334fc17532d8b4152a63e29b889c00c9d9d2e5b32dea881794a
|
|
7
|
+
data.tar.gz: ac8b6d5a01d765678224f729b16fd10104e126049baaee13f5de0dbd32eb027b7e4b3d05cb84f8c32d351654c37ef79fe72ae085481e56d86bf848d2dafb0e56
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,174 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [0.2.5] - 2026-10-25
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.2.5][0.2.5t]
|
|
36
|
+
- COVERAGE: 100.00% -- 184/184 lines in 8 files
|
|
37
|
+
- BRANCH COVERAGE: 100.00% -- 40/40 branches in 8 files
|
|
38
|
+
- 98.21% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- kettle-jem-template-20260720-001 - READMEs can now display configured
|
|
43
|
+
corporate sponsor logos.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- [kc] kettle-jem/prepare: updated 15 project files:
|
|
48
|
+
- dependencies (15)
|
|
49
|
+
|
|
50
|
+
- [kc] kettle-jem/template: updated 7 project files:
|
|
51
|
+
- code and tests (1)
|
|
52
|
+
- dependencies (2)
|
|
53
|
+
- documentation (1)
|
|
54
|
+
- other (2)
|
|
55
|
+
- workflows (1)
|
|
56
|
+
|
|
57
|
+
## [0.2.4] - 2026-10-23
|
|
58
|
+
|
|
59
|
+
- TAG: [v0.2.4][0.2.4t]
|
|
60
|
+
- COVERAGE: 100.00% -- 172/172 lines in 7 files
|
|
61
|
+
- BRANCH COVERAGE: 100.00% -- 34/34 branches in 7 files
|
|
62
|
+
- 98.08% documented
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
|
|
66
|
+
- kettle-jem-template-20260720-005 - README Support & Community links now
|
|
67
|
+
include RubyForum.
|
|
68
|
+
- kettle-jem-template-20260726-001 - Projects now include YARD lint
|
|
69
|
+
configuration and documentation dependencies so documentation issues fail
|
|
70
|
+
before generated docs are refreshed.
|
|
71
|
+
- kettle-jem-template-20260727-001 - Spec harness documentation now lists the
|
|
72
|
+
RSpec helpers provided by `kettle-test`.
|
|
73
|
+
|
|
74
|
+
- kettle-jem-template-20260913-001 - Templating now also surfaces a review
|
|
75
|
+
entry in `dependency_conflicts.resolve` when a direct development
|
|
76
|
+
dependency doesn't support one or more of this project's declared
|
|
77
|
+
`engines:` and has no template-managed modular home (e.g. `sqlite3` on
|
|
78
|
+
`jruby`). Review each entry and pick a resolution per the project's own
|
|
79
|
+
engine support needs.
|
|
80
|
+
|
|
81
|
+
### Changed
|
|
82
|
+
|
|
83
|
+
- kettle-jem-template-20260716-002 - Generated gemspec manifests now ship fewer
|
|
84
|
+
repository-only files by default to reduce downstream distro packaging churn.
|
|
85
|
+
|
|
86
|
+
- kettle-jem-template-20260720-002 - Development Gemfiles now use the released
|
|
87
|
+
`tree_sitter_language_pack` gem 1.13.3 or newer by default.
|
|
88
|
+
- kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
|
|
89
|
+
cover `version.rb` without redefining constants, or are removed when version
|
|
90
|
+
specs are not managed for the project.
|
|
91
|
+
- kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
|
|
92
|
+
setup-ruby-flash planning and can prepare appraisal-only jobs without
|
|
93
|
+
installing the main Gemfile bundle.
|
|
94
|
+
|
|
95
|
+
- kettle-jem-template-20260801-001 - Generated README gem dashboard links now
|
|
96
|
+
use ClickGems instead of BestGems.
|
|
97
|
+
|
|
98
|
+
- [kc] kettle-jem/prepare: updated 17 project files:
|
|
99
|
+
- configuration (1)
|
|
100
|
+
- dependencies (16)
|
|
101
|
+
|
|
102
|
+
- [kc] kettle-jem/template: updated 52 project files:
|
|
103
|
+
- code and tests (4)
|
|
104
|
+
- configuration (1)
|
|
105
|
+
- dependencies (8)
|
|
106
|
+
- documentation (2)
|
|
107
|
+
- other (5)
|
|
108
|
+
- workflows (32)
|
|
109
|
+
|
|
110
|
+
### Fixed
|
|
111
|
+
|
|
112
|
+
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
113
|
+
uses the installed `smorg-rb` driver command.
|
|
114
|
+
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
115
|
+
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
116
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
117
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
118
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
119
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
120
|
+
coverage thresholds still pass.
|
|
121
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
122
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
123
|
+
installs are not reported as project lint debt.
|
|
124
|
+
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
125
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
126
|
+
before the test suite starts.
|
|
127
|
+
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
128
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
129
|
+
lockfile parser failures on Git and path dependencies.
|
|
130
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
131
|
+
missing canonical version spec when a project only has shim namespace version
|
|
132
|
+
specs.
|
|
133
|
+
- kettle-jem-template-20260729-001 - Generated JRuby 9.4 workflows now use the
|
|
134
|
+
legacy manual bundle install path, avoiding setup-time Bundler full-index
|
|
135
|
+
failures against `gem.coop`.
|
|
136
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
137
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
138
|
+
even when the gemspec is loaded from another working directory.
|
|
139
|
+
|
|
140
|
+
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
141
|
+
managed configuration block bindings structurally, preventing mixed block
|
|
142
|
+
parameter names from producing invalid configuration after a merge.
|
|
143
|
+
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
144
|
+
documentation now normalize configured underscore hostnames to valid
|
|
145
|
+
hyphenated hostnames.
|
|
146
|
+
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
147
|
+
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
148
|
+
matching Galtzo-hosted asset exists.
|
|
149
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
150
|
+
preserving comments and trailing commas during template updates.
|
|
151
|
+
|
|
152
|
+
- Fix load-order `NameError: uninitialized constant Auth::Sanitizer::Version` by removing a duplicate `VersionGem::Basic` class_eval from `auth/sanitizer/core` (the version constant is loaded after `core` in `auth/sanitizer.rb`).
|
|
153
|
+
|
|
154
|
+
- Gemspec no longer defines a top-level `Auth` constant when evaluated on Ruby < 3.1 (e.g. by `bundler/setup`); the version file now loads into an anonymous module via `Module#module_eval` on all supported Rubies. This un-breaks the isolated-loading specs and the ruby-2.4 CI workflow.
|
|
155
|
+
|
|
156
|
+
### Security
|
|
157
|
+
|
|
158
|
+
- SanitizedLogger now redacts configured keys in Ruby `Hash#inspect` output (both Ruby 3.4+ `{"key" => "value"}` / `{key: "value"}` and pre-3.4 hash-rocket formats), fixes a mangling bug where the form-pair pattern partially matched `:key=>"value"` pairs, and no longer raises on invalid-encoded message bytes. This closes the OAUTH_DEBUG cleartext-logging bypass reported for oauth2 as GHSA-cmh8-5q25-68v6, where Faraday renders Hash request bodies with `pretty_inspect`. Reported by iamibi.
|
|
159
|
+
|
|
160
|
+
## [0.2.3] - 2026-07-14
|
|
161
|
+
|
|
162
|
+
- TAG: [v0.2.3][0.2.3t]
|
|
163
|
+
- COVERAGE: 85.80% -- 145/169 lines in 7 files
|
|
164
|
+
- BRANCH COVERAGE: 82.35% -- 28/34 branches in 7 files
|
|
165
|
+
- 84.62% documented
|
|
166
|
+
|
|
167
|
+
### Added
|
|
168
|
+
|
|
169
|
+
- Added support for JRuby 10.1 and TruffleRuby 34.0.
|
|
170
|
+
|
|
171
|
+
### Changed
|
|
172
|
+
|
|
173
|
+
- Retemplated project metadata and CI/development automation with `kettle-jem` v7.0.0.
|
|
174
|
+
|
|
175
|
+
### Fixed
|
|
176
|
+
|
|
177
|
+
- Package configured license files in gem release file lists.
|
|
178
|
+
|
|
179
|
+
- Removed stale local-path `version_gem` state from the main lockfile.
|
|
180
|
+
- Prevented gemspec version detection from defining top-level `Auth` on older
|
|
181
|
+
Rubies.
|
|
182
|
+
|
|
183
|
+
## [0.2.2] - 2026-06-18
|
|
184
|
+
|
|
185
|
+
- TAG: [v0.2.2][0.2.2t]
|
|
186
|
+
- COVERAGE: 100.00% -- 145/145 lines in 6 files
|
|
187
|
+
- BRANCH COVERAGE: 100.00% -- 28/28 branches in 6 files
|
|
188
|
+
- 84.62% documented
|
|
189
|
+
|
|
190
|
+
### Changed
|
|
191
|
+
|
|
192
|
+
- Documented the released `anonymous_loader` gem as the preferred reusable
|
|
193
|
+
helper for zero-`auth-sanitizer`-namespace loading.
|
|
194
|
+
|
|
195
|
+
### Fixed
|
|
196
|
+
|
|
197
|
+
- Documented the `$LOAD_PATH` fallback needed by isolated loader consumers when
|
|
198
|
+
Bundler standalone setup provides `auth_sanitizer/loader.rb` without a
|
|
199
|
+
matching `Gem.loaded_specs` or `GEM_PATH` entry.
|
|
200
|
+
|
|
33
201
|
## [0.2.1] - 2026-06-06
|
|
34
202
|
|
|
35
203
|
- TAG: [v0.2.1][0.2.1t]
|
|
@@ -151,7 +319,15 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
151
319
|
|
|
152
320
|
- Initial release
|
|
153
321
|
|
|
154
|
-
[Unreleased]: https://github.com/ruby-oauth/auth-sanitizer/compare/v0.2.
|
|
322
|
+
[Unreleased]: https://github.com/ruby-oauth/auth-sanitizer/compare/v0.2.5...HEAD
|
|
323
|
+
[0.2.5]: https://github.com/ruby-oauth/auth-sanitizer/compare/v0.2.4...v0.2.5
|
|
324
|
+
[0.2.5t]: https://github.com/ruby-oauth/auth-sanitizer/releases/tag/v0.2.5
|
|
325
|
+
[0.2.4]: https://github.com/ruby-oauth/auth-sanitizer/compare/v0.2.3...v0.2.4
|
|
326
|
+
[0.2.4t]: https://github.com/ruby-oauth/auth-sanitizer/releases/tag/v0.2.4
|
|
327
|
+
[0.2.3]: https://github.com/ruby-oauth/auth-sanitizer/compare/v0.2.2...v0.2.3
|
|
328
|
+
[0.2.3t]: https://github.com/ruby-oauth/auth-sanitizer/releases/tag/v0.2.3
|
|
329
|
+
[0.2.2]: https://github.com/ruby-oauth/auth-sanitizer/compare/v0.2.1...v0.2.2
|
|
330
|
+
[0.2.2t]: https://github.com/ruby-oauth/auth-sanitizer/releases/tag/v0.2.2
|
|
155
331
|
[0.2.1]: https://github.com/ruby-oauth/auth-sanitizer/compare/v0.2.0...v0.2.1
|
|
156
332
|
[0.2.1t]: https://github.com/ruby-oauth/auth-sanitizer/releases/tag/v0.2.1
|
|
157
333
|
[0.2.0]: https://github.com/ruby-oauth/auth-sanitizer/compare/v0.1.5...v0.2.0
|