From fc82a72542d654b2fb265aa6e7e1a73ed434bbb5 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 29 Dec 2021 06:30:19 +0000 Subject: [PATCH] Update RuboCop Rails to 2.13 (#35207). git-svn-id: http://svn.redmine.org/redmine/trunk@21332 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop.yml | 3 +++ Gemfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 328d60cf7..b1badb42c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -118,6 +118,9 @@ Rails/BulkChangeTable: - 'db/migrate/20120714122200_add_workflows_rule_fields.rb' - 'db/migrate/20131214094309_remove_custom_fields_min_max_length_default_values.rb' +Rails/CompactBlank: + Enabled: false + Rails/EnvironmentVariableAccess: Enabled: false diff --git a/Gemfile b/Gemfile index 87a8c6253..a58c17e7f 100644 --- a/Gemfile +++ b/Gemfile @@ -100,7 +100,7 @@ group :test do # RuboCop gem 'rubocop', '~> 1.24.0' gem 'rubocop-performance', '~> 1.13.0' - gem 'rubocop-rails', '~> 2.12.4' + gem 'rubocop-rails', '~> 2.13.0' end local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local") -- 2.39.5