Skip to content

Commit 91a17fb

Browse files
deivid-rodriguezjohnnyshields
authored andcommitted
[rubygems/rubygems] Use preferred :windows value for Windows exclusively
ruby/rubygems@aee52d2874 Co-authored-by: johnnyshields <[email protected]>
1 parent ccbebe9 commit 91a17fb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

spec/bundler/install/gemfile/platform_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@
570570
gemfile <<-G
571571
source "https://gem.repo1"
572572
573-
gem "myrack", :platform => [:windows, :mswin, :mswin64, :mingw, :x64_mingw, :jruby]
573+
gem "myrack", :platform => [:windows, :jruby]
574574
G
575575

576576
bundle "install"

spec/bundler/install/gemfile/specific_platform_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@
10001000
10011001
gem "nokogiri"
10021002
1003-
gem "tzinfo", "~> 1.2", platforms: %i[mingw mswin x64_mingw jruby]
1003+
gem "tzinfo", "~> 1.2", platforms: %i[windows jruby]
10041004
G
10051005

10061006
checksums = checksums_section_when_enabled do |c|

spec/bundler/runtime/platform_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@
373373
simulate_platform "x86-mswin32" do
374374
install_gemfile <<-G
375375
source "https://gem.repo1"
376-
gem "nokogiri", :platforms => [:windows, :mswin, :mswin64, :mingw, :x64_mingw, :jruby]
376+
gem "nokogiri", :platforms => [:windows, :jruby]
377377
gem "platform_specific"
378378
G
379379

0 commit comments

Comments
 (0)