[rubygems/rubygems] Update current_ruby.rb

https://github.com/rubygems/rubygems/commit/8755ca959e
This commit is contained in:
Johnny Shields 2023-02-18 23:00:42 +09:00 committed by git
parent 79ede4ae99
commit f1fe4a4a99

View File

@ -71,10 +71,10 @@ module Bundler
def windows?
Gem.win_platform?
end
alias mswin? windows?
alias mswin64? windows?
alias mingw? windows?
alias x64_mingw? windows?
alias_method :mswin?, :windows?
alias_method :mswin64?, :windows?
alias_method :mingw?, :windows?
alias_method :x64_mingw?, :windows?
(KNOWN_MINOR_VERSIONS + KNOWN_MAJOR_VERSIONS).each do |version|
trimmed_version = version.tr(".", "")