# PreventĀ load-order problems in case openproject-plugins is listed after a plugin in the Gemfile # or not at all require 'open_project/plugins' module OpenProject::OpenIDConnect class Engine < ::Rails::Engine engine_name :openproject_auth_plugins include OpenProject::Plugins::ActsAsOpEngine register 'openproject-auth_plugins', :author_url => 'http://finn.de', :requires_openproject => '>= 3.1.0pre1'#, # :global_assets => { css: 'openid_connect/openid_connect.css' }, # :settings => { 'default' => { 'providers' => {} } } # assets %w( # openid_connect/openid_connect.css # openid_connect/auth_provider-google.png # ) initializer 'auth_plugins.register_hooks' do require 'open_project/auth_plugins/hooks' end end end