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(-)
Index: ruby-html-proofer/html-proofer.gemspec
===================================================================
--- ruby-html-proofer.orig/html-proofer.gemspec
+++ ruby-html-proofer/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 = %x(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)/})
|