Skip to content

Commit 7b77603

Browse files
hsbtclaude
authored andcommitted
[ruby/rubygems] Move bundler test tmp directory from bundler/tmp to top-level tmp
The bundler tests were writing temporary files to bundler/tmp, but this moves them to the repository's top-level tmp directory instead, which is already covered by .gitignore. All references in CI workflows, SimpleCov filters, rubocop excludes, codespell config, and documentation have been updated accordingly. ruby/rubygems@89f4def64a Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 90924bc commit 7b77603

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spec/bundler/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
add_filter "/lib/rubygems/"
5757
add_filter "/lib/bundler/vendor/"
5858
add_filter "/tool/"
59-
add_filter "/bundler/tmp/"
59+
add_filter "/tmp/"
6060
add_filter ".gemspec"
6161
end
6262

spec/bundler/support/path.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def tmp_root
123123
end
124124
Pathname(real)
125125
else
126-
source_root.join("tmp")
126+
Pathname.new("../..").expand_path(__dir__).join("tmp")
127127
end
128128
end
129129

0 commit comments

Comments
 (0)