1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in lib/redmine/helpers/gantt.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19255 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-11-24 13:18:43 +00:00
parent 672d3f3917
commit 0bc794965f
2 changed files with 2 additions and 3 deletions

View File

@ -1178,7 +1178,6 @@ Style/LineEndConcatenation:
# Configuration parameters: IgnoredMethods.
Style/MethodCallWithoutArgsParentheses:
Exclude:
- 'lib/redmine/helpers/gantt.rb'
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'

View File

@ -675,7 +675,7 @@ module Redmine
end
def sort_issue_logic(issue)
julian_date = Date.new()
julian_date = Date.new
ancesters_start_date = []
current_issue = issue
begin
@ -938,7 +938,7 @@ module Redmine
end
def pdf_task(params, coords, markers, label, object)
cell_height_ratio = params[:pdf].get_cell_height_ratio()
cell_height_ratio = params[:pdf].get_cell_height_ratio
params[:pdf].set_cell_height_ratio(0.1)
height = 2