diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-04 18:30:11 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
| commit | 30f9fbdce87825877e41b4fbdb5d7b695f3297aa (patch) | |
| tree | f5babd3d55cfd834a29e828b7c15da9aa3cac744 | |
| parent | be2dbfc5b5a9ca387baef04b5107787f047d0a71 (diff) | |
Undeprecate the `--no-cache` flag
This is not a remembered option, so it shouldn't have been deprecated.
At least not for that reason.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3212
| -rw-r--r-- | lib/bundler/cli.rb | 2 | ||||
| -rw-r--r-- | spec/bundler/other/major_deprecation_spec.rb | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 8dd5315771..e8193cef14 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -250,7 +250,7 @@ module Bundler def install SharedHelpers.major_deprecation(2, "The `--force` option has been renamed to `--redownload`") if ARGV.include?("--force") - %w[clean deployment frozen no-cache no-prune path shebang system without with].each do |option| + %w[clean deployment frozen no-prune path shebang system without with].each do |option| remembered_flag_deprecation(option) end diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb index fa3ea7e6fb..2ca6717827 100644 --- a/spec/bundler/other/major_deprecation_spec.rb +++ b/spec/bundler/other/major_deprecation_spec.rb @@ -317,7 +317,6 @@ RSpec.describe "major deprecations" do "clean" => ["clean", true], "deployment" => ["deployment", true], "frozen" => ["frozen", true], - "no-cache" => ["no_cache", true], "no-deployment" => ["deployment", false], "no-prune" => ["no_prune", true], "path" => ["path", "vendor/bundle"], |
