summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-12-29 06:30:19 +0000
committerGo MAEDA <maeda@farend.jp>2021-12-29 06:30:19 +0000
commitfc82a72542d654b2fb265aa6e7e1a73ed434bbb5 (patch)
tree3cdf49bf12e1b8e6ff2979ce89779b2695e0cf6c
parent0b28b82d1f7265839b6f07d63ce4a384ed8f5e80 (diff)
downloadredmine-fc82a72542d654b2fb265aa6e7e1a73ed434bbb5.tar.gz
redmine-fc82a72542d654b2fb265aa6e7e1a73ed434bbb5.zip
Update RuboCop Rails to 2.13 (#35207).
git-svn-id: http://svn.redmine.org/redmine/trunk@21332 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop.yml3
-rw-r--r--Gemfile2
2 files changed, 4 insertions, 1 deletions
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")