diff options
author | johnnyshields <johnny.shields@gmail.com> | 2023-02-18 22:46:35 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-03-03 09:50:29 +0000 |
commit | 79ede4ae9911fdb180406b1a8adc7ee02e187a50 (patch) | |
tree | 6599a55817081ad1180902023daaf00cf1a49879 /lib/bundler/dependency.rb | |
parent | 6b46057e5c9524e11c004a541bb17a5871767d44 (diff) | |
download | ruby-79ede4ae9911fdb180406b1a8adc7ee02e187a50.tar.gz |
[rubygems/rubygems] Alias CurrentRuby#mswin?, mswin64?, mingw?, x64_mingw? to #windows?. (This is done instead of logging a deprecation warning.)
https://github.com/rubygems/rubygems/commit/b9fcc7c0ab
Diffstat (limited to 'lib/bundler/dependency.rb')
-rw-r--r-- | lib/bundler/dependency.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/dependency.rb b/lib/bundler/dependency.rb index 5f17943629..21a4564dcc 100644 --- a/lib/bundler/dependency.rb +++ b/lib/bundler/dependency.rb @@ -17,7 +17,8 @@ module Bundler :truffleruby => [Gem::Platform::RUBY], :jruby => [Gem::Platform::JAVA, [18, 19]], :windows => [Gem::Platform::WINDOWS, ALL_RUBY_VERSIONS], - :mswin => [Gem::Platform::MSWIN, ALL_RUBY_VERSIONS], + # deprecated + :mswin => [Gem::Platform::MSWIN, ALL_RUBY_VERSIONS], :mswin64 => [Gem::Platform::MSWIN64, ALL_RUBY_VERSIONS - [18]], :mingw => [Gem::Platform::MINGW, ALL_RUBY_VERSIONS], :x64_mingw => [Gem::Platform::X64_MINGW, ALL_RUBY_VERSIONS - [18, 19]], |