summaryrefslogtreecommitdiff
path: root/lib/rubygems/core_ext
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-12 09:44:22 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-09-26 17:48:01 +0900
commita2af47301834ede4892dbbe1b7da28317202657e (patch)
tree1c7d0b420cc5e99a13cc28f94485ce6dece84002 /lib/rubygems/core_ext
parent54839f01736a8827be64c7f1720d226d37fa17d3 (diff)
[rubygems/rubygems] Make sure our modifications to kernel.warn work
And test the fix we're adding. https://github.com/rubygems/rubygems/commit/6f86637b98
Diffstat (limited to 'lib/rubygems/core_ext')
-rwxr-xr-xlib/rubygems/core_ext/kernel_warn.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/core_ext/kernel_warn.rb b/lib/rubygems/core_ext/kernel_warn.rb
index a1dd8ad..96da272 100755
--- a/lib/rubygems/core_ext/kernel_warn.rb
+++ b/lib/rubygems/core_ext/kernel_warn.rb
@@ -43,6 +43,7 @@ if RUBY_VERSION >= "2.5"
end
uplevel = start
end
+
kw[:uplevel] = uplevel
original_warn.call(*messages, **kw)
}