aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-05-25 12:19:13 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-05 07:32:42 +0900
commitd52b1b0705a6aa5587350ce01b293ed6bf7bdad7 (patch)
tree0d2adb0b644d173820016e45476c4558ebaf3c78 /spec
parent97267227bbd8c322cf17c1e0ae380f74afbc29fb (diff)
downloadruby-d52b1b0705a6aa5587350ce01b293ed6bf7bdad7.tar.gz
[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
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/other/major_deprecation_spec.rb1
1 files changed, 1 insertions, 0 deletions
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"],