From d03809731195d3d083437b2d572dcca9a6edab04 Mon Sep 17 00:00:00 2001 From: Sorin Guga Date: Sat, 24 Feb 2024 16:14:36 +0200 Subject: [PATCH] Pin RuboCop version 1.50.0 for Ruby older than 2.7 --- Gemfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 53b13c7f..49dc7923 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,10 @@ gem 'simplecov', '~> 0.21.0' gem 'simplecov-lcov', '~> 0.8.0' # Pin RuboCop for CI builds -gem 'rubocop', '1.59.0' +if RUBY_VERSION < '2.7.0' + gem 'rubocop', '1.50.0' +else + gem 'rubocop', '1.59.0' +end gem 'ffi' if Gem.win_platform?