Skip to content

Commit 5298e97

Browse files
committed
[rubygems/rubygems] Postpone to remove legacy mingw platform
ruby/rubygems@9b3a5a8ae9
1 parent fb72e18 commit 5298e97

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/bundler/lockfile_parser.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def initialize(lockfile, strict: false)
142142
end
143143

144144
if @platforms.include?(Gem::Platform::X64_MINGW_LEGACY)
145-
SharedHelpers.feature_removed!("Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 4.0.")
145+
SharedHelpers.feature_deprecated!("Found x64-mingw32 in lockfile, which is deprecated and will be removed in the future.")
146146
end
147147

148148
@most_specific_locked_platform = @platforms.min_by do |bundle_platform|

spec/bundler/other/major_deprecation_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@
601601
it "raises a helpful error" do
602602
bundle "install", raise_on_error: false
603603

604-
expect(err).to include("Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 4.0.")
604+
expect(err).to include("Found x64-mingw32 in lockfile, which is deprecated and will be removed in the future.")
605605
end
606606
end
607607

0 commit comments

Comments
 (0)