Bump rubocop-rspec from 2.27.0 to 3.0.1

In this version, the RSpec Rails cops have been extracted to a new
`rubocop-rspec_rails` gem [1], and the `RSpec/Capybara/FeatureMethods`
has been removed in favor of the `RSpec/Dialect` cop.

Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.27.0 to 3.0.1.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.27.0...v3.0.1)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

[1] https://docs.rubocop.org/rubocop-rspec/upgrade_to_version_3.html
[2] https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecdialect
This commit is contained in:
dependabot[bot]
2024-07-02 18:59:19 +00:00
committed by Javi Martín
parent 2b69e3c814
commit cb227e41dc
3 changed files with 30 additions and 24 deletions

View File

@@ -4,6 +4,7 @@ require:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- rubocop-rspec_rails
AllCops:
DisplayCopNames: true
@@ -533,12 +534,6 @@ RSpec/BeNil:
Enabled: true
EnforcedStyle: be
RSpec/Capybara/FeatureMethods:
Enabled: true
EnabledMethods:
- scenario
- xscenario
RSpec/ContextMethod:
Enabled: true
@@ -546,6 +541,14 @@ RSpec/DescribedClass:
Enabled: true
EnforcedStyle: explicit
RSpec/Dialect:
Enabled: true
PreferredMethods:
background: :before
given: :let
given!: :let!
feature: :describe
RSpec/EmptyExampleGroup:
Enabled: true
Exclude:
@@ -595,18 +598,6 @@ RSpec/NotToNot:
RSpec/OverwritingSetup:
Enabled: true
RSpec/Rails/HaveHttpStatus:
Enabled: true
RSpec/Rails/InferredSpecType:
Enabled: true
RSpec/Rails/NegationBeValid:
Enabled: true
RSpec/Rails/TravelAround:
Enabled: true
RSpec/ReceiveMessages:
Enabled: true
@@ -634,6 +625,18 @@ RSpec/SpecFilePathSuffix:
RSpec/VoidExpect:
Enabled: true
RSpecRails/HaveHttpStatus:
Enabled: true
RSpecRails/InferredSpecType:
Enabled: true
RSpecRails/NegationBeValid:
Enabled: true
RSpecRails/TravelAround:
Enabled: true
Security/Eval:
Enabled: true

View File

@@ -103,7 +103,8 @@ group :development do
gem "rubocop-factory_bot", "~> 2.26.1", require: false
gem "rubocop-performance", "~> 1.21.1", require: false
gem "rubocop-rails", "~> 2.25.1", require: false
gem "rubocop-rspec", "~> 2.27.0", require: false
gem "rubocop-rspec", "~> 3.0.1", require: false
gem "rubocop-rspec_rails", "~> 2.30.0", require: false
gem "rvm1-capistrano3", "~> 1.4.0", require: false
gem "spring", "~> 4.2.1"
gem "web-console", "~> 4.2.1"

View File

@@ -561,10 +561,11 @@ GEM
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (2.27.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec (3.0.3)
rubocop (~> 1.61)
rubocop-rspec_rails (2.30.0)
rubocop (~> 1.61)
rubocop-rspec (~> 3, >= 3.0.1)
ruby-progressbar (1.13.0)
ruby-rc4 (0.1.5)
ruby-vips (2.1.4)
@@ -770,7 +771,8 @@ DEPENDENCIES
rubocop-factory_bot (~> 2.26.1)
rubocop-performance (~> 1.21.1)
rubocop-rails (~> 2.25.1)
rubocop-rspec (~> 2.27.0)
rubocop-rspec (~> 3.0.1)
rubocop-rspec_rails (~> 2.30.0)
rvm1-capistrano3 (~> 1.4.0)
sassc-embedded (~> 1.70.1)
sassc-rails (~> 2.1.2)