summaryrefslogtreecommitdiff
path: root/lib/bundler/templates
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/templates')
-rw-r--r--lib/bundler/templates/newgem/newgem.gemspec.tt1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt
index 97da2b14d8..4e21a2d7a6 100644
--- a/lib/bundler/templates/newgem/newgem.gemspec.tt
+++ b/lib/bundler/templates/newgem/newgem.gemspec.tt
@@ -28,6 +28,7 @@ Gem::Specification.new do |spec|
"public gem pushes."
end
+ # Specify which files should be added to the gem when it is released.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end