]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in app/models/version.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 05:07:29 +0000 (05:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 05:07:29 +0000 (05:07 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18675 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
app/models/version.rb

index 1aae23a911d77a5ebfece1e9ab366d3b2f40d56d..96fd25b4ac507fa50959dd363ee177116b136a45 100644 (file)
@@ -123,12 +123,6 @@ Layout/ElseAlignment:
 Layout/EmptyLineAfterGuardClause:
   Enabled: false
 
-# Cop supports --auto-correct.
-# Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
-Layout/EmptyLineBetweenDefs:
-  Exclude:
-    - 'app/models/version.rb'
-
 # Cop supports --auto-correct.
 Layout/EmptyLines:
   Exclude:
index b5765f4b8b2421844faab743665636420350d678..76226906a905d2b73fd38c46037e0da77c612428 100644 (file)
@@ -23,7 +23,7 @@ module FixedIssuesExtension
   def estimated_hours
     @estimated_hours ||= sum(:estimated_hours).to_f
   end
-  #
+
   # Returns the total amount of open issues for this version.
   def open_count
     load_counts