From 41285844591f50577b1aadd7d20c68176986311e Mon Sep 17 00:00:00 2001 From: Ivo Anjo Date: Thu, 27 Oct 2022 08:52:48 +0100 Subject: [PATCH] Workaround issue with rspec-mocks 3.12.0 The same issue we ran into in #2327 is present on the newly-released rspec-mocks 3.12.0. I have not yet reported this upstream, but want to unblock our CI. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 20398c02cda..53396f935d5 100644 --- a/Gemfile +++ b/Gemfile @@ -30,7 +30,7 @@ gem 'rake-compiler', '~> 1.1', '>= 1.1.1' # To compile native extensions gem 'redcarpet', '~> 3.4' if RUBY_PLATFORM != 'java' gem 'rspec', '~> 3.11' gem 'rspec-collection_matchers', '~> 1.1' -gem 'rspec-mocks', '!= 3.11.2' +gem 'rspec-mocks', ['!= 3.11.2', '!= 3.12.0'] # Temporary workaround for #2327 if RUBY_VERSION >= '2.3.0' gem 'rspec_junit_formatter', '>= 0.5.1' else