From 9e84656672fdc6d11f54c659c338365c72e3f825 Mon Sep 17 00:00:00 2001 From: Bundlerbot Date: Sat, 14 Dec 2019 14:54:04 +0000 Subject: [PATCH] Merge #7483 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 7483: Delegate should be supported now r=deivid-rodriguez a=deivid-rodriguez ### What was the end-user problem that led to this PR? The problem was that delegate is now supported since `did_you_mean` drop its dependency on it at https://github.com/ruby/ruby/commit/e2708068ad65f7f9986adf4fb3a4fa660f430a5a. ### What was your diagnosis of the problem? My diagnosis was that we can test that arbitrary `delegate` versions can be included in Gemfiles again. ### What is your fix for the problem, implemented in this PR? My fix removes `delegate` from the exemptions. Co-authored-by: David Rodríguez (cherry picked from commit fc2b63cfc20a225b066993db2bf4600aca11eabb) --- spec/runtime/setup_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb index 53300af618c..befc5f9d090 100644 --- a/spec/runtime/setup_spec.rb +++ b/spec/runtime/setup_spec.rb @@ -1203,7 +1203,7 @@ def lock_with(ruby_version = nil) describe "default gem activation" do let(:exemptions) do if Gem::Version.new(Gem::VERSION) >= Gem::Version.new("2.7") - %w[delegate did_you_mean] + %w[did_you_mean] else %w[io-console openssl] end << "bundler"