diff options
author | Dan Gebhardt <dan@cerebris.com> | 2011-07-26 17:25:32 -0400 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-08-13 16:22:22 -0700 |
commit | b82e226b7fb2e4dd443a4016f586ce06516d3d85 (patch) | |
tree | f2812e672169f99585921b25f0f98a55c7940174 | |
parent | bec59779326daa35aab483fa8b95c0f87440fede (diff) | |
download | rails-b82e226b7fb2e4dd443a4016f586ce06516d3d85.tar.gz rails-b82e226b7fb2e4dd443a4016f586ce06516d3d85.tar.bz2 rails-b82e226b7fb2e4dd443a4016f586ce06516d3d85.zip |
Expanded meta-data in gemspec to include author, email, etc.; Defaults include "TODO" to prevent gems from being built without review.
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec b/railties/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec index eb1a1e5054..b469edd772 100644 --- a/railties/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec +++ b/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 |