lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.6.0.rc vs lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.6.0.rc2

- old
+ new

@@ -6,10 +6,13 @@ Gem::Specification.new do |spec| spec.name = <%=config[:name].inspect%> spec.version = <%=config[:constant_name]%>::VERSION spec.authors = [<%=config[:author].inspect%>] spec.email = [<%=config[:email].inspect%>] +<% if config[:ext] -%> + spec.extensions = ["ext/<%=config[:underscored_name]%>/extconf.rb"] +<% end -%> spec.summary = %q{TODO: Write a short summary. Required.} spec.description = %q{TODO: Write a longer description. Optional.} spec.homepage = "" spec.license = "MIT" @@ -18,9 +21,12 @@ spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] spec.add_development_dependency "bundler", "~> <%= Bundler::VERSION.split(".")[0..1].join(".") %>" spec.add_development_dependency "rake" +<% if config[:ext] -%> + spec.add_development_dependency "rake-compiler" +<% end -%> <% if config[:test] -%> spec.add_development_dependency "<%=config[:test]%>" <% end -%> end