class HttpBasicAuthentication::RedminePlugin
Registers this gems a Redmine plugin and applies the needed patches
Public Class Methods
new()
click to toggle source
# File lib/http_basic_authentication/redmine_plugin.rb, line 8 def initialize register! boot! end
Private Instance Methods
boot!()
click to toggle source
# File lib/http_basic_authentication/redmine_plugin.rb, line 29 def boot! Patches.apply! end
register!()
click to toggle source
# File lib/http_basic_authentication/redmine_plugin.rb, line 15 def register! Redmine::Plugin.register :http_basic_authentication do name NAME author AUTHORS.keys.join(", ") description DESCRIPTION version VERSION url URL author_url URL settings default: { "email_suffix" => "@neopoly.de" }, partial: "http_basic_authentication/settings" end end