1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: Sophie Brun <sophie@freexian.com>
Date: Thu, 21 Jan 2021 15:21:13 +0100
Subject: Drop git ls-files in Gemspec
Last-Update: 2017-09-07
Replace the git ls-files with Dir.glob as build is not in git directory
Last-Update: 2017-09-07
---
terminal-table.gemspec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- 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", "~> 2"
|