From 45fafc7e44db200329fb564dea71042524fc6822 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 1 Sep 2022 04:53:28 +0000 Subject: [PATCH] Fix RuboCop offense Layout/LineLength due to r21785 (#37586). git-svn-id: https://svn.redmine.org/redmine/trunk@21791 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/abstract_adapter.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 6edc9c9de..219c47fc7 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -167,7 +167,8 @@ module Redmine end def with_trailling_slash(path) - ActiveSupport::Deprecation.warn 'Redmine::Scm::Adapters::AbstractAdapter#with_trailling_slash is deprecated and will be removed in Redmine 6.0. Please use #with_trailing_slash instead.' + ActiveSupport::Deprecation.warn 'Redmine::Scm::Adapters::AbstractAdapter#with_trailling_slash is ' \ + 'deprecated and will be removed in Redmine 6.0. Please use #with_trailing_slash instead.' with_trailing_slash(path) end @@ -182,7 +183,8 @@ module Redmine end def without_trailling_slash(path) - ActiveSupport::Deprecation.warn 'Redmine::Scm::Adapters::AbstractAdapter#without_trailling_slash is deprecated and will be removed in Redmine 6.0. Please use #without_trailing_slash instead.' + ActiveSupport::Deprecation.warn 'Redmine::Scm::Adapters::AbstractAdapter#without_trailling_slash is ' \ + 'deprecated and will be removed in Redmine 6.0. Please use #without_trailing_slash instead.' without_trailing_slash(path) end