1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Rename method to clarify

6dc76146ad
This commit is contained in:
David Rodríguez 2020-04-27 18:49:13 +02:00 committed by Hiroshi SHIBATA
parent 53b548f438
commit d59b92221d
Notes: git 2020-05-08 14:14:21 +09:00

View file

@ -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)}