Support Ruby 3.5 for bundler platforms
This commit is contained in:
parent
945fdf6091
commit
69bb296fa6
Notes:
git
2024-12-25 11:10:36 +00:00
@ -9,7 +9,7 @@ module Bundler
|
||||
attr_reader :autorequire
|
||||
attr_reader :groups, :platforms, :gemfile, :path, :git, :github, :branch, :ref, :glob
|
||||
|
||||
ALL_RUBY_VERSIONS = (18..27).to_a.concat((30..34).to_a).freeze
|
||||
ALL_RUBY_VERSIONS = (18..27).to_a.concat((30..35).to_a).freeze
|
||||
PLATFORM_MAP = {
|
||||
ruby: [Gem::Platform::RUBY, ALL_RUBY_VERSIONS],
|
||||
mri: [Gem::Platform::RUBY, ALL_RUBY_VERSIONS],
|
||||
|
@ -56,6 +56,7 @@ RSpec.describe Bundler::Dependency do
|
||||
ruby_32: Gem::Platform::RUBY,
|
||||
ruby_33: Gem::Platform::RUBY,
|
||||
ruby_34: Gem::Platform::RUBY,
|
||||
ruby_35: Gem::Platform::RUBY,
|
||||
mri: Gem::Platform::RUBY,
|
||||
mri_18: Gem::Platform::RUBY,
|
||||
mri_19: Gem::Platform::RUBY,
|
||||
@ -72,6 +73,7 @@ RSpec.describe Bundler::Dependency do
|
||||
mri_32: Gem::Platform::RUBY,
|
||||
mri_33: Gem::Platform::RUBY,
|
||||
mri_34: Gem::Platform::RUBY,
|
||||
mri_35: Gem::Platform::RUBY,
|
||||
rbx: Gem::Platform::RUBY,
|
||||
truffleruby: Gem::Platform::RUBY,
|
||||
jruby: Gem::Platform::JAVA,
|
||||
@ -92,7 +94,8 @@ RSpec.describe Bundler::Dependency do
|
||||
windows_31: Gem::Platform::WINDOWS,
|
||||
windows_32: Gem::Platform::WINDOWS,
|
||||
windows_33: Gem::Platform::WINDOWS,
|
||||
windows_34: Gem::Platform::WINDOWS }
|
||||
windows_34: Gem::Platform::WINDOWS,
|
||||
windows_35: Gem::Platform::WINDOWS }
|
||||
end
|
||||
|
||||
let(:deprecated) do
|
||||
@ -112,6 +115,7 @@ RSpec.describe Bundler::Dependency do
|
||||
mswin_32: Gem::Platform::MSWIN,
|
||||
mswin_33: Gem::Platform::MSWIN,
|
||||
mswin_34: Gem::Platform::MSWIN,
|
||||
mswin_35: Gem::Platform::MSWIN,
|
||||
mswin64: Gem::Platform::MSWIN64,
|
||||
mswin64_19: Gem::Platform::MSWIN64,
|
||||
mswin64_20: Gem::Platform::MSWIN64,
|
||||
@ -127,6 +131,7 @@ RSpec.describe Bundler::Dependency do
|
||||
mswin64_32: Gem::Platform::MSWIN64,
|
||||
mswin64_33: Gem::Platform::MSWIN64,
|
||||
mswin64_34: Gem::Platform::MSWIN64,
|
||||
mswin64_35: Gem::Platform::MSWIN64,
|
||||
mingw: Gem::Platform::MINGW,
|
||||
mingw_18: Gem::Platform::MINGW,
|
||||
mingw_19: Gem::Platform::MINGW,
|
||||
@ -143,6 +148,7 @@ RSpec.describe Bundler::Dependency do
|
||||
mingw_32: Gem::Platform::MINGW,
|
||||
mingw_33: Gem::Platform::MINGW,
|
||||
mingw_34: Gem::Platform::MINGW,
|
||||
mingw_35: Gem::Platform::MINGW,
|
||||
x64_mingw: Gem::Platform::X64_MINGW,
|
||||
x64_mingw_20: Gem::Platform::X64_MINGW,
|
||||
x64_mingw_21: Gem::Platform::X64_MINGW,
|
||||
@ -156,7 +162,8 @@ RSpec.describe Bundler::Dependency do
|
||||
x64_mingw_31: Gem::Platform::X64_MINGW,
|
||||
x64_mingw_32: Gem::Platform::X64_MINGW,
|
||||
x64_mingw_33: Gem::Platform::X64_MINGW,
|
||||
x64_mingw_34: Gem::Platform::X64_MINGW }
|
||||
x64_mingw_34: Gem::Platform::X64_MINGW,
|
||||
x64_mingw_35: Gem::Platform::X64_MINGW }
|
||||
end
|
||||
# rubocop:enable Naming/VariableNumber
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user