Skip to content

Commit

Permalink
The upstream repository of bundler was changed rubygems/rubygems now.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Mar 16, 2020
1 parent 8a6ba10 commit 4be2a89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/maintainers.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
13 changes: 6 additions & 7 deletions tool/sync_default_gems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -70,7 +69,7 @@

$repositories = {
rubygems: 'rubygems/rubygems',
bundler: 'rubygems/bundler',
bundler: 'rubygems/rubygems',
rdoc: 'ruby/rdoc',
reline: 'ruby/reline',
json: 'flori/json',
Expand Down Expand Up @@ -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])
Expand Down

0 comments on commit 4be2a89

Please sign in to comment.