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

ruby-changes:74494

From: Shohei <ko1@a...>
Date: Tue, 15 Nov 2022 08:39:49 +0900 (JST)
Subject: [ruby-changes:74494] 6cd0553ab7 (master): [rubygems/rubygems] Update comment by the review comment

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

From 6cd0553ab7d6927e07cc7f00305cb413436b7608 Mon Sep 17 00:00:00 2001
From: Shohei YOSHIDA <syohex@g...>
Date: Mon, 14 Nov 2022 09:50:18 +0900
Subject: [rubygems/rubygems] Update comment by the review comment

https://github.com/rubygems/rubygems/commit/7c54dc56f6
---
 lib/bundler/cli.rb                  | 2 +-
 lib/bundler/man/bundle-clean.1      | 2 +-
 lib/bundler/man/bundle-clean.1.ronn | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index fa5a3f1761..c5edfadd37 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -620,7 +620,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/cli.rb#L620
     method_option "dry-run", :type => :boolean, :default => false, :banner =>
       "Only print out changes, do not clean gems"
     method_option "force", :type => :boolean, :default => false, :banner =>
-      "Forces clean even if system location is used"
+      "Forces cleaning up unused gems even if Bundler is configured to use globally installed gems. As a consequence, removes all system gems except for the ones in the current application."
     def clean
       require_relative "cli/clean"
       Clean.new(options.dup).run
diff --git a/lib/bundler/man/bundle-clean.1 b/lib/bundler/man/bundle-clean.1
index 36ce445e2d..27e249cb64 100644
--- a/lib/bundler/man/bundle-clean.1
+++ b/lib/bundler/man/bundle-clean.1
@@ -20,5 +20,5 @@ Print the changes, but do not clean the unused gems\. https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-clean.1#L20
 .
 .TP
 \fB\-\-force\fR
-Force a clean even if system location is used\.
+Forces cleaning up unused gems even if Bundler is configured to use globally installed gems\. As a consequence, removes all system gems except for the ones in the current application\.
 
diff --git a/lib/bundler/man/bundle-clean.1.ronn b/lib/bundler/man/bundle-clean.1.ronn
index ebf70d3935..dae27c21ee 100644
--- a/lib/bundler/man/bundle-clean.1.ronn
+++ b/lib/bundler/man/bundle-clean.1.ronn
@@ -15,4 +15,4 @@ useful when you have made many changes to your gem dependencies. https://github.com/ruby/ruby/blob/trunk/lib/bundler/man/bundle-clean.1.ronn#L15
 * `--dry-run`:
   Print the changes, but do not clean the unused gems.
 * `--force`:
-  Force a clean even if system location is used.
+  Forces cleaning up unused gems even if Bundler is configured to use globally installed gems. As a consequence, removes all system gems except for the ones in the current application.
-- 
cgit v1.2.3


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

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