summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-11-02 01:02:59 +0000
committerGo MAEDA <maeda@farend.jp>2022-11-02 01:02:59 +0000
commit4f16fb9e5ddd475a23298c1ab548c4c16d939619 (patch)
tree9aff57d214ff92bd8d347ee96e09bfd915c0bcb8
parent0f8c36869e49574aec4f7a56759f7c8265921d4c (diff)
downloadredmine-4f16fb9e5ddd475a23298c1ab548c4c16d939619.tar.gz
redmine-4f16fb9e5ddd475a23298c1ab548c4c16d939619.zip
Update RuboCop to 1.38 (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21941 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop_todo.yml3
-rw-r--r--Gemfile2
2 files changed, 3 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 7a601f12e..c4decac36 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 20 --no-offense-counts --no-auto-gen-timestamp`
-# using RuboCop version 1.37.1.
+# using RuboCop version 1.38.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
@@ -1225,6 +1225,7 @@ Style/GlobalVars:
Exclude:
- 'test/test_helper.rb'
+# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
Style/GuardClause:
Enabled: false
diff --git a/Gemfile b/Gemfile
index 31c5770a6..71e420967 100644
--- a/Gemfile
+++ b/Gemfile
@@ -103,7 +103,7 @@ group :test do
gem "selenium-webdriver", "~> 3.142.7"
gem 'webdrivers', '4.6.1', require: false
# RuboCop
- gem 'rubocop', '~> 1.37.1'
+ gem 'rubocop', '~> 1.38.0'
gem 'rubocop-performance', '~> 1.15.0'
gem 'rubocop-rails', '~> 2.17.2'
end