updates readme, changelog and docu

pull/1649/head
Johannes Wollert 11 years ago
parent 1606d35cb1
commit 5ce4e0bcfa
  1. 7
      README.md
  2. 2
      doc/CHANGELOG.md
  3. 1
      lib/open_project/plugins/acts_as_op_engine.rb

@ -44,7 +44,12 @@ module OpenProject::RepositoryAuthentication
register 'openproject-repository_authentication',
:author_url => 'http://finn.de',
:requires_openproject => '>= 3.0.0pre6'
:requires_openproject => '>= 3.0.0pre6' do
menu :project_menu,
:repo_auth,
{:controller => '/repo_auth_controller', :action => :index},
:caption => "Repo Auth!"
end
patches [:SysController]
end

@ -15,6 +15,8 @@ See doc/COPYRIGHT.md for more details.
# Changelog
* Allows plugin register to receive a block so plugins don't have to register with this plugin AND Redmine::Plugin
## 1.0.5
* Readme: Add note about db:create and db:migrate in same rake process

@ -70,6 +70,7 @@ module OpenProject::Plugins
# options: An options Hash, at least :requires_openproject is recommended to
# define the minimal version of OpenProject the plugin is compatible with
# Another common option is :author_url.
# block: Pass a block to the plugin (for defining permissions, menu items and the like)
base.send(:define_method, :register) do |gem_name, options, &block|
base.initializer "#{engine_name}.register_plugin" do
spec = Bundler.environment.specs[gem_name][0]

Loading…
Cancel
Save