1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Daniel Leidert <dleidert@debian.org>
Date: Tue, 7 Sep 2021 00:39:39 +0200
Subject: Don't run git in gemspec
Forwarded: not-needed
---
html-proofer.gemspec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html-proofer.gemspec b/html-proofer.gemspec
index 28d8643..f4f0be3 100644
--- a/html-proofer.gemspec
+++ b/html-proofer.gemspec
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
gem.summary = %(A set of tests to validate your HTML output. These tests check if your image references are legitimate, if they have alt tags, if your internal links are working, and so on. It's intended to be an all-in-one checker for your documentation output.)
gem.homepage = 'https://github.com/gjtorikian/html-proofer'
gem.license = 'MIT'
- all_files = `git ls-files -z`.split("\x0")
+ all_files = Dir.glob("**/*").grep_v(%r{^(debian|script)/})
gem.files = all_files.grep(%r{^(bin|lib)/})
gem.executables = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(spec)/})
|