summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-17 12:21:29 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-17 12:21:29 +0000
commite749134f0a38fca202aacc0ff65db882646749c2 (patch)
tree6fc116a3afc76b4d694853be1ee6941c8c2afab2 /tool/sync_default_gems.rb
parentc982cbd16a97e74be42463580c8dea0c1c4bb280 (diff)
Promote Synchronizer to default gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/sync_default_gems.rb')
-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 dc21982298..63e43964e0 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -28,6 +28,7 @@
# * https://github.com/ruby/rexml
# * https://github.com/ruby/rss
# * https://github.com/ruby/irb
+# * https://github.com/ruby/sync
#
$repositories = {
@@ -59,6 +60,7 @@ $repositories = {
rexml: 'ruby/rexml',
rss: 'ruby/rss',
irb: 'ruby/irb',
+ sync: 'ruby/sync'
}
def sync_default_gems(gem)
@@ -212,6 +214,11 @@ def sync_default_gems(gem)
`cp -rf ../ostruct/lib/* lib`
`cp -rf ../ostruct/test/ostruct test`
`cp -f ../ostruct/ostruct.gemspec lib`
+ when "sync"
+ `rm -rf lib/sync.rb test/thread/test_sync.rb`
+ `cp -rf ../sync/lib/* lib`
+ `cp -rf ../sync/test/thread test`
+ `cp -f ../sync/sync.gemspec lib`
when "rexml", "rss", "matrix", "irb", "csv"
sync_lib gem
else