[前][次][番号順一覧][スレッド一覧]

ruby-changes:61143

From: David <ko1@a...>
Date: Fri, 8 May 2020 14:15:04 +0900 (JST)
Subject: [ruby-changes:61143] c74d306b22 (master): [rubygems/rubygems] Only need to call helper once

https://git.ruby-lang.org/ruby.git/commit/?id=c74d306b22

From c74d306b22606da28669264f8c449fe697c1fd3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Mon, 27 Apr 2020 22:17:30 +0200
Subject: [rubygems/rubygems] Only need to call helper once

https://github.com/rubygems/rubygems/commit/6ddbf5bcab

diff --git a/lib/rubygems/commands/setup_command.rb b/lib/rubygems/commands/setup_command.rb
index b330b8a..37a305e 100644
--- a/lib/rubygems/commands/setup_command.rb
+++ b/lib/rubygems/commands/setup_command.rb
@@ -324,9 +324,7 @@ By default, this RubyGems will install gem as: https://github.com/ruby/ruby/blob/trunk/lib/rubygems/commands/setup_command.rb#L324
       pem_files = pem_files_in path
 
       Dir.chdir path do
-        install_file_list(lib_files, lib_dir)
-
-        install_file_list(pem_files, lib_dir)
+        install_file_list(lib_files + pem_files, lib_dir)
       end
     end
   end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]