diff options
author | Go MAEDA <maeda@farend.jp> | 2024-08-12 07:51:45 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-08-12 07:51:45 +0000 |
commit | 79873291d724025b2082f1d42cabc5c4504c5e0e (patch) | |
tree | 29a68a1097c9592093c4b11ca677a74a10ca52d7 /lib | |
parent | 74e2262efb366a37a70f64dc0faec2d63086b9e5 (diff) | |
download | redmine-79873291d724025b2082f1d42cabc5c4504c5e0e.tar.gz redmine-79873291d724025b2082f1d42cabc5c4504c5e0e.zip |
Fix RuboCop offense Layout/EmptyLinesAroundModuleBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22951 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/access_control.rb | 1 | ||||
-rw-r--r-- | lib/redmine/activity.rb | 1 | ||||
-rw-r--r-- | lib/redmine/codeset_util.rb | 1 | ||||
-rw-r--r-- | lib/redmine/configuration.rb | 1 | ||||
-rw-r--r-- | lib/redmine/helpers/calendar.rb | 1 | ||||
-rw-r--r-- | lib/redmine/mime_type.rb | 1 | ||||
-rw-r--r-- | lib/redmine/plugin.rb | 1 | ||||
-rw-r--r-- | lib/redmine/search.rb | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/lib/redmine/access_control.rb b/lib/redmine/access_control.rb index fdc051edd..ee59bdd7b 100644 --- a/lib/redmine/access_control.rb +++ b/lib/redmine/access_control.rb @@ -19,7 +19,6 @@ module Redmine module AccessControl - class << self def map mapper = Mapper.new diff --git a/lib/redmine/activity.rb b/lib/redmine/activity.rb index b758431ed..0df7c6096 100644 --- a/lib/redmine/activity.rb +++ b/lib/redmine/activity.rb @@ -19,7 +19,6 @@ module Redmine module Activity - mattr_accessor :available_event_types, :default_event_types, :providers @@available_event_types = [] diff --git a/lib/redmine/codeset_util.rb b/lib/redmine/codeset_util.rb index b26e0ad04..04284e194 100644 --- a/lib/redmine/codeset_util.rb +++ b/lib/redmine/codeset_util.rb @@ -19,7 +19,6 @@ module Redmine module CodesetUtil - def self.replace_invalid_utf8(str) return nil if str.nil? diff --git a/lib/redmine/configuration.rb b/lib/redmine/configuration.rb index 4fdd29184..b1ce9e374 100644 --- a/lib/redmine/configuration.rb +++ b/lib/redmine/configuration.rb @@ -21,7 +21,6 @@ require 'redmine' module Redmine module Configuration - # Configuration default values @defaults = { 'avatar_server_url' => 'https://www.gravatar.com', diff --git a/lib/redmine/helpers/calendar.rb b/lib/redmine/helpers/calendar.rb index 618e9fbf0..69ed62b05 100644 --- a/lib/redmine/helpers/calendar.rb +++ b/lib/redmine/helpers/calendar.rb @@ -19,7 +19,6 @@ module Redmine module Helpers - # Simple class to compute the start and end dates of a calendar class Calendar include Redmine::I18n diff --git a/lib/redmine/mime_type.rb b/lib/redmine/mime_type.rb index a97994ad5..5554cc5a9 100644 --- a/lib/redmine/mime_type.rb +++ b/lib/redmine/mime_type.rb @@ -19,7 +19,6 @@ module Redmine module MimeType - MIME_TYPES = { 'text/plain' => 'txt,tpl,properties,patch,diff,ini,readme,install,upgrade,sql', 'text/css' => 'css', diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb index 3e442cd12..7ea6bfada 100644 --- a/lib/redmine/plugin.rb +++ b/lib/redmine/plugin.rb @@ -18,7 +18,6 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. module Redmine - # Exception raised when a plugin cannot be found given its id. class PluginNotFound < StandardError; end diff --git a/lib/redmine/search.rb b/lib/redmine/search.rb index 6c3ee835c..088ad5785 100644 --- a/lib/redmine/search.rb +++ b/lib/redmine/search.rb @@ -19,7 +19,6 @@ module Redmine module Search - mattr_accessor :available_search_types @@available_search_types = [] |