mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in app/models/version.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18675 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b65348fa2c
commit
4c22248143
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user