diff options
author | Dan Gebhardt <dan@cerebris.com> | 2011-07-26 17:25:32 -0400 |
---|---|---|
committer | Dan Gebhardt <dan@cerebris.com> | 2011-07-28 09:46:13 -0400 |
commit | 5515a18aa52df3f71ed4d29fbcc0dc2819e39d5e (patch) | |
tree | 68450e52d65bdf8b5cfd24c789000e28256a3bf3 /railties/lib/rails | |
parent | d482cf8bfa941b76cce2ae2b60158573615a7d16 (diff) | |
download | rails-5515a18aa52df3f71ed4d29fbcc0dc2819e39d5e.tar.gz rails-5515a18aa52df3f71ed4d29fbcc0dc2819e39d5e.tar.bz2 rails-5515a18aa52df3f71ed4d29fbcc0dc2819e39d5e.zip |
Expanded meta-data in gemspec to include author, email, etc.; Defaults include "TODO" to prevent gems from being built without review.
Diffstat (limited to 'railties/lib/rails')
-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 |