summaryrefslogtreecommitdiff
path: root/lib/bundler/settings.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-21 18:07:08 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-12 13:27:30 +0100
commit6032328d706f3e6eb76cf52bd707655f93464fdc (patch)
treed0b6ea2522900c25a771c3ab0c6fa8f72a44c3a7 /lib/bundler/settings.rb
parent5f29e41f805b8184f737b83a9eb22b61cb183300 (diff)
downloadbundler-6032328d706f3e6eb76cf52bd707655f93464fdc.tar.gz
Deprecate a bunch of flags in bundler 2
Under the previous code, once we stop remembering options, these flags would be automatically removed without deprecation. Instead, first deprecate the options in bundler 2, then remove them and stop remembering them in bundler 3.
Diffstat (limited to 'lib/bundler/settings.rb')
-rw-r--r--lib/bundler/settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb
index c1336acbb3..c708659e1c 100644
--- a/lib/bundler/settings.rb
+++ b/lib/bundler/settings.rb
@@ -117,7 +117,7 @@ module Bundler
end
unless Bundler.settings[:forget_cli_options] == false
- Bundler::SharedHelpers.major_deprecation 2,\
+ Bundler::SharedHelpers.major_deprecation 3,\
"flags passed to commands " \
"will no longer be automatically remembered. Instead please set flags " \
"you want remembered between commands using `bundle config set " \