lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.8.0 vs lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.8.1
- old
+ new
@@ -17,9 +17,10 @@
spec.description = %q{TODO: Write a longer description or delete this line.}
spec.homepage = "TODO: Put your gem's website or public repo URL here."
spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
<%- if config[:ext] -%>
spec.extensions = ["ext/<%=config[:underscored_name]%>/extconf.rb"]
<%- end -%>