1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Always keep bundle package --all option

Just change the default. The reason to do this is that the deprecation
message talks about the default being changed, not the option being
removed.

eca1757792
This commit is contained in:
David Rodríguez 2019-07-15 19:31:51 +02:00 committed by Hiroshi SHIBATA
parent 33ce42dd5d
commit f73020d493
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -425,10 +425,9 @@ module Bundler
end
desc "#{Bundler.feature_flag.cache_command_is_package? ? :cache : :package} [OPTIONS]", "Locks and then caches all of the gems into vendor/cache"
unless Bundler.feature_flag.cache_all?
method_option "all", :type => :boolean,
:banner => "Include all sources (including path and git)."
end
method_option "all", :type => :boolean,
:default => Bundler.feature_flag.cache_all?,
:banner => "Include all sources (including path and git)."
method_option "all-platforms", :type => :boolean, :banner => "Include gems for all platforms present in the lockfile, not only the current one"
method_option "cache-path", :type => :string, :banner =>
"Specify a different cache path than the default (vendor/cache)."