forked from tleish/redmine_remote_revision_url
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.rb
22 lines (20 loc) · 930 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require_dependency 'redmine_remote_revision_url/repository_patch'
require_dependency 'redmine_remote_revision_url/repositories_helper_patch'
ActiveSupport::Reloader.to_prepare do
require_dependency 'application_helper'
require_dependency 'redmine_remote_revision_url/application_helper_patch'
end
Redmine::Plugin.register :redmine_remote_revision_url do
name 'Remote Revision URL'
author 'Thomas Leishman, Tobias Fischer'
description 'The Redmine Remote Revision URL plugin adds a revision link to a remote website to see more details on a commit/revision.'
version '0.4.0'
requires_redmine :version_or_higher => '4.0'
url 'https://github.com/paginagmbh/redmine_remote_revision_url'
settings :default => {
display_under_single_revision: true,
display_under_associated_revisions: false,
replace_revision_link: 0,
open_in_new_window: 0
}, :partial => 'redmine_remote_revision_url/settings'
end