diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-25 12:15:45 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-25 12:15:45 +0000 |
commit | bbb5dbe8ee0fca661e915d01b2927d05622b5918 (patch) | |
tree | c62110f2f8d73e03ec7670cede172b976200b0ea /tool | |
parent | 2b80b8bcec2934a9d8b3a1b33f8e4b697af242c3 (diff) |
Promote ThWait to Default gems.
* lib/thwait.gemspec: Added initial gemspec.
* lib/thwait/version.rb: Added ThWait::VERSION for gemspec.
* tool/sync_default_gems.rb: Support ThWait.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r-- | tool/sync_default_gems.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index ee2e60ab51..b48a2ed7ed 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -32,6 +32,7 @@ # * https://github.com/ruby/tracer # * https://github.com/ruby/shell # * https://github.com/ruby/forwardable +# * https://github.com/ruby/thwait # $repositories = { @@ -66,7 +67,8 @@ $repositories = { sync: 'ruby/sync', tracer: 'ruby/tracer', shell: 'ruby/shell', - forwardable: "ruby/forwardable" + forwardable: "ruby/forwardable", + thwait: "ruby/thwait" } def sync_default_gems(gem) @@ -172,6 +174,10 @@ def sync_default_gems(gem) `cp -rf ../fcntl/ext/fcntl ext` `cp -f ../fcntl/fcntl.gemspec ext/fcntl` `git checkout ext/fcntl/depend` + when "thwait" + `rm -rf lib/thwait*` + `cp -rf ../thwait/lib/* lib` + `cp -rf ../thwait/thwait.gemspec lib` when "strscan" `rm -rf ext/strscan test/strscan` `cp -rf ../strscan/ext/strscan ext` |