From 4f16fb9e5ddd475a23298c1ab548c4c16d939619 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 2 Nov 2022 01:02:59 +0000 Subject: [PATCH] Update RuboCop to 1.38 (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@21941 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 3 ++- Gemfile | 2 +- 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 -- 2.39.5