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

Support one repository for updating the latest commits

This commit is contained in:
Hiroshi SHIBATA 2020-04-09 16:34:25 +09:00
parent b965e7e05e
commit 7a26021d1d
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -454,7 +454,11 @@ end
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