Files
archived-redmine-webhook/init.rb
2014-02-16 01:11:30 +09:00

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