summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2025-02-10 20:19:44 +0100
committerHiroshi SHIBATA <[email protected]>2025-02-14 16:13:27 +0900
commit91a17fbbadff3b811cd25a056b4f592810bc4ad2 (patch)
tree7f5f891e0635f4be9a6e203776c6f662d16c7d36 /spec
parentccbebe9979b53352a0a11f0f5dd00ec3abab3b5a (diff)
[rubygems/rubygems] Use preferred `:windows` value for Windows exclusively
https://github.com/rubygems/rubygems/commit/aee52d2874 Co-authored-by: johnnyshields <[email protected]>
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/install/gemfile/platform_spec.rb2
-rw-r--r--spec/bundler/install/gemfile/specific_platform_spec.rb2
-rw-r--r--spec/bundler/runtime/platform_spec.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/install/gemfile/platform_spec.rb b/spec/bundler/install/gemfile/platform_spec.rb
index 64a544a54f..d8c1f0282a 100644
--- a/spec/bundler/install/gemfile/platform_spec.rb
+++ b/spec/bundler/install/gemfile/platform_spec.rb
@@ -570,7 +570,7 @@ RSpec.describe "bundle install with platform conditionals" do
gemfile <<-G
source "https://gem.repo1"
- gem "myrack", :platform => [:windows, :mswin, :mswin64, :mingw, :x64_mingw, :jruby]
+ gem "myrack", :platform => [:windows, :jruby]
G
bundle "install"
diff --git a/spec/bundler/install/gemfile/specific_platform_spec.rb b/spec/bundler/install/gemfile/specific_platform_spec.rb
index bda37949ad..257f78f2c5 100644
--- a/spec/bundler/install/gemfile/specific_platform_spec.rb
+++ b/spec/bundler/install/gemfile/specific_platform_spec.rb
@@ -1000,7 +1000,7 @@ RSpec.describe "bundle install with specific platforms" do
gem "nokogiri"
- gem "tzinfo", "~> 1.2", platforms: %i[mingw mswin x64_mingw jruby]
+ gem "tzinfo", "~> 1.2", platforms: %i[windows jruby]
G
checksums = checksums_section_when_enabled do |c|
diff --git a/spec/bundler/runtime/platform_spec.rb b/spec/bundler/runtime/platform_spec.rb
index a6b7a6f07a..562184ce17 100644
--- a/spec/bundler/runtime/platform_spec.rb
+++ b/spec/bundler/runtime/platform_spec.rb
@@ -373,7 +373,7 @@ RSpec.describe "Bundler.setup with multi platform stuff" do
simulate_platform "x86-mswin32" do
install_gemfile <<-G
source "https://gem.repo1"
- gem "nokogiri", :platforms => [:windows, :mswin, :mswin64, :mingw, :x64_mingw, :jruby]
+ gem "nokogiri", :platforms => [:windows, :jruby]
gem "platform_specific"
G