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

The upstream repository of bundler was changed rubygems/rubygems now.

https://github.com/rubygems/rubygems/pull/3166
This commit is contained in:
Hiroshi SHIBATA 2020-03-16 19:28:52 +09:00
parent 8a6ba10f9d
commit 4be2a891cc
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 7 additions and 8 deletions

View file

@ -130,7 +130,7 @@ Zachary Scott (zzak)
https://rubygems.org/gems/benchmark
[lib/bundler.rb, lib/bundler/*]
Hiroshi SHIBATA (hsbt)
https://github.com/rubygems/bundler
https://github.com/rubygems/rubygems
https://rubygems.org/gems/bundler
[lib/cgi.rb, lib/cgi/*]
Takeyuki Fujioka (xibbar)

View file

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