ruby-changes:61087
From: David <ko1@a...>
Date: Fri, 8 May 2020 14:13:59 +0900 (JST)
Subject: [ruby-changes:61087] 2ece4d96f0 (master): [rubygems/rubygems] Fix ruby warnings about a shadowed variable
https://git.ruby-lang.org/ruby.git/commit/?id=2ece4d96f0 From 2ece4d96f093c8526f86f5efb164e12a0897a325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Mon, 23 Mar 2020 17:51:20 +0100 Subject: [rubygems/rubygems] Fix ruby warnings about a shadowed variable https://github.com/rubygems/rubygems/commit/5cfb3252d9 diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb index 8020a42..7682891 100644 --- a/test/rubygems/test_gem_installer.rb +++ b/test/rubygems/test_gem_installer.rb @@ -749,12 +749,12 @@ gem 'other', version https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_installer.rb#L749 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/