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

* lib/rubygems: update to 1.3.6.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-02-22 02:52:35 +00:00
parent 65544f575b
commit b551e8c8b3
119 changed files with 2735 additions and 2613 deletions

View file

@ -15,7 +15,7 @@ class TestGemCommandsBuildCommand < RubyGemTestCase
end
def test_execute
gemspec_file = File.join(@tempdir, "#{@gem.full_name}.gemspec")
gemspec_file = File.join(@tempdir, @gem.spec_name)
File.open gemspec_file, 'w' do |gs|
gs.write @gem.to_ruby
@ -25,7 +25,7 @@ class TestGemCommandsBuildCommand < RubyGemTestCase
end
def test_execute_yaml
gemspec_file = File.join(@tempdir, "#{@gem.full_name}.gemspec")
gemspec_file = File.join(@tempdir, @gem.spec_name)
File.open gemspec_file, 'w' do |gs|
gs.write @gem.to_yaml
@ -61,7 +61,7 @@ class TestGemCommandsBuildCommand < RubyGemTestCase
assert_equal [], output
assert_equal '', @ui.error
gem_file = File.join @tempdir, "#{gem.full_name}.gem"
gem_file = File.join @tempdir, gem.file_name
assert File.exist?(gem_file)
spec = Gem::Format.from_file_by_path(gem_file).spec