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

ruby-changes:60714

From: Hiroshi <ko1@a...>
Date: Thu, 9 Apr 2020 18:25:03 +0900 (JST)
Subject: [ruby-changes:60714] 7a26021d1d (master): Support one repository for updating the latest commits

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

From 7a26021d1d288912b123447847bc389acac5290e Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Thu, 9 Apr 2020 16:34:25 +0900
Subject: Support one repository for updating the latest commits


diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 7c89422..63cf0a1 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -454,7 +454,11 @@ end https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L454
 
 case ARGV[0]
 when "up"
-  $repositories.keys.each{|gem| update_default_gems(gem.to_s)}
+  if ARGV[1]
+    update_default_gems(ARGV[1])
+  else
+    $repositories.keys.each{|gem| update_default_gems(gem.to_s)}
+  end
 when "all"
   $repositories.keys.each{|gem| sync_default_gems(gem.to_s)}
 else
-- 
cgit v0.10.2


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

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