lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.3.6 vs lib/bundler/templates/newgem/newgem.gemspec.tt in bundler-1.4.0.pre.1
- old
+ new
@@ -11,10 +11,10 @@
spec.description = %q{TODO: Write a gem description}
spec.summary = %q{TODO: Write a gem summary}
spec.homepage = ""
spec.license = "MIT"
- spec.files = `git ls-files -z`.split("\x0")
+ spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
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(".") %>"