Skip to content

Commit 844f143

Browse files
committed
🧪 Disable RubyGems prelude in auth sanitizer load spec
1 parent 7064cc5 commit 844f143

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

.rubocop_gradual.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"spec/oauth2/auth_sanitizer_spec.rb:2223470268": [
2+
"spec/oauth2/auth_sanitizer_spec.rb:1763449711": [
33
[19, 14, 2, "Lint/Syntax: unexpected token tLSHFT\n(Using Ruby 2.2 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 5859461],
4-
[65, 35, 2, "Lint/Syntax: unexpected token tLSHFT\n(Using Ruby 2.2 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 5859461],
5-
[66, 38, 2, "Lint/Syntax: unexpected token tIDENTIFIER\n(Using Ruby 2.2 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 5861278],
6-
[66, 66, 4, "Lint/Syntax: unexpected token tIDENTIFIER\n(Using Ruby 2.2 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 2087898353],
7-
[68, 13, 1, "Lint/Syntax: unexpected token tCOLON\n(Using Ruby 2.2 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 177567]
4+
[66, 35, 2, "Lint/Syntax: unexpected token tLSHFT\n(Using Ruby 2.2 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 5859461],
5+
[67, 38, 2, "Lint/Syntax: unexpected token tIDENTIFIER\n(Using Ruby 2.2 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 5861278],
6+
[67, 66, 4, "Lint/Syntax: unexpected token tIDENTIFIER\n(Using Ruby 2.2 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 2087898353],
7+
[69, 13, 1, "Lint/Syntax: unexpected token tCOLON\n(Using Ruby 2.2 parser; configure using `TargetRubyVersion` parameter, under `AllCops`)", 177567]
88
]
99
}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Please file a bug if you notice a violation of semantic versioning.
2828

2929
### Fixed
3030

31+
- Fixed the isolated `auth-sanitizer` load-path regression spec so child Ruby
32+
processes cannot inherit Bundler/Appraisal activation from CI startup.
33+
3134
### Security
3235

3336
## [2.0.24] - 2026-06-18

spec/oauth2/auth_sanitizer_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def find_by_name(name, *requirements)
5454
stdout, stderr, status = Open3.capture3(
5555
ruby_env,
5656
RbConfig.ruby,
57+
"--disable=gems",
5758
"-I",
5859
oauth2_lib,
5960
"-I",

0 commit comments

Comments
 (0)