mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Fix ruby warnings about a shadowed variable
https://github.com/rubygems/rubygems/commit/5cfb3252d9
This commit is contained in:
parent
a0c4d14acf
commit
2ece4d96f0
Notes:
git
2020-05-08 14:14:29 +09:00
1 changed files with 2 additions and 2 deletions
|
@ -749,12 +749,12 @@ gem 'other', version
|
|||
end
|
||||
|
||||
def test_generate_plugins_with_install_dir
|
||||
spec = quick_gem 'a' do |spec|
|
||||
spec = quick_gem 'a' do |s|
|
||||
write_file File.join(@tempdir, 'lib', 'rubygems_plugin.rb') do |io|
|
||||
io.write "puts __FILE__"
|
||||
end
|
||||
|
||||
spec.files += %w[lib/rubygems_plugin.rb]
|
||||
s.files += %w[lib/rubygems_plugin.rb]
|
||||
end
|
||||
|
||||
util_build_gem spec
|
||||
|
|
Loading…
Reference in a new issue