1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Lucas Nussbaum <lucas@debian.org>
Date: Thu, 29 Dec 2022 14:07:57 +0100
Subject: avoid git call in gemspec
---
mocha.gemspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mocha.gemspec b/mocha.gemspec
index 5d3caab..33ce06a 100644
--- a/mocha.gemspec
+++ b/mocha.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
s.email = 'mocha-developer@googlegroups.com'
s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(docs|test)/}) }
+ Dir.glob('**/*')
end
s.files.delete('.circleci/config.yml')
s.files.delete('.gitignore')
|