aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/man
diff options
context:
space:
mode:
authorjohnnyshields <johnny.shields@gmail.com>2023-02-18 22:46:35 +0900
committergit <svn-admin@ruby-lang.org>2023-03-03 09:50:29 +0000
commit79ede4ae9911fdb180406b1a8adc7ee02e187a50 (patch)
tree6599a55817081ad1180902023daaf00cf1a49879 /lib/bundler/man
parent6b46057e5c9524e11c004a541bb17a5871767d44 (diff)
downloadruby-79ede4ae9911fdb180406b1a8adc7ee02e187a50.tar.gz
[rubygems/rubygems] Alias CurrentRuby#mswin?, mswin64?, mingw?, x64_mingw? to #windows?. (This is done instead of logging a deprecation warning.)
https://github.com/rubygems/rubygems/commit/b9fcc7c0ab
Diffstat (limited to 'lib/bundler/man')
-rw-r--r--lib/bundler/man/gemfile.58
-rw-r--r--lib/bundler/man/gemfile.5.ronn4
2 files changed, 12 insertions, 0 deletions
diff --git a/lib/bundler/man/gemfile.5 b/lib/bundler/man/gemfile.5
index a9124d26ea..8e56506c88 100644
--- a/lib/bundler/man/gemfile.5
+++ b/lib/bundler/man/gemfile.5
@@ -318,6 +318,14 @@ gem "nokogiri", platforms: [:windows_31, :jruby]
.P
All operations involving groups (\fBbundle install\fR \fIbundle\-install\.1\.html\fR, \fBBundler\.setup\fR, \fBBundler\.require\fR) behave exactly the same as if any groups not matching the current platform were explicitly excluded\.
.
+.P
+The following platform values are deprecated and should be replaced with \fBwindows\fR:
+.
+.IP "\(bu" 4
+\fBmswin\fR, \fBmswin64\fR, \fBmingw32\fR, \fBx64_mingw\fR
+.
+.IP "" 0
+.
.SS "FORCE_RUBY_PLATFORM"
If you always want the pure ruby variant of a gem to be chosen over platform specific variants, you can use the \fBforce_ruby_platform\fR option:
.
diff --git a/lib/bundler/man/gemfile.5.ronn b/lib/bundler/man/gemfile.5.ronn
index a3affc30cc..a5d2288b96 100644
--- a/lib/bundler/man/gemfile.5.ronn
+++ b/lib/bundler/man/gemfile.5.ronn
@@ -228,6 +228,10 @@ All operations involving groups ([`bundle install`](bundle-install.1.html), `Bun
`Bundler.require`) behave exactly the same as if any groups not
matching the current platform were explicitly excluded.
+The following platform values are deprecated and should be replaced with `windows`:
+
+ * `mswin`, `mswin64`, `mingw32`, `x64_mingw`
+
### FORCE_RUBY_PLATFORM
If you always want the pure ruby variant of a gem to be chosen over platform