mirror of
https://github.com/dolphin-emu/redmine_webhook.git
synced 2026-01-31 01:15:19 +01:00
17 lines
514 B
Ruby
17 lines
514 B
Ruby
require 'redmine_webhook'
|
|
|
|
Rails.configuration.to_prepare do
|
|
unless ProjectsHelper.included_modules.include? RedmineWebhook::ProjectsHelperPatch
|
|
ProjectsHelper.send(:include, RedmineWebhook::ProjectsHelperPatch)
|
|
end
|
|
end
|
|
|
|
Redmine::Plugin.register :redmine_webhook do
|
|
name 'Redmine Webhook plugin'
|
|
author 'suer'
|
|
description 'A Redmine plugin posts webhook on creating and updating tickets'
|
|
version '0.0.1'
|
|
url 'https://github.com/suer/redmine_webhook'
|
|
author_url 'http://d.hatena.ne.jp/suer'
|
|
end
|