Skip to content
Snippets Groups Projects
Commit 121d1abd authored by Darius Schneider's avatar Darius Schneider
Browse files

update for ruby-3.4.1, --no-prism for brakeman due to prism bug

parent 38fe3888
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
......@@ -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
......
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
......
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
......
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment