[rubygems/rubygems] Removed obsoleted windows platform example

https://github.com/rubygems/rubygems/commit/edd6b1d335

Co-authored-by: David Rodríguez <2887858+deivid-rodriguez@users.noreply.github.com>
This commit is contained in:
Hiroshi SHIBATA 2025-10-09 15:20:11 +09:00
parent 89a4b684d9
commit 45e6dcd919
Notes: git 2025-10-09 11:38:13 +00:00

View File

@ -207,18 +207,7 @@ RSpec.describe "bundle cache" do
expect(bundled_app("vendor/cache/myrack-1.0.0.gem")).to exist
end
it "puts the gems in vendor/cache even for legacy windows rubies, but prints a warning" do
gemfile <<-D
source "https://gem.repo1"
gem 'myrack', :platforms => [:ruby_20, :x64_mingw_20]
D
bundle "cache --all-platforms"
expect(err).to include("deprecated")
expect(bundled_app("vendor/cache/myrack-1.0.0.gem")).to exist
end
it "prints an error when using legacy windows rubies", bundler: "4" do
it "prints an error when using legacy windows rubies" do
gemfile <<-D
source "https://gem.repo1"
gem 'myrack', :platforms => [:ruby_20, :x64_mingw_20]