Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (15 sloc) 0.968 kB
require 'redmine_version_require_due_date/hooks'
require 'redmine_version_require_due_date/patches/issue_patch'
require 'redmine_version_require_due_date/patches/version_patch'
Rails.configuration.to_prepare do
Issue.send(:include, RedmineVersionRequireDueDate::Patches::IssuePatch) unless Issue.include?(RedmineVersionRequireDueDate::Patches::IssuePatch)
Version.send(:include, RedmineVersionRequireDueDate::Patches::VersionPatch) unless Version.include?(RedmineVersionRequireDueDate::Patches::VersionPatch)
end
Redmine::Plugin.register :redmine_version_require_due_date do
name 'Redmine Version Require Due Date plugin'
author 'Planio GmbH'
description 'This plugin adds an additional checkbox attribute on Versions called "Require due date". If it is checked, any issue assigned to that version will require a due date to be set.'
version '1.0'
url 'https://github.com/planio-gmbh/redmine_version_require_due_date'
author_url 'http://plan.io'
end
Jump to Line
Something went wrong with that request. Please try again.