File: 0001-Replace-git-execution-from-gemspec.patch

package info (click to toggle)
ruby-github-pages-health-check 1.18.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 308 kB
  • sloc: ruby: 1,086; sh: 53; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 918 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Daniel Leidert <daniel.leidert@wgdd.de>
Date: Thu, 7 Mar 2019 08:32:34 +0100
Subject: Replace git execution from gemspec

---
 github-pages-health-check.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/github-pages-health-check.gemspec b/github-pages-health-check.gemspec
index b6ee220..bab1c19 100644
--- a/github-pages-health-check.gemspec
+++ b/github-pages-health-check.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
   s.email                 = "support@github.com"
   s.homepage              = "https://github.com/github/github-pages-health-check"
   s.license               = "MIT"
-  s.files                 = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+  s.files                 = Dir["**/*"].reject { |f| f.match(%r{^(test|spec|features)/}) }
   s.require_paths         = ["lib"]
 
   s.add_dependency("addressable", "~> 2.3")