Generate readme, remove development dependencies, update Rails version

pull/1649/head
Michael Frister 11 years ago
parent 77e7b1ef1c
commit 671b02df2a
  1. 8
      lib/generators/open_project/plugin/templates/%full_name%.gemspec.tt
  2. 7
      lib/generators/open_project/plugin/templates/README.md.tt

@ -13,11 +13,7 @@ Gem::Specification.new do |s|
s.description = FIXME
s.license = FIXME # e.g. "MIT" or "GPLv3"
s.files = Dir["{app,config,db,lib}/**/*"] + %w(CHANGELOG.md)
s.files = Dir["{app,config,db,lib}/**/*"] + %w(CHANGELOG.md README.md)
s.add_dependency "rails", "~> 3.2.9"
s.add_development_dependency 'rspec-rails'
s.add_development_dependency 'cucumber-rails'
s.add_development_dependency 'database_cleaner'
s.add_dependency "rails", "~> 3.2.14"
end

@ -0,0 +1,7 @@
# OpenProject <%= plugin_name.gsub('_',' ').titlecase %> Plugin
FIXME Add description and check issue tracker link below
# Issue Tracker
https://www.openproject.org/projects/<%= plugin_name.gsub('_','-') %>/issues
Loading…
Cancel
Save