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:
|
Layout/EmptyLineAfterGuardClause:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
# Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
|
|
||||||
Layout/EmptyLineBetweenDefs:
|
|
||||||
Exclude:
|
|
||||||
- 'app/models/version.rb'
|
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
Layout/EmptyLines:
|
Layout/EmptyLines:
|
||||||
Exclude:
|
Exclude:
|
||||||
|
|||||||
@ -23,7 +23,7 @@ module FixedIssuesExtension
|
|||||||
def estimated_hours
|
def estimated_hours
|
||||||
@estimated_hours ||= sum(:estimated_hours).to_f
|
@estimated_hours ||= sum(:estimated_hours).to_f
|
||||||
end
|
end
|
||||||
#
|
|
||||||
# Returns the total amount of open issues for this version.
|
# Returns the total amount of open issues for this version.
|
||||||
def open_count
|
def open_count
|
||||||
load_counts
|
load_counts
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user