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:
- 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:

View file

@ -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

View file

@ -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