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
This commit is contained in:
François Vantomme 2021-12-01 10:24:32 +01:00
parent d3603cf3c5
commit bebc78b587
No known key found for this signature in database
GPG key ID: 75A448E06F6B75F8
3 changed files with 7 additions and 6 deletions

View file

@ -1,7 +1,7 @@
require: require:
- rubocop-performance - rubocop-performance
- rubocop-rails - rubocop-rails
- rubocop/rspec/focused - rubocop-rspec
- ./lib/cops/add_concurrent_index.rb - ./lib/cops/add_concurrent_index.rb
- ./lib/cops/application_name.rb - ./lib/cops/application_name.rb
- ./lib/cops/unscoped.rb - ./lib/cops/unscoped.rb
@ -877,7 +877,7 @@ Rails/WhereExists:
Rails/WhereNot: Rails/WhereNot:
Enabled: true Enabled: true
RSpec/Focused: RSpec/Focus:
Enabled: true Enabled: true
Security/Eval: Security/Eval:

View file

@ -113,7 +113,7 @@ group :development do
gem 'rubocop', require: false gem 'rubocop', require: false
gem 'rubocop-performance', require: false gem 'rubocop-performance', require: false
gem 'rubocop-rails', require: false gem 'rubocop-rails', require: false
gem 'rubocop-rspec-focused', require: false gem 'rubocop-rspec', require: false
gem 'scss_lint', require: false gem 'scss_lint', require: false
gem 'web-console' gem 'web-console'
end end

View file

@ -627,8 +627,9 @@ GEM
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
rack (>= 1.1) rack (>= 1.1)
rubocop (>= 0.90.0, < 2.0) rubocop (>= 0.90.0, < 2.0)
rubocop-rspec-focused (1.0.0) rubocop-rspec (2.4.0)
rubocop (>= 0.51) rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
ruby-graphviz (1.2.5) ruby-graphviz (1.2.5)
rexml rexml
ruby-progressbar (1.11.0) ruby-progressbar (1.11.0)
@ -867,7 +868,7 @@ DEPENDENCIES
rubocop rubocop
rubocop-performance rubocop-performance
rubocop-rails rubocop-rails
rubocop-rspec-focused rubocop-rspec
ruby-saml-idp ruby-saml-idp
sanitize-url sanitize-url
sassc-rails sassc-rails