mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rubygems/test_gem_dependency_installer.rb: Use Gem.read_binary
instead of File.binread for ruby 1.8 compatibility in the rubygems source repository. Updates r38071 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a113ab64b2
commit
646eeab113
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat Dec 1 02:53:18 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* test/rubygems/test_gem_dependency_installer.rb: Use Gem.read_binary
|
||||
instead of File.binread for ruby 1.8 compatibility in the rubygems
|
||||
source repository. Updates r38071
|
||||
|
||||
Sat Dec 1 02:33:20 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* thread.c (rb_threadptr_interrupt_mask, async_interrupt_timing_func):
|
||||
|
|
|
@ -58,7 +58,7 @@ class TestGemDependencyInstaller < Gem::TestCase
|
|||
util_setup_spec_fetcher(p1a, @a1, @a1_pre)
|
||||
util_clear_gems
|
||||
|
||||
p1a_data = File.binread(gem)
|
||||
p1a_data = Gem.read_binary(gem)
|
||||
|
||||
@fetcher.data['http://gems.example.com/gems/a-10.a.gem'] = p1a_data
|
||||
|
||||
|
@ -76,7 +76,7 @@ class TestGemDependencyInstaller < Gem::TestCase
|
|||
util_setup_spec_fetcher(p1a)
|
||||
util_clear_gems
|
||||
|
||||
p1a_data = File.binread(gem)
|
||||
p1a_data = Gem.read_binary(gem)
|
||||
|
||||
@fetcher.data['http://gems.example.com/gems/p-1.a.gem'] = p1a_data
|
||||
|
||||
|
@ -94,7 +94,7 @@ class TestGemDependencyInstaller < Gem::TestCase
|
|||
util_setup_spec_fetcher(@a1, @a1_pre)
|
||||
util_clear_gems
|
||||
|
||||
p1a_data = File.binread(@a1_gem)
|
||||
p1a_data = Gem.read_binary(@a1_gem)
|
||||
|
||||
@fetcher.data['http://gems.example.com/gems/a-1.gem'] = p1a_data
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue