提交 00e43ccc 编写于 作者: A AJ Acevedo

plugin new missing license spec

When bundling a gem created with
rails plugin new
Bundler outputs the following warning when building the gem:
WARNING:  licenses is empty

	modified:   railties/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
上级 6062e42f
......@@ -12,6 +12,7 @@
s.homepage = "TODO"
s.summary = "TODO: Summary of <%= camelized %>."
s.description = "TODO: Description of <%= camelized %>."
s.license = "MIT"
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
<% unless options.skip_test_unit? -%>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册