summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--lib/redmine/helpers/gantt.rb4
2 files changed, 2 insertions, 3 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 692d8b62a..54c7eea67 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -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'
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index f9040d335..ad4b3c04f 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -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