Use git ls-files -z.

This commit is contained in:
Andy Brody 2014-03-31 17:42:19 -07:00
parent d7ddc7e928
commit a229af471e
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ Gem::Specification.new do |s|
s.email = 'rest.client@librelist.com'
s.executables = ['restclient']
s.extra_rdoc_files = ["README.rdoc", "history.md"]
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- spec/*`.split("\n")
s.files = `git ls-files -z`.split("\0")
s.test_files = `git ls-files -z spec/`.split("\0")
s.homepage = 'http://github.com/rest-client/rest-client'
s.summary = 'Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.'