forked from nanego/redmine_datetime_custom_field
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rb
21 lines (19 loc) · 905 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'redmine'
Redmine::Plugin.register :redmine_datetime_custom_field do
name 'Redmine Datetime Custom Field plugin'
author 'Vincent ROBERT'
description 'This is a plugin for Redmine. It adds time to date custom field'
version '1.0.0'
url 'https://github.com/nanego/redmine_datetime_custom_field'
author_url 'mailto:[email protected]'
requires_redmine :version_or_higher => '2.6.0'
requires_redmine_plugin :redmine_base_deface, :version_or_higher => '0.0.1'
end
# Custom patches
require_dependency 'redmine_datetime_custom_field/hooks'
Rails.application.config.to_prepare do
require_dependency 'redmine_datetime_custom_field/application_helper_patch'
require_dependency 'redmine_datetime_custom_field/field_format_patch'
require_dependency 'redmine_datetime_custom_field/custom_fields_helper_patch'
require_dependency 'redmine_datetime_custom_field/query_patch'
end