From d59b92221df2188006f0323aa8af969676728ead Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Mon, 27 Apr 2020 18:49:13 +0200 Subject: [rubygems/rubygems] Rename method to clarify https://github.com/rubygems/rubygems/commit/6dc76146ad --- lib/rubygems/commands/setup_command.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb index 679803c338..69861f978a 100644 --- a/lib/rubygems/commands/setup_command.rb +++ b/lib/rubygems/commands/setup_command.rb @@ -329,7 +329,7 @@ By default, this RubyGems will install gem as: say "Installing #{tool}" if @verbose lib_files = rb_files_in path - lib_files.concat(template_files) if tool == 'Bundler' + lib_files.concat(bundler_template_files) if tool == 'Bundler' pem_files = pem_files_in path @@ -503,8 +503,7 @@ By default, this RubyGems will install gem as: end end - # for installation of bundler as default gems - def template_files + def bundler_template_files Dir.chdir "bundler/lib" do (Dir[File.join('bundler', 'templates', '**', '{*,.*}')]). select{|f| !File.directory?(f)} -- cgit v1.2.3