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

fix redefinitions

* test/rubygems/test_gem_resolver_git_specification.rb: require
  rubygems/installer.rb before Gem::TestCase#setup runs, otherwise
  as Gem::TestCase#teardown restores $LOADED_FEATURES to the state
  at that time, the requiring the file in GitSpecification#install
  method causes a lot of constant redefinitions.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-07-02 02:36:23 +00:00
parent 6dda4f17a9
commit f7124a2ca3
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,11 @@
Thu Jul 2 11:36:20 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/rubygems/test_gem_resolver_git_specification.rb: require
rubygems/installer.rb before Gem::TestCase#setup runs, otherwise
as Gem::TestCase#teardown restores $LOADED_FEATURES to the state
at that time, the requiring the file in GitSpecification#install
method causes a lot of constant redefinitions.
Thu Jul 2 10:43:36 2015 Eric Wong <e@80x24.org>
* ext/socket/rubysocket.h: flags for common socket families

View file

@ -1,4 +1,5 @@
require 'rubygems/test_case'
require 'rubygems/installer'
class TestGemResolverGitSpecification < Gem::TestCase