diff --git a/.rubocop.yml b/.rubocop.yml index 57bcb10b7..683e19fe5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,6 +7,7 @@ require: - rubocop-rails - rubocop-rake - rubocop-rspec + - rubocop-rspec_rails AllCops: DisplayCopNames: true diff --git a/Gemfile b/Gemfile index cdc10eda1..5dea80db2 100644 --- a/Gemfile +++ b/Gemfile @@ -29,9 +29,12 @@ gem "will_paginate" group :development do gem "rubocop", require: false + gem "rubocop-capybara", require: false + gem "rubocop-factory_bot", require: false gem "rubocop-rails", require: false gem "rubocop-rake", require: false gem "rubocop-rspec", require: false + gem "rubocop-rspec_rails", require: false gem "web-console" end diff --git a/Gemfile.lock b/Gemfile.lock index 87cf41772..db3e40b5b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -135,7 +135,7 @@ GEM railties (>= 6.1) drb (2.2.1) dumb_delegator (1.0.0) - erubi (1.12.0) + erubi (1.13.0) et-orbi (1.2.11) tzinfo execjs (2.9.1) @@ -168,7 +168,7 @@ GEM concurrent-ruby (~> 1.0) ice_nine (0.11.2) io-console (0.7.2) - irb (1.13.1) + irb (1.13.2) rdoc (>= 4.0.0) reline (>= 0.4.2) json (2.7.2) @@ -191,7 +191,7 @@ GEM multi_xml (0.7.1) bigdecimal (~> 3.1) mutex_m (0.2.0) - net-imap (0.4.12) + net-imap (0.4.13) date net-protocol net-pop (0.1.2) @@ -201,11 +201,11 @@ GEM net-smtp (0.5.0) net-protocol nio4r (2.7.3) - nokogiri (1.16.5) + nokogiri (1.16.6) mini_portile2 (~> 2.8.2) racc (~> 1.4) parallel (1.25.1) - parser (3.3.2.0) + parser (3.3.3.0) ast (~> 2.4.1) racc pg (1.5.6) @@ -217,12 +217,12 @@ GEM pry (>= 0.13, < 0.15) psych (5.1.2) stringio - public_suffix (5.0.5) + public_suffix (5.1.0) puma (6.4.2) nio4r (~> 2.0) raabro (1.4.0) racc (1.8.0) - rack (3.0.11) + rack (3.1.3) rack-session (2.0.0) rack (>= 3.0.0) rack-ssl (1.4.1) @@ -269,9 +269,9 @@ GEM rdoc (6.7.0) psych (>= 4.0.0) regexp_parser (2.9.2) - reline (0.5.8) + reline (0.5.9) io-console (~> 0.5) - rexml (3.2.9) + rexml (3.3.0) strscan rspec (3.13.0) rspec-core (~> 3.13.0) @@ -279,7 +279,7 @@ GEM rspec-mocks (~> 3.13.0) rspec-core (3.13.0) rspec-support (~> 3.13.0) - rspec-expectations (3.13.0) + rspec-expectations (3.13.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-mocks (3.13.1) @@ -309,8 +309,8 @@ GEM parser (>= 3.3.1.0) rubocop-capybara (2.21.0) rubocop (~> 1.41) - rubocop-factory_bot (2.26.0) - rubocop (~> 1.41) + rubocop-factory_bot (2.26.1) + rubocop (~> 1.61) rubocop-rails (2.25.0) activesupport (>= 4.2.0) rack (>= 1.1) @@ -318,13 +318,11 @@ GEM rubocop-ast (>= 1.31.1, < 2.0) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (2.31.0) - rubocop (~> 1.40) - rubocop-capybara (~> 2.17) - rubocop-factory_bot (~> 2.22) - rubocop-rspec_rails (~> 2.28) - rubocop-rspec_rails (2.29.0) - rubocop (~> 1.40) + rubocop-rspec (3.0.1) + rubocop (~> 1.61) + rubocop-rspec_rails (2.30.0) + rubocop (~> 1.61) + rubocop-rspec (~> 3, >= 3.0.1) ruby-progressbar (1.13.0) rubyzip (2.3.2) sass (3.7.4) @@ -350,8 +348,8 @@ GEM actionpack (>= 6.1) activesupport (>= 6.1) sprockets (>= 3.0.0) - stringio (3.1.0) - stripe (11.6.0) + stringio (3.1.1) + stripe (11.7.0) strscan (3.1.0) sync (0.5.0) term-ansicolor (1.8.0) @@ -390,12 +388,12 @@ GEM websocket-driver (0.7.6) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) - will_paginate (4.0.0) + will_paginate (4.0.1) with_model (2.1.7) activerecord (>= 6.0) xpath (3.2.0) nokogiri (~> 1.8) - zeitwerk (2.6.15) + zeitwerk (2.6.16) PLATFORMS ruby @@ -422,9 +420,12 @@ DEPENDENCIES rspec rspec-rails rubocop + rubocop-capybara + rubocop-factory_bot rubocop-rails rubocop-rake rubocop-rspec + rubocop-rspec_rails sass selenium-webdriver simplecov