Explorar el Código

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
tags/4.1.0
Toshi MARUYAMA hace 4 años
padre
commit
4c22248143
Se han modificado 2 ficheros con 1 adiciones y 7 borrados
  1. 0
    6
      .rubocop_todo.yml
  2. 1
    1
      app/models/version.rb

+ 0
- 6
.rubocop_todo.yml Ver fichero

@@ -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:

+ 1
- 1
app/models/version.rb Ver fichero

@@ -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

Cargando…
Cancelar
Guardar