From 8bbb021a4aec9588f36800e31ab247af449bf7d4 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 15 Sep 2021 10:10:21 +0100 Subject: [PATCH] Temporary pin on rubocop-rails until next bugfix release There is a bug in the Rails/ContentTag cop that causes rubocop to crash. The bug has already been fixed and so should be available in the next release. See https://github.com/rubocop/rubocop-rails/issues/543 --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 6b1049ec7..75cb1054b 100644 --- a/Gemfile +++ b/Gemfile @@ -145,7 +145,7 @@ group :test do gem "rubocop" gem "rubocop-minitest" gem "rubocop-performance" - gem "rubocop-rails" + gem "rubocop-rails", "~> 2.11.3" # Bug in 2.12.0, fixed in master after 2.12.2 gem "rubocop-rake" gem "selenium-webdriver" gem "simplecov", :require => false diff --git a/Gemfile.lock b/Gemfile.lock index 211e673cd..4daf0bb81 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -421,7 +421,7 @@ GEM rubocop-performance (1.11.5) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.12.2) + rubocop-rails (2.11.3) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.7.0, < 2.0) @@ -560,7 +560,7 @@ DEPENDENCIES rubocop rubocop-minitest rubocop-performance - rubocop-rails + rubocop-rails (~> 2.11.3) rubocop-rake sanitize sassc-rails -- 2.39.5