From bebc78b5874a3b2560dc2a779e1a811a70575259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Vantomme?= Date: Wed, 1 Dec 2021 10:24:32 +0100 Subject: [PATCH] chore(rubocop): replace deprecated rspec-focused by rubocop-rspec WARNING: We are no longer maintaining this gem, and will eventually archive this repo. We recommend you use rubocop-rspec instead. https://github.com/CarooDev/rubocop-rspec-focused --- .rubocop.yml | 4 ++-- Gemfile | 2 +- Gemfile.lock | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index ea5ad74b8..9a84c37d4 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ require: - rubocop-performance - rubocop-rails - - rubocop/rspec/focused + - rubocop-rspec - ./lib/cops/add_concurrent_index.rb - ./lib/cops/application_name.rb - ./lib/cops/unscoped.rb @@ -877,7 +877,7 @@ Rails/WhereExists: Rails/WhereNot: Enabled: true -RSpec/Focused: +RSpec/Focus: Enabled: true Security/Eval: diff --git a/Gemfile b/Gemfile index e6ebfaf0a..b56231cea 100644 --- a/Gemfile +++ b/Gemfile @@ -113,7 +113,7 @@ group :development do gem 'rubocop', require: false gem 'rubocop-performance', require: false gem 'rubocop-rails', require: false - gem 'rubocop-rspec-focused', require: false + gem 'rubocop-rspec', require: false gem 'scss_lint', require: false gem 'web-console' end diff --git a/Gemfile.lock b/Gemfile.lock index 66ef40011..dad5cc90b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -627,8 +627,9 @@ GEM activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 0.90.0, < 2.0) - rubocop-rspec-focused (1.0.0) - rubocop (>= 0.51) + rubocop-rspec (2.4.0) + rubocop (~> 1.0) + rubocop-ast (>= 1.1.0) ruby-graphviz (1.2.5) rexml ruby-progressbar (1.11.0) @@ -867,7 +868,7 @@ DEPENDENCIES rubocop rubocop-performance rubocop-rails - rubocop-rspec-focused + rubocop-rspec ruby-saml-idp sanitize-url sassc-rails