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

Update to RubyGems 1.3.7.pre.1

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2010-04-22 08:24:42 +00:00
parent d0e5a34ac7
commit 372dcece3f
64 changed files with 759 additions and 240 deletions

View file

@ -30,6 +30,9 @@ class TestGemPlatform < RubyGemTestCase
'hppa2.0w-hpux11.31' => ['hppa2.0w', 'hpux', '11'],
'java' => [nil, 'java', nil],
'jruby' => [nil, 'java', nil],
'universal-dotnet' => ['universal', 'dotnet', nil],
'universal-dotnet2.0' => ['universal', 'dotnet', '2.0'],
'universal-dotnet4.0' => ['universal', 'dotnet', '4.0'],
'powerpc-aix5.3.0.0' => ['powerpc', 'aix', '5'],
'powerpc-darwin7' => ['powerpc', 'darwin', '7'],
'powerpc-darwin8' => ['powerpc', 'darwin', '8'],
@ -227,6 +230,22 @@ class TestGemPlatform < RubyGemTestCase
util_set_arch 'java'
assert_match 'java', Gem::Platform.local
assert_match 'jruby', Gem::Platform.local
util_set_arch 'universal-dotnet2.0'
assert_match 'universal-dotnet', Gem::Platform.local
assert_match 'universal-dotnet-2.0', Gem::Platform.local
refute_match 'universal-dotnet-4.0', Gem::Platform.local
assert_match 'dotnet', Gem::Platform.local
assert_match 'dotnet-2.0', Gem::Platform.local
refute_match 'dotnet-4.0', Gem::Platform.local
util_set_arch 'universal-dotnet4.0'
assert_match 'universal-dotnet', Gem::Platform.local
refute_match 'universal-dotnet-2.0', Gem::Platform.local
assert_match 'universal-dotnet-4.0', Gem::Platform.local
assert_match 'dotnet', Gem::Platform.local
refute_match 'dotnet-2.0', Gem::Platform.local
assert_match 'dotnet-4.0', Gem::Platform.local
util_set_arch 'powerpc-darwin'
assert_match 'powerpc-darwin', Gem::Platform.local