From 121d1abd74cfec4a98e2d68a276e05b36cfaad2a Mon Sep 17 00:00:00 2001 From: Darius Schneider <schneider@itc.rwth-aachen.de> Date: Mon, 27 Jan 2025 10:23:46 +0100 Subject: [PATCH] update for ruby-3.4.1, --no-prism for brakeman due to prism bug --- rails/gitlab-ci.yml | 8 ++++---- rails/rubocop-for-gem.yml | 6 +++--- rails/rubocop.yml | 4 ++-- rails/rubocop/rubocop-base.yml | 2 +- rails/rubocop/rubocop-minitest.yml | 2 +- rails/rubocop/rubocop-rails.yml | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/rails/gitlab-ci.yml b/rails/gitlab-ci.yml index 17f2b0c..961ef2e 100644 --- a/rails/gitlab-ci.yml +++ b/rails/gitlab-ci.yml @@ -18,7 +18,7 @@ rubocop: - rails script: - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml" - - gem install rubocop:1.70.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.0 --silent + - gem install rubocop:1.71.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.1 --silent - rubocop erb_lint: @@ -29,7 +29,7 @@ erb_lint: script: - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml" - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/erb_lint.yml" -O ".erb_lint.yml" - - gem install rubocop:1.70.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.0 erb_lint:0.8.0 --silent + - gem install rubocop:1.71.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.1 erb_lint:0.9.0 --silent - erb_lint --lint-all --allow-no-files true haml_lint: @@ -40,7 +40,7 @@ haml_lint: script: - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/rubocop.yml" -O ".rubocop.yml" - wget --quiet "https://git-ce.rwth-aachen.de/noc-public/noc-netze-gitlab-cicd/-/raw/main/rails/haml-lint.yml" -O ".haml-lint.yml" - - gem install rubocop:1.70.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.0 haml_lint:0.59.0 --silent + - gem install rubocop:1.71.0 rubocop-capybara:2.21.0 rubocop-minitest:0.36.0 rubocop-performance:1.23.1 rubocop-rails:2.29.1 haml_lint:0.59.0 --silent - haml-lint brakeman: @@ -51,7 +51,7 @@ brakeman: script: - rm -f ./config/brakeman.yml ./config/brakeman.ignore - gem install brakeman:7.0.0 --silent - - brakeman -A --except UnscopedFind + - brakeman -A --except UnscopedFind --no-prism rails_test_all: stage: test diff --git a/rails/rubocop-for-gem.yml b/rails/rubocop-for-gem.yml index 8802455..62a64e8 100644 --- a/rails/rubocop-for-gem.yml +++ b/rails/rubocop-for-gem.yml @@ -4,9 +4,9 @@ require: - rubocop-performance - rubocop-rails -# gem "rubocop", "1.65.1", require: false -# gem "rubocop-minitest", "0.35.1", require: false -# gem "rubocop-performance", "1.21.1", require: false +# gem "rubocop", "1.71.0", require: false +# gem "rubocop-minitest", "0.36.0", require: false +# gem "rubocop-performance", "1.23.1", require: false # gem "rubocop-packaging", "0.5.2", require: false AllCops: NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed diff --git a/rails/rubocop.yml b/rails/rubocop.yml index 1ed3eaa..8afa4c6 100644 --- a/rails/rubocop.yml +++ b/rails/rubocop.yml @@ -4,11 +4,11 @@ require: - rubocop-performance - rubocop-rails -# gem "rubocop", "1.70.0", require: false +# gem "rubocop", "1.71.0", require: false # gem "rubocop-capybara", "2.21.0", require: false # gem "rubocop-minitest", "0.36.0", require: false # gem "rubocop-performance", "1.23.1", require: false -# gem "rubocop-rails", "2.29.0", require: false +# gem "rubocop-rails", "2.29.1", require: false AllCops: NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed diff --git a/rails/rubocop/rubocop-base.yml b/rails/rubocop/rubocop-base.yml index 6a5e39d..9eb16be 100644 --- a/rails/rubocop/rubocop-base.yml +++ b/rails/rubocop/rubocop-base.yml @@ -1,7 +1,7 @@ require: - rubocop-performance -# gem 'rubocop', '1.70.0', require: false +# gem 'rubocop', '1.71.0', require: false # gem 'rubocop-performance', '1.23.1', require: false AllCops: NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed diff --git a/rails/rubocop/rubocop-minitest.yml b/rails/rubocop/rubocop-minitest.yml index 216f40d..b77e842 100644 --- a/rails/rubocop/rubocop-minitest.yml +++ b/rails/rubocop/rubocop-minitest.yml @@ -1,7 +1,7 @@ require: - rubocop-minitest -# gem 'rubocop', '1.70.0', require: false +# gem 'rubocop', '1.71.0', require: false # gem 'rubocop-minitest', '0.36.0', require: false AllCops: NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed diff --git a/rails/rubocop/rubocop-rails.yml b/rails/rubocop/rubocop-rails.yml index ad3e10c..850af51 100644 --- a/rails/rubocop/rubocop-rails.yml +++ b/rails/rubocop/rubocop-rails.yml @@ -1,8 +1,8 @@ require: - rubocop-rails -# gem 'rubocop', '1.70.0', require: false -# gem 'rubocop-rails', '2.29.0', require: false +# gem 'rubocop', '1.71.0', require: false +# gem 'rubocop-rails', '2.29.1', require: false AllCops: NewCops: enable # pending cops get enabled by default and must be disabled by hand, if needed -- GitLab