summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-10-17 20:00:55 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-10-17 21:39:13 +0900
commit5298e979547a5859e84a70da88df0d7e4d308877 (patch)
treec53ce9f2e57c60a6ce44ff1b621db512a7d88205
parentfb72e188ef2401c5399d855c198783a256a524c0 (diff)
[rubygems/rubygems] Postpone to remove legacy mingw platform
https://github.com/rubygems/rubygems/commit/9b3a5a8ae9
-rw-r--r--lib/bundler/lockfile_parser.rb2
-rw-r--r--spec/bundler/other/major_deprecation_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/lockfile_parser.rb b/lib/bundler/lockfile_parser.rb
index 07b5bd7514..ac0ce1ef3d 100644
--- a/lib/bundler/lockfile_parser.rb
+++ b/lib/bundler/lockfile_parser.rb
@@ -142,7 +142,7 @@ module Bundler
end
if @platforms.include?(Gem::Platform::X64_MINGW_LEGACY)
- SharedHelpers.feature_removed!("Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 4.0.")
+ SharedHelpers.feature_deprecated!("Found x64-mingw32 in lockfile, which is deprecated and will be removed in the future.")
end
@most_specific_locked_platform = @platforms.min_by do |bundle_platform|
diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb
index 1b04af7632..947800be22 100644
--- a/spec/bundler/other/major_deprecation_spec.rb
+++ b/spec/bundler/other/major_deprecation_spec.rb
@@ -601,7 +601,7 @@ RSpec.describe "major deprecations" do
it "raises a helpful error" do
bundle "install", raise_on_error: false
- expect(err).to include("Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 4.0.")
+ expect(err).to include("Found x64-mingw32 in lockfile, which is deprecated and will be removed in the future.")
end
end