diff --git a/Gemfile b/Gemfile index e213a4ae7..2cb96e25b 100644 --- a/Gemfile +++ b/Gemfile @@ -83,7 +83,7 @@ group :test, :development do gem 'rack_session_access' gem 'thin' - gem 'rubocop-govuk', '~> 3.6.0' + gem 'rubocop-govuk', '~> 4.10.0' gem 'scss_lint-govuk' gem 'codacy-coverage', { require: false } diff --git a/Gemfile.lock b/Gemfile.lock index b56d5d95a..b223ff58a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -73,7 +73,7 @@ GEM codacy-coverage (2.2.1) simplecov coderay (1.1.3) - concurrent-ruby (1.2.0) + concurrent-ruby (1.2.2) connection_pool (2.3.0) crack (0.4.5) rexml @@ -132,10 +132,9 @@ GEM http-cookie (1.0.5) domain_name (~> 0.5) http-form_data (2.3.0) - i18n (1.12.0) + i18n (1.14.1) concurrent-ruby (~> 1.0) inflection (1.0.0) - jaro_winkler (1.5.4) jasmine (3.99.0) jasmine-core (= 3.99.0) phantomjs @@ -148,6 +147,7 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) + json (2.7.1) libv8-node (16.10.0.0) libv8-node (16.10.0.0-x86_64-darwin-19) libv8-node (16.10.0.0-x86_64-linux) @@ -169,7 +169,7 @@ GEM mini_portile2 (2.8.1) mini_racer (0.6.3) libv8-node (~> 16.10.0.0) - minitest (5.17.0) + minitest (5.20.0) multi_json (1.15.0) multipart-post (2.2.3) nio4r (2.5.8) @@ -180,9 +180,10 @@ GEM racc (~> 1.4) nokogiri (1.14.1-x86_64-linux) racc (~> 1.4) - parallel (1.20.1) - parser (3.0.2.0) + parallel (1.23.0) + parser (3.2.2.4) ast (~> 2.4.1) + racc phantomjs (2.1.1.0) prometheus-client (0.10.0) pry (0.14.2) @@ -192,7 +193,7 @@ GEM puma (5.6.5) nio4r (~> 2.0) racc (1.6.2) - rack (2.2.6.4) + rack (2.2.8) rack-handlers (0.7.3) rack rack-test (2.1.0) @@ -231,7 +232,7 @@ GEM method_source rake (>= 0.8.7) thor (>= 0.19.0, < 2.0) - rainbow (3.0.0) + rainbow (3.1.1) rake (13.0.6) rb-fsevent (0.11.0) rb-inotify (0.10.1) @@ -239,7 +240,7 @@ GEM regexp_parser (2.5.0) request_store (1.5.1) rack (>= 1.4) - rexml (3.2.5) + rexml (3.2.6) route_translator (13.1.0) actionpack (>= 5.2, < 7.1) activesupport (>= 5.2, < 7.1) @@ -264,28 +265,36 @@ GEM rspec-mocks (~> 3.10) rspec-support (~> 3.10) rspec-support (3.12.0) - rubocop (0.82.0) - jaro_winkler (~> 1.5.1) + rubocop (1.44.1) + json (~> 2.3) parallel (~> 1.10) - parser (>= 2.7.0.1) + parser (>= 3.2.0.0) rainbow (>= 2.2.2, < 4.0) - rexml + regexp_parser (>= 1.8, < 3.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.24.1, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) - rubocop-govuk (3.6.0) - rubocop (= 0.82.0) - rubocop-rails (~> 2) - rubocop-rake (~> 0.5.1) - rubocop-rspec (~> 1.28) - rubocop-rails (2.6.0) + unicode-display_width (>= 2.4.0, < 3.0) + rubocop-ast (1.24.1) + parser (>= 3.1.1.0) + rubocop-capybara (2.19.0) + rubocop (~> 1.41) + rubocop-govuk (4.10.0) + rubocop (= 1.44.1) + rubocop-ast (= 1.24.1) + rubocop-rails (= 2.17.4) + rubocop-rake (= 0.6.0) + rubocop-rspec (= 2.18.1) + rubocop-rails (2.17.4) activesupport (>= 4.2.0) rack (>= 1.1) - rubocop (>= 0.82.0) - rubocop-rake (0.5.1) - rubocop - rubocop-rspec (1.41.0) - rubocop (>= 0.68.1) - ruby-progressbar (1.11.0) + rubocop (>= 1.33.0, < 2.0) + rubocop-rake (0.6.0) + rubocop (~> 1.0) + rubocop-rspec (2.18.1) + rubocop (~> 1.33) + rubocop-capybara (~> 2.17) + ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) rubyzip (2.3.2) sass (3.7.4) @@ -333,7 +342,7 @@ GEM unf (0.1.4) unf_ext unf_ext (0.0.8.2) - unicode-display_width (1.7.0) + unicode-display_width (2.5.0) user_agent_parser (2.7.0) web-console (3.7.0) actionview (>= 5.0) @@ -399,7 +408,7 @@ DEPENDENCIES route_translator (~> 13.1.0) rspec (~> 3.12) rspec-rails (~> 5.1) - rubocop-govuk (~> 3.6.0) + rubocop-govuk (~> 4.10.0) sassc (~> 2.4.0) scss_lint-govuk selenium-webdriver (~> 4)