diff options
author | Daniel Colson <danieljamescolson@gmail.com> | 2023-02-05 22:09:40 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-02-07 21:12:18 +0000 |
commit | fd71a76f55b84e02ba8a3b560baf9b1f996dedd4 (patch) | |
tree | 73e45cf1810805437a8476224fd37db79678c03d /lib/bundler/current_ruby.rb | |
parent | 23052e005e5683414791978321a40aca16a138fa (diff) | |
download | ruby-fd71a76f55b84e02ba8a3b560baf9b1f996dedd4.tar.gz |
[rubygems/rubygems] Add Ruby 3.2 and 3.3 platforms to Gemfile DSL
Along the same lines as https://github.com/rubygems/rubygems/pull/5469,
this adds support for Ruby 3.2 and 3.3 platforms: `:ruby_32`, `mri_32`,
etc.
It also includes a spec that should help catch this earlier in the
future, failing if we don't support platforms for the version of Ruby
that is running the tests.
https://github.com/rubygems/rubygems/commit/7cd19d824d
Diffstat (limited to 'lib/bundler/current_ruby.rb')
-rw-r--r-- | lib/bundler/current_ruby.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/current_ruby.rb b/lib/bundler/current_ruby.rb index f9987c4da8..f009b07ad7 100644 --- a/lib/bundler/current_ruby.rb +++ b/lib/bundler/current_ruby.rb @@ -22,6 +22,8 @@ module Bundler 2.7 3.0 3.1 + 3.2 + 3.3 ].freeze KNOWN_MAJOR_VERSIONS = KNOWN_MINOR_VERSIONS.map {|v| v.split(".", 2).first }.uniq.freeze |