From 318816c06101ca921ec0e8164ca009537aa33199 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 3ae70e47ef..0388cb14df 100644 --- a/Gemfile +++ b/Gemfile @@ -31,7 +31,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