-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathinit.rb
20 lines (17 loc) · 791 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'redmine'
# It requires the file in lib/gitrevision_download/hooks.rb
require_dependency 'gitrevision_download/hooks'
Redmine::Plugin.register :redmine_gitrevision_download do
name 'Redmine Gitrevision Download plugin'
author 'Emmanuel Bretelle'
author_url 'http://www.debuntu.org'
url 'http://redmine.debuntu.org/projects/gitrevision-download'
description 'A plugin adding a download link to git repository browser'
version '0.0.8'
settings :default => { :gzip => 1 }, :partial => 'settings/gitrevision_download_settings'
# This plugin adds a project module
# It can be enabled/disabled at project level (Project settings -> Modules)
project_module :gitrevision_download do
permission :view_gitrevision_download, :gitrevision_download => :index
end
end