auth-sanitizer 0.1.3 → 0.1.4
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 +19 -1
- data/README.md +16 -4
- data/REEK +0 -2
- data/lib/auth/sanitizer/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 134e152d645296157cf025d9f20f4b025c2d08c93e73309112d6a7e7a9f785c3
|
|
4
|
+
data.tar.gz: 379cd508b6292e2c1185a5ac698f6f0d641c5f3bd5a9ea7163021cb07afa4544
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2e89fd515ca049f65513c2ebc298734059633723277ae406d00d930323aa4b16ed4107e18e89e794e8baf2068724abc9ca0397b986f1724c700308165d7bea1
|
|
7
|
+
data.tar.gz: d744e2ee6178191389e5ed202e9013114bd939de28c73323cad589afb6175a4b38045356b911523d54865c262a3c8a3beb05d91fc7e9b96fb44de477a7bc62f1
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,22 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [0.1.4] - 2026-05-21
|
|
34
|
+
|
|
35
|
+
- TAG: [v0.1.4][0.1.4t]
|
|
36
|
+
- COVERAGE: 100.00% -- 135/135 lines in 6 files
|
|
37
|
+
- BRANCH COVERAGE: 100.00% -- 28/28 branches in 6 files
|
|
38
|
+
- 84.62% documented
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- (docs) Document constrained `auth-sanitizer` version lookup for isolated loader examples
|
|
43
|
+
- (dev) Make templating dependencies opt-in for the main `Gemfile`
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
|
|
47
|
+
- (test) Stop running Appraisal install steps in the locked-deps workflow for the main `Gemfile`
|
|
48
|
+
|
|
33
49
|
## [0.1.3] - 2026-05-20
|
|
34
50
|
|
|
35
51
|
- TAG: [v0.1.3][0.1.3t]
|
|
@@ -79,7 +95,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
79
95
|
|
|
80
96
|
- Initial release
|
|
81
97
|
|
|
82
|
-
[Unreleased]: https://github.com//ruby-oauth/auth-sanitizer/compare/v0.1.
|
|
98
|
+
[Unreleased]: https://github.com//ruby-oauth/auth-sanitizer/compare/v0.1.4...HEAD
|
|
99
|
+
[0.1.4]: https://github.com//ruby-oauth/auth-sanitizer/compare/v0.1.3...v0.1.4
|
|
100
|
+
[0.1.4t]: https://github.com//ruby-oauth/auth-sanitizer/releases/tag/v0.1.4
|
|
83
101
|
[0.1.3]: https://github.com//ruby-oauth/auth-sanitizer/compare/v0.1.2...v0.1.3
|
|
84
102
|
[0.1.3t]: https://github.com//ruby-oauth/auth-sanitizer/releases/tag/v0.1.3
|
|
85
103
|
[0.1.2]: https://github.com//ruby-oauth/auth-sanitizer/compare/v0.1.1...v0.1.2
|
data/README.md
CHANGED
|
@@ -248,12 +248,18 @@ A gem that needs zero new top-level namespaces from this dependency can load the
|
|
|
248
248
|
namespace. On Ruby 3.1+, use `Kernel.load(path, module)`:
|
|
249
249
|
|
|
250
250
|
```ruby
|
|
251
|
-
|
|
252
|
-
|
|
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
|
|
253
256
|
auth_sanitizer_loader_path = File.join(
|
|
254
257
|
auth_sanitizer_spec.full_gem_path,
|
|
255
258
|
"lib/auth_sanitizer/loader.rb",
|
|
256
259
|
)
|
|
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
|
|
257
263
|
|
|
258
264
|
auth_sanitizer_loader_namespace = Module.new
|
|
259
265
|
Kernel.load(auth_sanitizer_loader_path, auth_sanitizer_loader_namespace)
|
|
@@ -274,12 +280,18 @@ Ruby 2.2 through Ruby 3.0 do not support `Kernel.load(path, module)`. For those
|
|
|
274
280
|
inside an anonymous namespace with `Module#module_eval`:
|
|
275
281
|
|
|
276
282
|
```ruby
|
|
277
|
-
|
|
278
|
-
|
|
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
|
|
279
288
|
auth_sanitizer_loader_path = File.join(
|
|
280
289
|
auth_sanitizer_spec.full_gem_path,
|
|
281
290
|
"lib/auth_sanitizer/loader.rb",
|
|
282
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
|
|
283
295
|
|
|
284
296
|
auth_sanitizer_loader_namespace = Module.new
|
|
285
297
|
auth_sanitizer_loader_namespace.module_eval(
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: auth-sanitizer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter H. Boling
|
|
@@ -251,10 +251,10 @@ licenses:
|
|
|
251
251
|
- MIT
|
|
252
252
|
metadata:
|
|
253
253
|
homepage_uri: https://auth-sanitizer.galtzo.com/
|
|
254
|
-
source_code_uri: https://github.com/ruby-oauth/auth-sanitizer/tree/v0.1.
|
|
255
|
-
changelog_uri: https://github.com/ruby-oauth/auth-sanitizer/blob/v0.1.
|
|
254
|
+
source_code_uri: https://github.com/ruby-oauth/auth-sanitizer/tree/v0.1.4
|
|
255
|
+
changelog_uri: https://github.com/ruby-oauth/auth-sanitizer/blob/v0.1.4/CHANGELOG.md
|
|
256
256
|
bug_tracker_uri: https://github.com/ruby-oauth/auth-sanitizer/issues
|
|
257
|
-
documentation_uri: https://www.rubydoc.info/gems/auth-sanitizer/0.1.
|
|
257
|
+
documentation_uri: https://www.rubydoc.info/gems/auth-sanitizer/0.1.4
|
|
258
258
|
funding_uri: https://github.com/sponsors/pboling
|
|
259
259
|
wiki_uri: https://github.com/ruby-oauth/auth-sanitizer/wiki
|
|
260
260
|
news_uri: https://www.railsbling.com/tags/auth-sanitizer
|
metadata.gz.sig
CHANGED
|
Binary file
|