Merge RubyGems-3.3.25 and Bundler-2.3.25

This commit is contained in:
Hiroshi SHIBATA 2022-11-22 20:31:54 +09:00 committed by nagachika
parent 6f59f0bebc
commit b102175b4d
52 changed files with 183 additions and 81 deletions

View file

@ -16,7 +16,7 @@ if RUBY_VERSION >= "2.5" && !Gem::KERNEL_WARN_IGNORES_INTERNAL_ENTRIES
module_function define_method(:warn) {|*messages, **kw|
unless uplevel = kw[:uplevel]
if Gem.java_platform?
if Gem.java_platform? && RUBY_VERSION < "3.1"
return original_warn.bind(self).call(*messages)
else
return original_warn.bind(self).call(*messages, **kw)