From 41b3b683b6e638e2e0dc4aaf79bb9febeacdc195 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Sun, 2 Jul 2023 07:20:10 +0000 Subject: [PATCH] Update RuboCop to 1.54 (#36919). git-svn-id: https://svn.redmine.org/redmine/trunk@22276 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 4 ++-- Gemfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2370e2a40..7ca82a7f0 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.53.1. +# using RuboCop version 1.54.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 @@ -29,7 +29,7 @@ Layout/EmptyLineAfterGuardClause: - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, AllowAdjacentOneLineDefs, NumberOfEmptyLines. +# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, DefLikeMacros, AllowAdjacentOneLineDefs, NumberOfEmptyLines. Layout/EmptyLineBetweenDefs: Exclude: - 'config/initializers/10-patches.rb' diff --git a/Gemfile b/Gemfile index 90fbe7d2c..70e1d139c 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.53.1', require: false + gem 'rubocop', '~> 1.54.0', require: false gem 'rubocop-performance', '~> 1.18.0', require: false gem 'rubocop-rails', '~> 2.20.2', require: false end