1
0
Fork 0
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:
David Rodríguez 2020-03-23 17:51:20 +01:00 committed by Hiroshi SHIBATA
parent a0c4d14acf
commit 2ece4d96f0
Notes: git 2020-05-08 14:14:29 +09:00

View file

@ -749,12 +749,12 @@ gem 'other', version
end end
def test_generate_plugins_with_install_dir 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| write_file File.join(@tempdir, 'lib', 'rubygems_plugin.rb') do |io|
io.write "puts __FILE__" io.write "puts __FILE__"
end end
spec.files += %w[lib/rubygems_plugin.rb] s.files += %w[lib/rubygems_plugin.rb]
end end
util_build_gem spec util_build_gem spec