mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use gem name to specify
This commit is contained in:
parent
e51b6aa81d
commit
cdaae38f79
1 changed files with 8 additions and 8 deletions
|
@ -62,7 +62,7 @@ $repositories = {
|
||||||
fileutils: 'ruby/fileutils',
|
fileutils: 'ruby/fileutils',
|
||||||
fiddle: 'ruby/fiddle',
|
fiddle: 'ruby/fiddle',
|
||||||
stringio: 'ruby/stringio',
|
stringio: 'ruby/stringio',
|
||||||
ioconsole: 'ruby/io-console',
|
"io-console": 'ruby/io-console',
|
||||||
csv: 'ruby/csv',
|
csv: 'ruby/csv',
|
||||||
webrick: 'ruby/webrick',
|
webrick: 'ruby/webrick',
|
||||||
dbm: 'ruby/dbm',
|
dbm: 'ruby/dbm',
|
||||||
|
@ -89,11 +89,11 @@ $repositories = {
|
||||||
pstore: "ruby/pstore",
|
pstore: "ruby/pstore",
|
||||||
delegate: "ruby/delegate",
|
delegate: "ruby/delegate",
|
||||||
benchmark: "ruby/benchmark",
|
benchmark: "ruby/benchmark",
|
||||||
netpop: "ruby/net-pop",
|
"net-pop": "ruby/net-pop",
|
||||||
netsmtp: "ruby/net-smtp",
|
"net-smtp": "ruby/net-smtp",
|
||||||
cgi: "ruby/cgi",
|
cgi: "ruby/cgi",
|
||||||
readline: "ruby/readline",
|
readline: "ruby/readline",
|
||||||
readlineext: "ruby/readline-ext",
|
"readline-ext": "ruby/readline-ext",
|
||||||
observer: "ruby/observer",
|
observer: "ruby/observer",
|
||||||
timeout: "ruby/timeout",
|
timeout: "ruby/timeout",
|
||||||
yaml: "ruby/yaml",
|
yaml: "ruby/yaml",
|
||||||
|
@ -166,7 +166,7 @@ def sync_default_gems(gem)
|
||||||
cp_r("#{upstream}/test/stringio", "test")
|
cp_r("#{upstream}/test/stringio", "test")
|
||||||
cp_r("#{upstream}/stringio.gemspec", "ext/stringio")
|
cp_r("#{upstream}/stringio.gemspec", "ext/stringio")
|
||||||
`git checkout ext/stringio/depend ext/stringio/README.md`
|
`git checkout ext/stringio/depend ext/stringio/README.md`
|
||||||
when "ioconsole"
|
when "io-console"
|
||||||
rm_rf(%w[ext/io/console test/io/console])
|
rm_rf(%w[ext/io/console test/io/console])
|
||||||
cp_r("#{upstream}/ext/io/console", "ext/io")
|
cp_r("#{upstream}/ext/io/console", "ext/io")
|
||||||
cp_r("#{upstream}/test/io/console", "test/io")
|
cp_r("#{upstream}/test/io/console", "test/io")
|
||||||
|
@ -252,13 +252,13 @@ def sync_default_gems(gem)
|
||||||
cp_r("#{upstream}/openssl.gemspec", "ext/openssl")
|
cp_r("#{upstream}/openssl.gemspec", "ext/openssl")
|
||||||
cp_r("#{upstream}/HISTORY.md", "ext/openssl")
|
cp_r("#{upstream}/HISTORY.md", "ext/openssl")
|
||||||
`git checkout ext/openssl/depend`
|
`git checkout ext/openssl/depend`
|
||||||
when "netpop"
|
when "net-pop"
|
||||||
sync_lib "net-pop"
|
sync_lib "net-pop"
|
||||||
mv "lib/net-pop.gemspec", "lib/net/pop"
|
mv "lib/net-pop.gemspec", "lib/net/pop"
|
||||||
when "netsmtp"
|
when "net-smtp"
|
||||||
sync_lib "net-smtp"
|
sync_lib "net-smtp"
|
||||||
mv "lib/net-smtp.gemspec", "lib/net/smtp"
|
mv "lib/net-smtp.gemspec", "lib/net/smtp"
|
||||||
when "readlineext"
|
when "readline-ext"
|
||||||
sync_lib "readline-ext"
|
sync_lib "readline-ext"
|
||||||
mv "lib/readline-ext.gemspec", "ext/readline"
|
mv "lib/readline-ext.gemspec", "ext/readline"
|
||||||
when "did_you_mean"
|
when "did_you_mean"
|
||||||
|
|
Loading…
Reference in a new issue