Bump rubocop-rspec from 2.17.1 to 2.23.2

Note that in rubocop-rspec 2.18.0, most Capybara cops were extracted to
a different gem, and the sam happened in rubocop-rspec 2.22.0 with
FactoryBot cops.

So we're adding both rubocop-capybara and rubocop-factory_bot as
dependencies.

Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.17.1 to 2.23.2.
- [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.17.1...v2.23.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2023-09-08 04:40:00 +00:00
committed by Javi Martín
parent 49218118f2
commit aef78ee6f6
3 changed files with 33 additions and 21 deletions

View File

@@ -1,4 +1,6 @@
require: require:
- rubocop-capybara
- rubocop-factory_bot
- rubocop-performance - rubocop-performance
- rubocop-rails - rubocop-rails
- rubocop-rspec - rubocop-rspec
@@ -18,6 +20,24 @@ Bundler/OrderedGems:
Enabled: true Enabled: true
ConsiderPunctuation: true ConsiderPunctuation: true
Capybara/CurrentPathExpectation:
Enabled: true
Capybara/NegationMatcher:
Enabled: true
Capybara/SpecificActions:
Enabled: true
Capybara/VisibilityMatcher:
Enabled: true
FactoryBot/ConsistentParenthesesStyle:
Enabled: true
FactoryBot/FactoryClassName:
Enabled: true
Layout/ArgumentAlignment: Layout/ArgumentAlignment:
Enabled: true Enabled: true
@@ -474,24 +494,12 @@ RSpec/BeNil:
Enabled: true Enabled: true
EnforcedStyle: be EnforcedStyle: be
RSpec/Capybara/CurrentPathExpectation:
Enabled: true
RSpec/Capybara/FeatureMethods: RSpec/Capybara/FeatureMethods:
Enabled: true Enabled: true
EnabledMethods: EnabledMethods:
- scenario - scenario
- xscenario - xscenario
RSpec/Capybara/NegationMatcher:
Enabled: true
RSpec/Capybara/SpecificActions:
Enabled: true
RSpec/Capybara/VisibilityMatcher:
Enabled: true
RSpec/ContextMethod: RSpec/ContextMethod:
Enabled: true Enabled: true
@@ -521,12 +529,6 @@ RSpec/ExampleWording:
RSpec/ExcessiveDocstringSpacing: RSpec/ExcessiveDocstringSpacing:
Enabled: true Enabled: true
RSpec/FactoryBot/ConsistentParenthesesStyle:
Enabled: true
RSpec/FactoryBot/FactoryClassName:
Enabled: true
RSpec/FilePath: RSpec/FilePath:
Enabled: true Enabled: true

View File

@@ -107,9 +107,11 @@ group :development do
gem "pronto-rubocop", "~> 0.11.5", require: false gem "pronto-rubocop", "~> 0.11.5", require: false
gem "pronto-scss", "~> 0.11.0", require: false gem "pronto-scss", "~> 0.11.0", require: false
gem "rubocop", "~> 1.56.2", require: false gem "rubocop", "~> 1.56.2", require: false
gem "rubocop-capybara", "~> 2.18.0", require: false
gem "rubocop-factory_bot", "~> 2.23.1", require: false
gem "rubocop-performance", "~> 1.19.0", require: false gem "rubocop-performance", "~> 1.19.0", require: false
gem "rubocop-rails", "~> 2.20.2", require: false gem "rubocop-rails", "~> 2.20.2", require: false
gem "rubocop-rspec", "~> 2.17.1", require: false gem "rubocop-rspec", "~> 2.23.2", require: false
gem "rvm1-capistrano3", "~> 1.4.0", require: false gem "rvm1-capistrano3", "~> 1.4.0", require: false
gem "scss_lint", "~> 0.60.0", require: false gem "scss_lint", "~> 0.60.0", require: false
gem "web-console", "~> 4.2.0" gem "web-console", "~> 4.2.0"

View File

@@ -529,6 +529,10 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0) unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0) rubocop-ast (1.29.0)
parser (>= 3.2.1.0) parser (>= 3.2.1.0)
rubocop-capybara (2.18.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.23.1)
rubocop (~> 1.33)
rubocop-performance (1.19.0) rubocop-performance (1.19.0)
rubocop (>= 1.7.0, < 2.0) rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0) rubocop-ast (>= 0.4.0)
@@ -536,8 +540,10 @@ GEM
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
rack (>= 1.1) rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0) rubocop (>= 1.33.0, < 2.0)
rubocop-rspec (2.17.1) rubocop-rspec (2.23.2)
rubocop (~> 1.33) rubocop (~> 1.33)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0) ruby-progressbar (1.13.0)
ruby-vips (2.1.4) ruby-vips (2.1.4)
ffi (~> 1.12) ffi (~> 1.12)
@@ -747,9 +753,11 @@ DEPENDENCIES
ros-apartment (~> 2.11.0) ros-apartment (~> 2.11.0)
rspec-rails (~> 5.1.2) rspec-rails (~> 5.1.2)
rubocop (~> 1.56.2) rubocop (~> 1.56.2)
rubocop-capybara (~> 2.18.0)
rubocop-factory_bot (~> 2.23.1)
rubocop-performance (~> 1.19.0) rubocop-performance (~> 1.19.0)
rubocop-rails (~> 2.20.2) rubocop-rails (~> 2.20.2)
rubocop-rspec (~> 2.17.1) rubocop-rspec (~> 2.23.2)
rvm1-capistrano3 (~> 1.4.0) rvm1-capistrano3 (~> 1.4.0)
sassc-rails (~> 2.1.2) sassc-rails (~> 2.1.2)
savon (~> 2.14.0) savon (~> 2.14.0)