1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Drop git ls-files in Gemspec
Replace the git ls-files with Dir.glob as build is not in git directory
Author: Sophie Brun <sophie@freexian.com>
Last-Update: 2017-09-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/terminal-table.gemspec
+++ b/terminal-table.gemspec
@@ -13,7 +13,8 @@ Gem::Specification.new do |spec|
spec.homepage = "https://github.com/tj/terminal-table"
spec.license = "MIT"
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.files = Dir.glob('**/*')
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 1.10"
|