ruby-changes:61139
From: David <ko1@a...>
Date: Fri, 8 May 2020 14:15:02 +0900 (JST)
Subject: [ruby-changes:61139] d59b92221d (master): [rubygems/rubygems] Rename method to clarify
https://git.ruby-lang.org/ruby.git/commit/?id=d59b92221d From d59b92221df2188006f0323aa8af969676728ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Mon, 27 Apr 2020 18:49:13 +0200 Subject: [rubygems/rubygems] Rename method to clarify https://github.com/rubygems/rubygems/commit/6dc76146ad diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb index 679803c..69861f9 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: https://github.com/ruby/ruby/blob/trunk/lib/rubygems/commands/setup_command.rb#L329 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: https://github.com/ruby/ruby/blob/trunk/lib/rubygems/commands/setup_command.rb#L503 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 v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/