Skip to content

Commit 7edc3cb

Browse files
author
travis
committed
update to version and syntax
version 2.5 includes the Issue Show setup procedure.
1 parent cda60a4 commit 7edc3cb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

init.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
name 'Issue Description with Spent Time'
77
author 'Travis Spangle'
88
description 'This will feed the spent time into the description of the issue.'
9-
version '2'
9+
version '2.5'
1010
url 'https://github.com/TravisSpangle/redmine_spent_time_in_issue_description'
11-
settings( :default => { 'spent_time_max_display' => 5,
12-
'display_columns' => ["spentOn", "user", "hours", "comments"],
13-
'time_format' => 'decimal',
14-
'report_location' => 'ticket_body'
15-
},
16-
:partial => 'settings/spent_time_settings' )
11+
settings(default: { 'spent_time_max_display' => 5,
12+
'display_columns' => %w('spentOn', 'user', 'hours', 'comments'),
13+
'time_format' => 'decimal',
14+
'report_location' => 'ticket_body'
15+
},
16+
partial: 'settings/spent_time_settings')
1717

1818
ActionDispatch::Callbacks.to_prepare do
1919
SetupIssueShow.new.replace

0 commit comments

Comments
 (0)