summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-30 21:10:28 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-30 21:10:28 +0900
commitd75b42a70aa4c4ceed3f4d71a51aba3586ebbf2e (patch)
tree4762e977f6e1fe272a828803e87f7fd3447328cc /tool
parentec1ab1d46542a5332b887b750f694836fd5e44b9 (diff)
Promote io-wait to the default gems
Diffstat (limited to 'tool')
-rw-r--r--tool/sync_default_gems.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 661711f444..f0b9bd40bc 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -14,6 +14,7 @@ $repositories = {
fiddle: 'ruby/fiddle',
stringio: 'ruby/stringio',
"io-console": 'ruby/io-console',
+ "io-wait": 'ruby/io-wait',
csv: 'ruby/csv',
webrick: 'ruby/webrick',
dbm: 'ruby/dbm',
@@ -134,6 +135,12 @@ def sync_default_gems(gem)
cp_r("#{upstream}/lib/io/console", "ext/io/console/lib")
cp_r("#{upstream}/io-console.gemspec", "ext/io/console")
`git checkout ext/io/console/depend`
+ when "io-wait"
+ rm_rf(%w[ext/io/wait test/io/wait])
+ cp_r("#{upstream}/ext/io/wait", "ext/io")
+ cp_r("#{upstream}/test/io/wait", "test/io")
+ cp_r("#{upstream}/io-wait.gemspec", "ext/io/wait")
+ `git checkout ext/io/wait/depend`
when "dbm"
rm_rf(%w[ext/dbm test/dbm])
cp_r("#{upstream}/ext/dbm", "ext")