diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-10-20 13:26:11 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-10-20 17:49:14 +0200 |
commit | c9f6d2b4c5e540ba6a165c7a58432bf0081a7e32 (patch) | |
tree | 09de741504c82640e8a34f18932904db6ba5327a /lib/bundler/cli | |
parent | c15f4a67432be1c125a606016c1db0fbdfe7f665 (diff) | |
download | bundler-c9f6d2b4c5e540ba6a165c7a58432bf0081a7e32.tar.gz |
Normalize "bundle cache" vs "bundle package"normalize_bundle_cache
Use the preferred `bundle cache` everywhere, but leave package as an
alias.
Remove duplicated tests.
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r-- | lib/bundler/cli/cache.rb (renamed from lib/bundler/cli/package.rb) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli/package.rb b/lib/bundler/cli/cache.rb index b31b67776d..5e8420990f 100644 --- a/lib/bundler/cli/package.rb +++ b/lib/bundler/cli/cache.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module Bundler - class CLI::Package + class CLI::Cache attr_reader :options def initialize(options) @@ -40,7 +40,7 @@ module Bundler if Bundler.definition.has_local_dependencies? && !Bundler.feature_flag.cache_all? Bundler.ui.warn "Your Gemfile contains path and git dependencies. If you want " \ - "to package them as well, please pass the --all flag. This will be the default " \ + "to cache them as well, please pass the --all flag. This will be the default " \ "on Bundler 3.0." end end |