ruby-changes:47702
From: nagachika <ko1@a...>
Date: Sun, 10 Sep 2017 15:15:09 +0900 (JST)
Subject: [ruby-changes:47702] nagachika:r59818 (ruby_2_4): revert r59813 partially. TestGemRequire#test_realworld_default_gem is not contained in trunk.
nagachika 2017-09-10 15:15:05 +0900 (Sun, 10 Sep 2017) New Revision: 59818 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59818 Log: revert r59813 partially. TestGemRequire#test_realworld_default_gem is not contained in trunk. I would like to sync rubygems on ruby_2_4 branch to trunk Modified files: branches/ruby_2_4/test/rubygems/test_require.rb branches/ruby_2_4/version.h Index: ruby_2_4/test/rubygems/test_require.rb =================================================================== --- ruby_2_4/test/rubygems/test_require.rb (revision 59817) +++ ruby_2_4/test/rubygems/test_require.rb (revision 59818) @@ -301,17 +301,6 @@ class TestGemRequire < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/ruby_2_4/test/rubygems/test_require.rb#L301 assert_equal %w(default-2.0.0.0), loaded_spec_names end - def test_realworld_default_gem - skip "no default gems on ruby < 2.0" unless RUBY_VERSION >= "2" - cmd = <<-RUBY - $stderr = $stdout - require "json" - puts Gem.loaded_specs["json"].default_gem? - RUBY - output = Gem::Util.popen(Gem.ruby, "-e", cmd).strip - assert_equal "true", output - end - def test_default_gem_and_normal_gem default_gem_spec = new_default_spec("default", "2.0.0.0", nil, "default/gem.rb") Index: ruby_2_4/version.h =================================================================== --- ruby_2_4/version.h (revision 59817) +++ ruby_2_4/version.h (revision 59818) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_4/version.h#L1 #define RUBY_VERSION "2.4.2" #define RUBY_RELEASE_DATE "2017-09-10" -#define RUBY_PATCHLEVEL 191 +#define RUBY_PATCHLEVEL 192 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 9 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/