diff --git a/.rubocop.yml b/.rubocop.yml index 1282ade543..9ceefbfe2b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -54,6 +54,9 @@ Layout/HeredocArgumentClosingParenthesis: Layout/IndentationConsistency: EnforcedStyle: indented_internal_methods +Layout/LineEndStringConcatenationIndentation: + Enabled: false + Layout/LineLength: Max: 140 Exclude: diff --git a/Gemfile b/Gemfile index 77cc2a311a..2f433516b8 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' ruby '2.7.1' -gem 'rails', '6.1.3.2' +gem 'rails', '6.1.4' gem 'coffee-rails' gem 'hamlit' @@ -66,7 +66,7 @@ group :development, :test do gem 'haml_lint', require: false gem 'pry' gem 'rspec-rails' - gem 'rubocop', '~> 1.15.0', require: false + gem 'rubocop', '~> 1.18.0', require: false gem 'rubocop-performance' gem 'rubocop-rails' gem 'rubocop-rake' @@ -78,7 +78,8 @@ group :test do gem 'apparition' gem 'capybara' gem 'capybara-screenshot' - gem 'cucumber-rails', require: false + # TODO: Locked due to Cucumber 6. + gem 'cucumber-rails', '< 2.4', require: false gem 'database_cleaner' gem 'rails-controller-testing' gem 'shoulda-matchers' diff --git a/Gemfile.lock b/Gemfile.lock index 65dd22b045..38145e6031 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,64 +1,64 @@ GEM remote: https://rubygems.org/ specs: - actioncable (6.1.3.2) - actionpack (= 6.1.3.2) - activesupport (= 6.1.3.2) + actioncable (6.1.4) + actionpack (= 6.1.4) + activesupport (= 6.1.4) nio4r (~> 2.0) websocket-driver (>= 0.6.1) - actionmailbox (6.1.3.2) - actionpack (= 6.1.3.2) - activejob (= 6.1.3.2) - activerecord (= 6.1.3.2) - activestorage (= 6.1.3.2) - activesupport (= 6.1.3.2) + actionmailbox (6.1.4) + actionpack (= 6.1.4) + activejob (= 6.1.4) + activerecord (= 6.1.4) + activestorage (= 6.1.4) + activesupport (= 6.1.4) mail (>= 2.7.1) - actionmailer (6.1.3.2) - actionpack (= 6.1.3.2) - actionview (= 6.1.3.2) - activejob (= 6.1.3.2) - activesupport (= 6.1.3.2) + actionmailer (6.1.4) + actionpack (= 6.1.4) + actionview (= 6.1.4) + activejob (= 6.1.4) + activesupport (= 6.1.4) mail (~> 2.5, >= 2.5.4) rails-dom-testing (~> 2.0) - actionpack (6.1.3.2) - actionview (= 6.1.3.2) - activesupport (= 6.1.3.2) + actionpack (6.1.4) + actionview (= 6.1.4) + activesupport (= 6.1.4) rack (~> 2.0, >= 2.0.9) rack-test (>= 0.6.3) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0) - actiontext (6.1.3.2) - actionpack (= 6.1.3.2) - activerecord (= 6.1.3.2) - activestorage (= 6.1.3.2) - activesupport (= 6.1.3.2) + actiontext (6.1.4) + actionpack (= 6.1.4) + activerecord (= 6.1.4) + activestorage (= 6.1.4) + activesupport (= 6.1.4) nokogiri (>= 1.8.5) - actionview (6.1.3.2) - activesupport (= 6.1.3.2) + actionview (6.1.4) + activesupport (= 6.1.4) builder (~> 3.1) erubi (~> 1.4) rails-dom-testing (~> 2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0) - activejob (6.1.3.2) - activesupport (= 6.1.3.2) + activejob (6.1.4) + activesupport (= 6.1.4) globalid (>= 0.3.6) - activemodel (6.1.3.2) - activesupport (= 6.1.3.2) + activemodel (6.1.4) + activesupport (= 6.1.4) activemodel-serializers-xml (1.0.2) activemodel (> 5.x) activesupport (> 5.x) builder (~> 3.1) - activerecord (6.1.3.2) - activemodel (= 6.1.3.2) - activesupport (= 6.1.3.2) - activestorage (6.1.3.2) - actionpack (= 6.1.3.2) - activejob (= 6.1.3.2) - activerecord (= 6.1.3.2) - activesupport (= 6.1.3.2) + activerecord (6.1.4) + activemodel (= 6.1.4) + activesupport (= 6.1.4) + activestorage (6.1.4) + actionpack (= 6.1.4) + activejob (= 6.1.4) + activerecord (= 6.1.4) + activesupport (= 6.1.4) marcel (~> 1.0.0) - mini_mime (~> 1.0.2) - activesupport (6.1.3.2) + mini_mime (>= 1.1.0) + activesupport (6.1.4) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -66,7 +66,7 @@ GEM zeitwerk (~> 2.3) acts_as_list (1.0.4) activerecord (>= 4.2) - addressable (2.7.0) + addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) apparition (0.6.0) capybara (~> 3.13, < 4) @@ -82,7 +82,7 @@ GEM jmespath (~> 1.0) aws-sdk-resources (2.11.632) aws-sdk-core (= 2.11.632) - aws-sigv4 (1.2.3) + aws-sigv4 (1.2.4) aws-eventstream (~> 1, >= 1.0.2) axiom-types (0.1.1) descendants_tracker (~> 0.0.4) @@ -93,7 +93,7 @@ GEM babel-source (>= 4.0, < 6) execjs (~> 2.0) bcrypt (3.1.16) - brakeman (5.0.1) + brakeman (5.1.1) builder (3.2.4) bundler-audit (0.8.0) bundler (>= 1.2.0, < 3) @@ -121,7 +121,7 @@ GEM execjs coffee-script-source (1.12.2) colorize (0.8.1) - concurrent-ruby (1.1.8) + concurrent-ruby (1.1.9) config (3.1.0) deep_merge (~> 1.2, >= 1.2.1) dry-validation (~> 1.0, >= 1.0.0) @@ -193,18 +193,18 @@ GEM dry-configurable (0.12.1) concurrent-ruby (~> 1.0) dry-core (~> 0.5, >= 0.5.0) - dry-container (0.7.2) + dry-container (0.8.0) concurrent-ruby (~> 1.0) dry-configurable (~> 0.1, >= 0.1.3) - dry-core (0.5.0) + dry-core (0.7.1) concurrent-ruby (~> 1.0) dry-equalizer (0.3.0) - dry-inflector (0.2.0) + dry-inflector (0.2.1) dry-initializer (3.0.4) dry-logic (1.2.0) concurrent-ruby (~> 1.0) dry-core (~> 0.5, >= 0.5) - dry-schema (1.6.2) + dry-schema (1.7.0) concurrent-ruby (~> 1.0) dry-configurable (~> 0.8, >= 0.8.3) dry-core (~> 0.5, >= 0.5) @@ -238,20 +238,24 @@ GEM factory_bot_rails (6.2.0) factory_bot (~> 6.2.0) railties (>= 5.0.0) - faraday (1.4.2) + faraday (1.5.1) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0.1) faraday-net_http (~> 1.0) faraday-net_http_persistent (~> 1.1) + faraday-patron (~> 1.0) multipart-post (>= 1.2, < 3) ruby2_keywords (>= 0.0.4) faraday-em_http (1.0.0) faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) + faraday-httpclient (1.0.1) faraday-net_http (1.0.1) - faraday-net_http_persistent (1.1.0) - ffi (1.15.1) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + ffi (1.15.3) flay (2.12.1) erubis (~> 2.7.0) path_expander (~> 1.0) @@ -261,7 +265,7 @@ GEM path_expander (~> 1.0) ruby_parser (~> 3.1, > 3.1.0) sexp_processor (~> 4.8) - formatador (0.2.5) + formatador (0.3.0) foundation-rails (6.6.2.0) railties (>= 3.1.0) sass (>= 3.3.0) @@ -270,16 +274,16 @@ GEM activesupport (>= 4.2.0) grape-swagger-rails (0.3.1) railties (>= 3.2.12) - gretel (4.2.0) + gretel (4.3.0) actionview (>= 5.1, < 7.0) railties (>= 5.1, < 7.0) - guard (2.17.0) + guard (2.18.0) formatador (>= 0.2.4) listen (>= 2.7, < 4.0) lumberjack (>= 1.0.12, < 2.0) nenv (~> 0.1) notiffany (~> 0.0) - pry (>= 0.9.12) + pry (>= 0.13.0) shellany (~> 0.0) thor (>= 0.18.1) guard-compat (1.2.1) @@ -293,13 +297,13 @@ GEM haml (5.2.1) temple (>= 0.8.0) tilt - haml_lint (0.37.0) + haml_lint (0.37.1) haml (>= 4.0, < 5.3) parallel (~> 1.10) rainbow rubocop (>= 0.50.0) sysexits (~> 1.1) - hamlit (2.15.0) + hamlit (2.15.1) temple (>= 0.8.2) thor tilt @@ -322,10 +326,10 @@ GEM addressable (~> 2.7) ledermann-rails-settings (2.5.0) activerecord (>= 4.2) - listen (3.5.1) + listen (3.6.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - loofah (2.9.1) + loofah (2.10.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) lumberjack (1.2.8) @@ -336,25 +340,20 @@ GEM middleware (0.1.0) mime-types (3.3.1) mime-types-data (~> 3.2015) - mime-types-data (3.2021.0225) + mime-types-data (3.2021.0704) mimemagic (0.3.10) nokogiri (~> 1) rake - mini_mime (1.0.3) - mini_portile2 (2.5.2) - net-ftp (~> 0.1) + mini_mime (1.1.0) + mini_portile2 (2.5.3) minitest (5.14.4) multi_test (0.1.2) multipart-post (2.1.1) mysql2 (0.5.3) nenv (0.3.0) - net-ftp (0.1.2) - net-protocol - time - net-protocol (0.1.0) newrelic_rpm (7.2.0) nio4r (2.5.7) - nokogiri (1.11.6) + nokogiri (1.11.7) mini_portile2 (~> 2.5.0) racc (~> 1.4) notiffany (0.1.3) @@ -371,7 +370,7 @@ GEM mimemagic (~> 0.3.0) terrapin (~> 0.6.0) parallel (1.20.1) - parser (3.0.1.1) + parser (3.0.2.0) ast (~> 2.4.1) path_expander (1.1.0) pr_geohash (1.0.0) @@ -395,20 +394,20 @@ GEM rack rack-test (1.1.0) rack (>= 1.0, < 3) - rails (6.1.3.2) - actioncable (= 6.1.3.2) - actionmailbox (= 6.1.3.2) - actionmailer (= 6.1.3.2) - actionpack (= 6.1.3.2) - actiontext (= 6.1.3.2) - actionview (= 6.1.3.2) - activejob (= 6.1.3.2) - activemodel (= 6.1.3.2) - activerecord (= 6.1.3.2) - activestorage (= 6.1.3.2) - activesupport (= 6.1.3.2) + rails (6.1.4) + actioncable (= 6.1.4) + actionmailbox (= 6.1.4) + actionmailer (= 6.1.4) + actionpack (= 6.1.4) + actiontext (= 6.1.4) + actionview (= 6.1.4) + activejob (= 6.1.4) + activemodel (= 6.1.4) + activerecord (= 6.1.4) + activestorage (= 6.1.4) + activesupport (= 6.1.4) bundler (>= 1.15.0) - railties (= 6.1.3.2) + railties (= 6.1.4) sprockets-rails (>= 2.0.0) rails-controller-testing (1.0.5) actionpack (>= 5.0.1.rc1) @@ -421,14 +420,14 @@ GEM loofah (~> 2.3) rails-observers (0.1.5) activemodel (>= 4.0) - railties (6.1.3.2) - actionpack (= 6.1.3.2) - activesupport (= 6.1.3.2) + railties (6.1.4) + actionpack (= 6.1.4) + activesupport (= 6.1.4) method_source - rake (>= 0.8.7) + rake (>= 0.13) thor (~> 1.0) rainbow (3.0.0) - rake (13.0.3) + rake (13.0.6) rb-fsevent (0.11.0) rb-inotify (0.10.1) ffi (~> 1.0) @@ -469,31 +468,31 @@ GEM rspec-mocks (~> 3.10) rspec-support (~> 3.10) rspec-support (3.10.2) - rubocop (1.15.0) + rubocop (1.18.4) parallel (~> 1.10) parser (>= 3.0.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml - rubocop-ast (>= 1.5.0, < 2.0) + rubocop-ast (>= 1.8.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.7.0) + rubocop-ast (1.8.0) parser (>= 3.0.1.1) - rubocop-performance (1.11.3) + rubocop-performance (1.11.4) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.10.1) + rubocop-rails (2.11.3) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.7.0, < 2.0) - rubocop-rake (0.5.1) - rubocop - rubocop-rspec (2.3.0) + rubocop-rake (0.6.0) + rubocop (~> 1.0) + rubocop-rspec (2.4.0) rubocop (~> 1.0) rubocop-ast (>= 1.1.0) ruby-progressbar (1.11.0) - ruby2_keywords (0.0.4) + ruby2_keywords (0.0.5) ruby_parser (3.16.0) sexp_processor (~> 4.15, >= 4.15.1) rubycritic (4.6.1) @@ -523,8 +522,8 @@ GEM semantic_range (3.0.0) sexp_processor (4.15.3) shellany (0.0.1) - shoulda-matchers (4.5.1) - activesupport (>= 4.2.0) + shoulda-matchers (5.0.0) + activesupport (>= 5.2.0) simplecov (0.21.2) docile (~> 1.1) simplecov-html (~> 0.11) @@ -544,7 +543,7 @@ GEM sprockets (>= 3.0.0) strip_attributes (1.11.0) activemodel (>= 3.0, < 7.0) - strong_migrations (0.7.6) + strong_migrations (0.7.7) activerecord (>= 5) sunspot (2.5.0) pr_geohash (~> 1.0) @@ -559,16 +558,15 @@ GEM sys-uname (1.2.2) ffi (~> 1.1) sysexits (1.2.0) - tabulo (2.6.2) + tabulo (2.7.0) tty-screen (= 0.8.1) - unicode-display_width (= 1.7.0) + unicode-display_width (= 2.0.0) temple (0.8.2) terrapin (0.6.0) climate_control (>= 0.0.3, < 1.0) thor (1.1.0) thread_safe (0.3.6) tilt (2.0.10) - time (0.1.0) tty-screen (0.8.1) tty-which (0.4.2) twitter-typeahead-rails (0.11.1) @@ -579,7 +577,7 @@ GEM concurrent-ruby (~> 1.0) uglifier (4.2.0) execjs (>= 0.3.0, < 3) - unicode-display_width (1.7.0) + unicode-display_width (2.0.0) unread (0.11.0) activerecord (>= 3) virtus (1.0.5) @@ -598,7 +596,7 @@ GEM rack-proxy (>= 0.6.1) railties (>= 5.2) semantic_range (>= 2.3.0) - websocket-driver (0.7.4) + websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) will_paginate (3.3.0) @@ -622,7 +620,7 @@ DEPENDENCIES coffee-rails colorize config - cucumber-rails + cucumber-rails (< 2.4) database_cleaner devise diffy @@ -651,14 +649,14 @@ DEPENDENCIES puma (< 5) rack rack-cors - rails (= 6.1.3.2) + rails (= 6.1.4) rails-controller-testing rails-observers rake redcarpet request_store rspec-rails - rubocop (~> 1.15.0) + rubocop (~> 1.18.0) rubocop-performance rubocop-rails rubocop-rake