diff options
author | Go MAEDA <maeda@farend.jp> | 2024-08-12 07:42:12 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-08-12 07:42:12 +0000 |
commit | de76bb3a4a00146f8d53dbc25f2e90ca99910a22 (patch) | |
tree | 9927c2a114ec980e8c0584f615754db0ea2d0162 /lib | |
parent | 0c28b0974adb3d9f777fbf0cc9234b1a7de144bf (diff) | |
download | redmine-de76bb3a4a00146f8d53dbc25f2e90ca99910a22.tar.gz redmine-de76bb3a4a00146f8d53dbc25f2e90ca99910a22.zip |
Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/notifiable.rb | 1 | ||||
-rw-r--r-- | lib/redmine/scm/adapters/cvs_adapter.rb | 1 | ||||
-rw-r--r-- | lib/redmine/scm/adapters/filesystem_adapter.rb | 1 | ||||
-rw-r--r-- | lib/redmine/wiki_formatting/html_parser.rb | 1 | ||||
-rw-r--r-- | lib/redmine/wiki_formatting/markdown/html_parser.rb | 1 | ||||
-rw-r--r-- | lib/redmine/wiki_formatting/textile/html_parser.rb | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/lib/redmine/notifiable.rb b/lib/redmine/notifiable.rb index 05400b7ad..95d26609d 100644 --- a/lib/redmine/notifiable.rb +++ b/lib/redmine/notifiable.rb @@ -19,7 +19,6 @@ module Redmine class Notifiable < Struct.new(:name, :parent) - def to_s name end diff --git a/lib/redmine/scm/adapters/cvs_adapter.rb b/lib/redmine/scm/adapters/cvs_adapter.rb index 439adcbeb..2f157d10b 100644 --- a/lib/redmine/scm/adapters/cvs_adapter.rb +++ b/lib/redmine/scm/adapters/cvs_adapter.rb @@ -23,7 +23,6 @@ module Redmine module Scm module Adapters class CvsAdapter < AbstractAdapter - # CVS executable name CVS_BIN = Redmine::Configuration['scm_cvs_command'] || "cvs" diff --git a/lib/redmine/scm/adapters/filesystem_adapter.rb b/lib/redmine/scm/adapters/filesystem_adapter.rb index 71409c545..ac28436e8 100644 --- a/lib/redmine/scm/adapters/filesystem_adapter.rb +++ b/lib/redmine/scm/adapters/filesystem_adapter.rb @@ -26,7 +26,6 @@ module Redmine module Scm module Adapters class FilesystemAdapter < AbstractAdapter - class << self def client_available true diff --git a/lib/redmine/wiki_formatting/html_parser.rb b/lib/redmine/wiki_formatting/html_parser.rb index 8db5fe4d8..ff40cbb6b 100644 --- a/lib/redmine/wiki_formatting/html_parser.rb +++ b/lib/redmine/wiki_formatting/html_parser.rb @@ -22,7 +22,6 @@ require 'loofah/helpers' module Redmine module WikiFormatting class HtmlParser - class_attribute :tags self.tags = { 'br' => {:post => "\n"}, diff --git a/lib/redmine/wiki_formatting/markdown/html_parser.rb b/lib/redmine/wiki_formatting/markdown/html_parser.rb index 4e2217926..6e16126d9 100644 --- a/lib/redmine/wiki_formatting/markdown/html_parser.rb +++ b/lib/redmine/wiki_formatting/markdown/html_parser.rb @@ -21,7 +21,6 @@ module Redmine module WikiFormatting module Markdown class HtmlParser < Redmine::WikiFormatting::HtmlParser - self.tags = tags.merge( 'b' => {:pre => '**', :post => '**'}, 'strong' => {:pre => '**', :post => '**'}, diff --git a/lib/redmine/wiki_formatting/textile/html_parser.rb b/lib/redmine/wiki_formatting/textile/html_parser.rb index 531fcd4b7..fdda5b6ad 100644 --- a/lib/redmine/wiki_formatting/textile/html_parser.rb +++ b/lib/redmine/wiki_formatting/textile/html_parser.rb @@ -21,7 +21,6 @@ module Redmine module WikiFormatting module Textile class HtmlParser < Redmine::WikiFormatting::HtmlParser - self.tags = tags.merge( 'b' => {:pre => '*', :post => '*'}, 'strong' => {:pre => '*', :post => '*'}, |