diff --git a/Appraisals b/Appraisals index e14a01b66..18876a368 100644 --- a/Appraisals +++ b/Appraisals @@ -102,6 +102,13 @@ appraise 'rails_7_2' do instance_eval(&controller_test_dependency) gem 'rails', '7.2.0.beta1' + + # Static analysis for security vulnerabilities [https://brakemanscanner.org/] + gem "brakeman", require: false + + # Omakase Ruby styling [https://github.com/rails/rubocop-rails-omakase/] + gem "rubocop-rails-omakase", require: false + gem 'sprockets-rails' gem 'puma', '~> 6.0' gem 'importmap-rails' diff --git a/gemfiles/rails_7_2.gemfile b/gemfiles/rails_7_2.gemfile index fedaf21b6..2519303a1 100644 --- a/gemfiles/rails_7_2.gemfile +++ b/gemfiles/rails_7_2.gemfile @@ -21,6 +21,8 @@ gem "spring" gem "spring-watcher-listen", "~> 2.0.0" gem "rails-controller-testing", ">= 1.0.1" gem "rails", "7.2.0.beta1" +gem "brakeman", require: false +gem "rubocop-rails-omakase", require: false gem "sprockets-rails" gem "puma", "~> 6.0" gem "importmap-rails" diff --git a/gemfiles/rails_7_2.gemfile.lock b/gemfiles/rails_7_2.gemfile.lock index 959bcdc58..9a604e5a2 100644 --- a/gemfiles/rails_7_2.gemfile.lock +++ b/gemfiles/rails_7_2.gemfile.lock @@ -81,6 +81,8 @@ GEM bigdecimal (3.1.8) bootsnap (1.18.3) msgpack (~> 1.2) + brakeman (6.1.2) + racc builder (3.2.4) byebug (11.1.3) capybara (3.40.0) @@ -254,13 +256,24 @@ GEM unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.31.3) parser (>= 3.3.1.0) + rubocop-minitest (0.35.0) + rubocop (>= 1.61, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) rubocop-packaging (0.5.2) rubocop (>= 1.33, < 2.0) + rubocop-performance (1.21.0) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) rubocop-rails (2.25.0) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.33.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) + rubocop-rails-omakase (1.0.0) + rubocop + rubocop-minitest + rubocop-performance + rubocop-rails ruby-progressbar (1.13.0) rubyzip (2.3.2) selenium-webdriver (4.10.0) @@ -318,6 +331,7 @@ DEPENDENCIES appraisal (= 2.5.0) bcrypt (~> 3.1.7) bootsnap + brakeman bundler (~> 2.0) capybara fssm @@ -337,6 +351,7 @@ DEPENDENCIES rubocop rubocop-packaging rubocop-rails + rubocop-rails-omakase selenium-webdriver shoulda-context (~> 2.0.0) spring