提交 d10f268d 编写于 作者: S Santiago Pastorino

Tidy up a bit plugin new gemspec

上级 5ab9132c
......@@ -18,14 +18,10 @@
s.test_files = Dir["test/**/*"]
<% end -%>
# If your gem is dependent on a specific version (or higher) of Rails:
<%= '# ' if options.dev? || options.edge? -%>s.add_dependency "rails", ">= <%= Rails::VERSION::STRING %>"
<% unless options[:skip_javascript] || !full? -%>
# If your gem contains any <%= "#{options[:javascript]}-specific" %> javascript:
<%= '# ' if options.dev? || options.edge? -%>s.add_dependency "rails", "~> <%= Rails::VERSION::STRING %>"
<% if full? && !options[:skip_javascript] -%>
# s.add_dependency "<%= "#{options[:javascript]}-rails" %>"
<% end -%>
# Declare development-specific dependencies:
s.add_development_dependency "<%= gem_for_database %>"
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册