mirror of
https://github.com/ruby/ruby.git
synced 2025-08-28 07:26:00 +02:00
* lib/rubygems: Update to RubyGems 1.8.11. Move Deprecate into the
Gem namespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9167328359
commit
90dfc8f99e
21 changed files with 112 additions and 105 deletions
|
@ -33,7 +33,7 @@ class TestGemServer < Gem::TestCase
|
|||
data = StringIO.new "GET /Marshal.#{Gem.marshal_version} HTTP/1.0\r\n\r\n"
|
||||
@req.parse data
|
||||
|
||||
Deprecate.skip_during do
|
||||
Gem::Deprecate.skip_during do
|
||||
@server.Marshal @req, @res
|
||||
end
|
||||
|
||||
|
@ -41,7 +41,7 @@ class TestGemServer < Gem::TestCase
|
|||
assert_match %r| \d\d:\d\d:\d\d |, @res['date']
|
||||
assert_equal 'application/octet-stream', @res['content-type']
|
||||
|
||||
Deprecate.skip_during do
|
||||
Gem::Deprecate.skip_during do
|
||||
si = Gem::SourceIndex.new
|
||||
si.add_specs @a1, @a2
|
||||
|
||||
|
@ -53,7 +53,7 @@ class TestGemServer < Gem::TestCase
|
|||
data = StringIO.new "GET /Marshal.#{Gem.marshal_version}.Z HTTP/1.0\r\n\r\n"
|
||||
@req.parse data
|
||||
|
||||
Deprecate.skip_during do
|
||||
Gem::Deprecate.skip_during do
|
||||
@server.Marshal @req, @res
|
||||
end
|
||||
|
||||
|
@ -61,7 +61,7 @@ class TestGemServer < Gem::TestCase
|
|||
assert_match %r| \d\d:\d\d:\d\d |, @res['date']
|
||||
assert_equal 'application/x-deflate', @res['content-type']
|
||||
|
||||
Deprecate.skip_during do
|
||||
Gem::Deprecate.skip_during do
|
||||
si = Gem::SourceIndex.new
|
||||
si.add_specs @a1, @a2
|
||||
|
||||
|
@ -73,7 +73,7 @@ class TestGemServer < Gem::TestCase
|
|||
data = StringIO.new "GET /latest_specs.#{Gem.marshal_version} HTTP/1.0\r\n\r\n"
|
||||
@req.parse data
|
||||
|
||||
Deprecate.skip_during do
|
||||
Gem::Deprecate.skip_during do
|
||||
@server.latest_specs @req, @res
|
||||
end
|
||||
|
||||
|
@ -88,7 +88,7 @@ class TestGemServer < Gem::TestCase
|
|||
data = StringIO.new "GET /latest_specs.#{Gem.marshal_version}.gz HTTP/1.0\r\n\r\n"
|
||||
@req.parse data
|
||||
|
||||
Deprecate.skip_during do
|
||||
Gem::Deprecate.skip_during do
|
||||
@server.latest_specs @req, @res
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue