1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Added entries of recent updates for gemification.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2018-06-11 07:42:28 +00:00
parent fff17079d7
commit dbf3e8f63a

View file

@ -21,6 +21,12 @@
# * https://github.com/ruby/cmath
# * https://github.com/ruby/strscan
# * https://github.com/ruby/ipaddr
# * https://github.com/ruby/logger
# * https://github.com/ruby/prime
# * https://github.com/ruby/matrix
# * https://github.com/ruby/ostruct
# * https://github.com/ruby/rexml
# * https://github.com/ruby/rss
#
$repositories = {
@ -45,6 +51,12 @@ $repositories = {
cmath: 'ruby/cmath',
strscan: 'ruby/strscan',
ipaddr: 'ruby/ipaddr',
logger: 'ruby/logger',
prime: 'ruby/prime',
matrix: 'ruby/matrix',
ostruct: 'ruby/ostruct',
rexml: 'ruby/rexml',
rss: 'ruby/rss',
}
def sync_default_gems(gem)
@ -187,6 +199,36 @@ def sync_default_gems(gem)
`cp -rf ../ipaddr/lib/* lib`
`cp -rf ../ipaddr/test/test_ipaddr.rb test`
`cp -f ../ipaddr/ipaddr.gemspec lib`
when "logger"
`rm -rf lib/logger.rb test/logger`
`cp -rf ../logger/lib/* lib`
`cp -rf ../logger/test/logger test`
`cp -f ../logger/logger.gemspec lib`
when "prime"
`rm -rf lib/prime.rb test/test_prime.rb`
`cp -rf ../prime/lib/* lib`
`cp -rf ../prime/test/test_prime.rb test`
`cp -f ../prime/prime.gemspec lib`
when "matrix"
`rm -rf lib/matrix* test/matrix`
`cp -rf ../matrix/lib/* lib`
`cp -rf ../matrix/test/matrix test`
`cp -f ../matrix/matrix.gemspec lib/matrix`
when "ostruct"
`rm -rf lib/ostruct.rb test/ostruct`
`cp -rf ../ostruct/lib/* lib`
`cp -rf ../ostruct/test/ostruct test`
`cp -f ../ostruct/ostruct.gemspec lib`
when "rexml"
`rm -rf lib/rexml* test/rexml`
`cp -rf ../rexml/lib/* lib`
`cp -rf ../rexml/test/rexml test`
`cp -f ../rexml/rexml.gemspec lib/rexml`
when "rss"
`rm -rf lib/rss* test/rss`
`cp -rf ../rss/lib/* lib`
`cp -rf ../rss/test/rss test`
`cp -f ../rss/rss.gemspec lib/rss`
else
end
end