From d52b1b0705a6aa5587350ce01b293ed6bf7bdad7 Mon Sep 17 00:00:00 2001 From: David Rodríguez Date: Mon, 25 May 2020 12:19:13 +0200 Subject: [rubygems/rubygems] Deprecate the `--no-deployment` flag And never recommend it inside CLI messages. This flag represents the default behaviour of `bundle install`, and the only reason it exists is to "override" previous `--deployment` flag usages which were silently remembered. So it should be deprecated just like all the other flags the rely on remembering their values across invocations. https://github.com/rubygems/rubygems/commit/40e50b7190 --- spec/bundler/other/major_deprecation_spec.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb index 102588e97a..c8023dc8f5 100644 --- a/spec/bundler/other/major_deprecation_spec.rb +++ b/spec/bundler/other/major_deprecation_spec.rb @@ -318,6 +318,7 @@ RSpec.describe "major deprecations" do "deployment" => ["deployment", true], "frozen" => ["frozen", true], "no-cache" => ["no_cache", true], + "no-deployment" => ["deployment", false], "no-prune" => ["no_prune", true], "path" => ["path", "vendor/bundle"], "shebang" => ["shebang", "ruby27"], -- cgit v1.2.3