Permalink
Browse files

Expanded meta-data in gemspec to include author, email, etc.; Default…

…s include "TODO" to prevent gems from being built without review.
  • Loading branch information...
1 parent d482cf8 commit 5515a18aa52df3f71ed4d29fbcc0dc2819e39d5e @dgeb dgeb committed Jul 26, 2011
Showing with 8 additions and 4 deletions.
  1. +8 −4 railties/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
@@ -1,12 +1,16 @@
# Provide a simple gemspec so you can easily use your
# project in your rails apps through git.
Gem::Specification.new do |s|
- s.name = "<%= name %>"
- s.summary = "Insert <%= camelized %> summary."
- s.description = "Insert <%= camelized %> description."
+ s.name = "<%= name %>"
+ s.version = "0.0.1"
+ s.authors = ["TODO: Your name"]
+ s.email = ["TODO: Your email"]
+ s.homepage = "TODO"
+ s.summary = "TODO: Summary of <%= camelized %>."
+ s.description = "TODO: Description of <%= camelized %>."
+
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
<% unless options.skip_test_unit? -%>
s.test_files = Dir["test/**/*"]
<% end -%>
- s.version = "0.0.1"
end

0 comments on commit 5515a18

Please sign in to comment.