Fixed non-functional plugin generation taking this gem from github

Also small readme fixes

Conflicts:
	lib/open_project/plugins/engine.rb
	openproject-plugins.gemspec
pull/1649/head
Sebastian Schuster 11 years ago
parent c2fd4c6dcf
commit b47d565b26
  1. 2
      doc/CHANGELOG.md
  2. 2
      lib/generators/open_project/plugin/templates/%full_name%.gemspec.tt
  3. 2
      lib/generators/open_project/plugin/templates/README.md.tt

@ -15,6 +15,8 @@ See doc/COPYRIGHT.md for more details.
# Changelog
* Fixed non-functional plugin generation when this gem is taken from github directly
## 1.0.6
* Allows plugin register to receive a block so plugins don't have to register with this plugin AND Redmine::Plugin

@ -16,5 +16,5 @@ Gem::Specification.new do |s|
s.files = Dir["{app,config,db,lib}/**/*"] + %w(CHANGELOG.md README.md)
s.add_dependency "rails", "~> 3.2.14"
s.add_dependency "openproject-plugins", "~> <%= OpenProject::Plugins::VERSION %>"
s.add_dependency "openproject-plugins", "~> <%= Bundler.environment.specs["openproject-plugins"].first.version.to_s %>"
end

@ -4,4 +4,4 @@ FIXME Add description and check issue tracker link below
## Issue Tracker
https://www.openproject.org/projects/<%= plugin_name.gsub('_','-') %>/issues
https://www.openproject.org/projects/<%= plugin_name.gsub('_','-') %>/work_packages

Loading…
Cancel
Save