mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems: Update to RubyGems master b9213d7. Changes include:
Fixed tests on Windows (I hope) by forcing platform for platform-dependent tests. Fixed File.exists? warnings. Improved testing infrastructure. * test/rubygems: ditto. * test/rdoc/test_rdoc_rubygems_hook.rb: Switch to util_spec like RubyGems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8f3934261a
commit
44d0a6dcd7
45 changed files with 1068 additions and 906 deletions
|
@ -24,7 +24,7 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase
|
|||
|
||||
gemhome2 = "#{@gemhome}2"
|
||||
|
||||
a_4 = quick_spec 'a', 4
|
||||
a_4 = util_spec 'a', 4
|
||||
install_gem a_4, :install_dir => gemhome2
|
||||
|
||||
Gem::Specification.dirs = [@gemhome, gemhome2]
|
||||
|
@ -126,7 +126,7 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase
|
|||
end
|
||||
|
||||
def test_execute_prerelease
|
||||
@spec = quick_spec "pre", "2.b"
|
||||
@spec = util_spec "pre", "2.b"
|
||||
@gem = File.join @tempdir, @spec.file_name
|
||||
FileUtils.touch @gem
|
||||
|
||||
|
@ -213,7 +213,7 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase
|
|||
|
||||
gemhome2 = "#{@gemhome}2"
|
||||
|
||||
a_4 = quick_spec 'a', 4
|
||||
a_4 = util_spec 'a', 4
|
||||
install_gem a_4, :install_dir => gemhome2
|
||||
|
||||
Gem::Specification.dirs = [@gemhome, gemhome2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue