Package: ruby-jekyll-redirect-from / 0.15.0-2

0001-Don-t-run-git-in-gemspec.patch Patch series | download
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: Sat, 9 Mar 2019 01:56:53 +0100
Subject: Don't run git in gemspec
 Avoid to run git and use pure Ruby instead.

---
 jekyll-redirect-from.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jekyll-redirect-from.gemspec b/jekyll-redirect-from.gemspec
index 99255a5..2b2736a 100644
--- a/jekyll-redirect-from.gemspec
+++ b/jekyll-redirect-from.gemspec
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
   spec.license       = "MIT"
 
   # rubocop:disable Style/SpecialGlobalVars
-  spec.files         = `git ls-files`.split($/)
+  spec.files         = Dir['**/*']
   # rubocop:enable Style/SpecialGlobalVars
 
   spec.executables   = spec.files.grep(%r!^bin/!) { |f| File.basename(f) }