ruby-changes:62451
From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:22 +0900 (JST)
Subject: [ruby-changes:62451] 9d6123da15 (master): [rubygems/rubygems] Fix test warning
https://git.ruby-lang.org/ruby.git/commit/?id=9d6123da15 From 9d6123da157c027b749c22e559d91c232ae1f296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Wed, 8 Jul 2020 20:17:33 +0200 Subject: [rubygems/rubygems] Fix test warning https://github.com/rubygems/rubygems/commit/f4c4cddb68 diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 14d080e..69f6e6d 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -796,7 +796,7 @@ class Gem::TestCase < Minitest::Test https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L796 lib_dir = File.join(@tempdir, "default_gems", "lib") lib_dir.instance_variable_set(:@gem_prelude_index, lib_dir) - Gem.instance_variable_set(:@default_gem_load_paths, [*Gem.instance_variable_get(:@default_gem_load_paths), lib_dir]) + Gem.instance_variable_set(:@default_gem_load_paths, [*Gem.send(:default_gem_load_paths), lib_dir]) $LOAD_PATH.unshift(lib_dir) files.each do |file| rb_path = File.join(lib_dir, file) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/