Update generator and Gemspec to match modified register method

pull/1649/head
Michael Frister 11 years ago
parent d54a673af5
commit 6bb5d08ca5
  1. 2
      lib/generators/open_project/plugin/templates/%full_name%.gemspec.tt
  2. 3
      lib/generators/open_project/plugin/templates/lib/open_project/%plugin_name%/engine.rb.tt

@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.authors = "Finn GmbH"
s.email = "info@finn.de"
s.homepage = "https://www.openproject.org/projects/<%= plugin_name.gsub('_','-') %>" # TODO check this URL
s.summary = FIXME
s.summary = 'OpenProject <%= plugin_name.gsub('_', ' ').titleize %>'
s.description = FIXME
s.license = FIXME # e.g. "MIT" or "GPLv3"

@ -4,8 +4,7 @@ module OpenProject::<%= plugin_name.camelcase %>
include OpenProject::Plugins::ActsAsOpEngine
register 'OpenProject <%= plugin_name.gsub('_', ' ').titleize %>',
'<%= full_name %>',
register '<%= full_name %>',
:author_url => 'http://finn.de',
:requires_openproject => '>= 3.0.0pre13'

Loading…
Cancel
Save