[前][次][番号順一覧][スレッド一覧]

ruby-changes:72738

From: Takuya <ko1@a...>
Date: Fri, 29 Jul 2022 19:07:01 +0900 (JST)
Subject: [ruby-changes:72738] d1e726cce7 (master): [rubygems/rubygems] Fix dead links to deprecated bundle-package(1) with bundler-cache(1)

https://git.ruby-lang.org/ruby.git/commit/?id=d1e726cce7

From d1e726cce727fab7083993eb75237472a462cd72 Mon Sep 17 00:00:00 2001
From: Takuya Noguchi <takninnovationresearch@g...>
Date: Thu, 28 Jul 2022 01:30:02 +0000
Subject: [rubygems/rubygems] Fix dead links to deprecated bundle-package(1)
 with bundler-cache(1)

Signed-off-by: Takuya Noguchi <takninnovationresearch@g...>

https://github.com/rubygems/rubygems/commit/9c2e80a10f
---
 lib/bundler/man/bundle-config.1      | 2 +-
 lib/bundler/man/bundle-config.1.ronn | 2 +-
 lib/bundler/man/bundle.1             | 7 ++-----
 lib/bundler/man/bundle.1.ronn        | 5 ++---
 4 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/lib/bundler/man/bundle-config.1 b/lib/bundler/man/bundle-config.1
index b5cee57f29..9ab1f81c83 100644
--- a/lib/bundler/man/bundle-config.1
+++ b/lib/bundler/man/bundle-config.1
@@ -298,7 +298,7 @@ The following is a list of all configuration keys and their purpose\. You can le https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-config.1#L298
 .IP "" 0
 .
 .P
-In general, you should set these settings per\-application by using the applicable flag to the bundle install(1) \fIbundle\-install\.1\.html\fR or bundle package(1) \fIbundle\-package\.1\.html\fR command\.
+In general, you should set these settings per\-application by using the applicable flag to the bundle install(1) \fIbundle\-install\.1\.html\fR or bundle cache(1) \fIbundle\-cache\.1\.html\fR command\.
 .
 .P
 You can set them globally either via environment variables or \fBbundle config\fR, whichever is preferable for your setup\. If you use both, environment variables will take preference over global settings\.
diff --git a/lib/bundler/man/bundle-config.1.ronn b/lib/bundler/man/bundle-config.1.ronn
index e2af773141..62afe77af8 100644
--- a/lib/bundler/man/bundle-config.1.ronn
+++ b/lib/bundler/man/bundle-config.1.ronn
@@ -280,7 +280,7 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html). https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-config.1.ronn#L280
    A `:`-separated list of groups whose gems bundler should not install.
 
 In general, you should set these settings per-application by using the applicable
-flag to the [bundle install(1)](bundle-install.1.html) or [bundle package(1)](bundle-package.1.html) command.
+flag to the [bundle install(1)](bundle-install.1.html) or [bundle cache(1)](bundle-cache.1.html) command.
 
 You can set them globally either via environment variables or `bundle config`,
 whichever is preferable for your setup. If you use both, environment variables
diff --git a/lib/bundler/man/bundle.1 b/lib/bundler/man/bundle.1
index efc4d7e93f..f683e78cc6 100644
--- a/lib/bundler/man/bundle.1
+++ b/lib/bundler/man/bundle.1
@@ -43,8 +43,8 @@ Install the gems specified by the \fBGemfile\fR or \fBGemfile\.lock\fR https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle.1#L43
 Update dependencies to their latest versions
 .
 .TP
-\fBbundle package(1)\fR \fIbundle\-package\.1\.html\fR
-Package the \.gem files required by your application into the \fBvendor/cache\fR directory
+\fBbundle cache(1)\fR \fIbundle\-cache\.1\.html\fR
+Package the \.gem files required by your application into the \fBvendor/cache\fR directory (aliases: \fBbundle package\fR, \fBbundle pack\fR)
 .
 .TP
 \fBbundle exec(1)\fR \fIbundle\-exec\.1\.html\fR
@@ -127,9 +127,6 @@ When running a command that isn\'t listed in PRIMARY COMMANDS or UTILITIES, Bund https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle.1#L127
 These commands are obsolete and should no longer be used:
 .
 .IP "\(bu" 4
-\fBbundle cache(1)\fR
-.
-.IP "\(bu" 4
 \fBbundle inject(1)\fR
 .
 .IP "" 0
diff --git a/lib/bundler/man/bundle.1.ronn b/lib/bundler/man/bundle.1.ronn
index 52a00d43ee..8f0159eee5 100644
--- a/lib/bundler/man/bundle.1.ronn
+++ b/lib/bundler/man/bundle.1.ronn
@@ -36,9 +36,9 @@ We divide `bundle` subcommands into primary commands and utilities: https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle.1.ronn#L36
 * [`bundle update(1)`](bundle-update.1.html):
   Update dependencies to their latest versions
 
-* [`bundle package(1)`](bundle-package.1.html):
+* [`bundle cache(1)`](bundle-cache.1.html):
   Package the .gem files required by your application into the
-  `vendor/cache` directory
+  `vendor/cache` directory (aliases: `bundle package`, `bundle pack`)
 
 * [`bundle exec(1)`](bundle-exec.1.html):
   Execute a script in the current bundle
@@ -107,5 +107,4 @@ and execute it, passing down any extra arguments to it. https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle.1.ronn#L107
 
 These commands are obsolete and should no longer be used:
 
-* `bundle cache(1)`
 * `bundle inject(1)`
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]