ruby-changes:72737
From: Takuya <ko1@a...>
Date: Fri, 29 Jul 2022 16:31:19 +0900 (JST)
Subject: [ruby-changes:72737] def1d44aa1 (master): [rubygems/rubygems] Add package/pack aliases to man pages for cache
https://git.ruby-lang.org/ruby.git/commit/?id=def1d44aa1 From def1d44aa193fb7640a78d864810734bba786e6d Mon Sep 17 00:00:00 2001 From: Takuya Noguchi <takninnovationresearch@g...> Date: Thu, 28 Jul 2022 08:39:16 +0000 Subject: [rubygems/rubygems] Add package/pack aliases to man pages for cache Signed-off-by: Takuya Noguchi <takninnovationresearch@g...> https://github.com/rubygems/rubygems/commit/1685e3a9dc --- lib/bundler/man/bundle-cache.1 | 6 ++++++ lib/bundler/man/bundle-cache.1.ronn | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/lib/bundler/man/bundle-cache.1 b/lib/bundler/man/bundle-cache.1 index 4903015881..fdaaa3b92a 100644 --- a/lib/bundler/man/bundle-cache.1 +++ b/lib/bundler/man/bundle-cache.1 @@ -9,6 +9,9 @@ https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-cache.1#L9 .SH "SYNOPSIS" \fBbundle cache\fR . +.P +alias: \fBpackage\fR, \fBpack\fR +. .SH "DESCRIPTION" Copy all of the \fB\.gem\fR files needed to run the application into the \fBvendor/cache\fR directory\. In the future, when running [bundle install(1)][bundle\-install], use the gems in the cache in preference to the ones on \fBrubygems\.org\fR\. . @@ -53,3 +56,6 @@ One way to be sure that you have the right platformed versions of all your gems https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-cache.1#L56 . .P By default, bundle cache(1) \fIbundle\-cache\.1\.html\fR fetches and also installs the gems to the default location\. To package the dependencies to \fBvendor/cache\fR without installing them to the local install location, you can run \fBbundle cache \-\-no\-install\fR\. +. +.SH "HISTORY" +In Bundler 2\.1, \fBcache\fR took in the functionalities of \fBpackage\fR and now \fBpackage\fR and \fBpack\fR are aliases of \fBcache\fR\. diff --git a/lib/bundler/man/bundle-cache.1.ronn b/lib/bundler/man/bundle-cache.1.ronn index 383adb2ba3..46906d2b48 100644 --- a/lib/bundler/man/bundle-cache.1.ronn +++ b/lib/bundler/man/bundle-cache.1.ronn @@ -5,6 +5,8 @@ bundle-cache(1) -- Package your needed `.gem` files into your application https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-cache.1.ronn#L5 `bundle cache` +alias: `package`, `pack` + ## DESCRIPTION Copy all of the `.gem` files needed to run the application into the @@ -70,3 +72,8 @@ By default, [bundle cache(1)](bundle-cache.1.html) fetches and also https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-cache.1.ronn#L72 installs the gems to the default location. To package the dependencies to `vendor/cache` without installing them to the local install location, you can run `bundle cache --no-install`. + +## HISTORY + +In Bundler 2.1, `cache` took in the functionalities of `package` and now +`package` and `pack` are aliases of `cache`. -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/