diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-03-16 19:28:52 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-03-16 19:28:52 +0900 |
commit | 4be2a891cce920d2e2c2ece572c66e5aabe98eaa (patch) | |
tree | d59abb69c23f4b7a07da2d5d8dc5d52487207017 /tool | |
parent | 8a6ba10f9dd456cf54de800203cf04bbe42271fb (diff) | |
download | ruby-4be2a891cce920d2e2c2ece572c66e5aabe98eaa.tar.gz |
The upstream repository of bundler was changed rubygems/rubygems now.
https://github.com/rubygems/rubygems/pull/3166
Diffstat (limited to 'tool')
-rw-r--r-- | tool/sync_default_gems.rb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 6600806abd..6692309f54 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -9,7 +9,6 @@ # $ ruby tool/sync_default_gems.rb rubygems 97e9768612..9e53702832 # # * https://github.com/rubygems/rubygems -# * https://github.com/rubygems/bundler # * https://github.com/ruby/rdoc # * https://github.com/ruby/reline # * https://github.com/flori/json @@ -70,7 +69,7 @@ include FileUtils $repositories = { rubygems: 'rubygems/rubygems', - bundler: 'rubygems/bundler', + bundler: 'rubygems/rubygems', rdoc: 'ruby/rdoc', reline: 'ruby/reline', json: 'flori/json', @@ -138,11 +137,11 @@ def sync_default_gems(gem) cp_r("#{upstream}/test/rubygems", "test") when "bundler" rm_rf(%w[lib/bundler* libexec/bundler libexec/bundle spec/bundler man/bundle* man/gemfile*]) - cp_r(Dir.glob("#{upstream}/lib/bundler*"), "lib") - cp_r(Dir.glob("#{upstream}/exe/bundle*"), "libexec") - cp_r("#{upstream}/bundler.gemspec", "lib/bundler") - cp_r("#{upstream}/spec", "spec/bundler") - cp_r(Dir.glob("#{upstream}/man/*.{1,5,1\.txt,5\.txt,ronn}"), "man") + cp_r(Dir.glob("#{upstream}/bundler/lib/bundler*"), "lib") + cp_r(Dir.glob("#{upstream}/bundler/exe/bundle*"), "libexec") + cp_r("#{upstream}/bundler/bundler.gemspec", "lib/bundler") + cp_r("#{upstream}/bundler/spec", "spec/bundler") + cp_r(Dir.glob("#{upstream}/bundler/man/*.{1,5,1\.txt,5\.txt,ronn}"), "man") rm_rf(%w[spec/bundler/support/artifice/vcr_cassettes]) when "rdoc" rm_rf(%w[lib/rdoc* test/rdoc libexec/rdoc libexec/ri]) |