mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +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:
parent
672d3f3917
commit
0bc794965f
@ -1178,7 +1178,6 @@ Style/LineEndConcatenation:
|
|||||||
# Configuration parameters: IgnoredMethods.
|
# Configuration parameters: IgnoredMethods.
|
||||||
Style/MethodCallWithoutArgsParentheses:
|
Style/MethodCallWithoutArgsParentheses:
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'lib/redmine/helpers/gantt.rb'
|
|
||||||
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
|
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
|
||||||
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
|
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
|
||||||
|
|
||||||
|
|||||||
@ -675,7 +675,7 @@ module Redmine
|
|||||||
end
|
end
|
||||||
|
|
||||||
def sort_issue_logic(issue)
|
def sort_issue_logic(issue)
|
||||||
julian_date = Date.new()
|
julian_date = Date.new
|
||||||
ancesters_start_date = []
|
ancesters_start_date = []
|
||||||
current_issue = issue
|
current_issue = issue
|
||||||
begin
|
begin
|
||||||
@ -938,7 +938,7 @@ module Redmine
|
|||||||
end
|
end
|
||||||
|
|
||||||
def pdf_task(params, coords, markers, label, object)
|
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)
|
params[:pdf].set_cell_height_ratio(0.1)
|
||||||
|
|
||||||
height = 2
|
height = 2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user