File: no-git-in-gemspec.patch

package info (click to toggle)
ruby-batch-loader 2.0.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 296 kB
  • sloc: ruby: 788; makefile: 10; sh: 4
file content (21 lines) | stat: -rw-r--r-- 714 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Manas Kashyap <manaskashyaptech@gmail.com>
Date: Sun, 23 Jun 2019 18:15:33 +0530
Subject: Remove git from gemspec

---
 batch-loader.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/batch-loader.gemspec
+++ b/batch-loader.gemspec
@@ -12,9 +12,7 @@ Gem::Specification.new do |spec|
   spec.homepage      = "https://github.com/exAspArk/batch-loader"
   spec.license       = "MIT"
 
-  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
-    f.match(%r{^(spec|images)/}) || f == "Makefile"
-  end
+  spec.files         = Dir.glob('**/*')
   spec.bindir        = "exe"
   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
   spec.require_paths = ["lib"]