[ruby/reline] correct Win32API capitalization for JRuby

JRuby 9.4.0.0 introduced a change in case sensitivity in require statements,
meaning that an inclusion of `win32api` loaded Win32API.rb. With this change,
the require statement needs to be updated to the correct capitalization of the
filename to avoid reline failures in newer versions of JRuby.

https://github.com/ruby/reline/commit/d6e7c9e1d9
This commit is contained in:
Joel Anderson 2022-12-15 23:46:56 -05:00 committed by git
parent d57148e9e2
commit e25c173c97

View File

@ -53,7 +53,7 @@ class Reline::Windows
end
if defined? JRUBY_VERSION
require 'win32api'
require 'Win32API'
else
class Win32API
DLL = {}