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

Undeprecate the --no-cache flag

This is not a remembered option, so it shouldn't have been deprecated.
At least not for that reason.
This commit is contained in:
David Rodríguez 2020-06-04 18:30:11 +02:00 committed by Hiroshi SHIBATA
parent be2dbfc5b5
commit 30f9fbdce8
Notes: git 2020-06-18 19:15:02 +09:00
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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"],