From: Go MAEDA Date: Thu, 1 Sep 2022 04:53:28 +0000 (+0000) Subject: Fix RuboCop offense Layout/LineLength due to r21785 (#37586). X-Git-Tag: 5.1.0~455 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=45fafc7e44db200329fb564dea71042524fc6822;p=redmine.git Fix RuboCop offense Layout/LineLength due to r21785 (#37586). git-svn-id: https://svn.redmine.org/redmine/trunk@21791 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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