File: 0001-Remove-git-from-gemspec.patch

package info (click to toggle)
ruby-request-store 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 132 kB
  • sloc: ruby: 257; makefile: 3
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: Daniel Leidert <daniel.leidert@wgdd.de>
Date: Thu, 20 Feb 2020 00:38:40 +0100
Subject: Remove git from gemspec

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

diff --git a/request_store.gemspec b/request_store.gemspec
index 4cbf54c..b77d0e0 100644
--- a/request_store.gemspec
+++ b/request_store.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
   gem.homepage      = "https://github.com/steveklabnik/request_store"
   gem.licenses      = ["MIT"]
 
-  gem.files         = `git ls-files`.split($/)
+  gem.files         = Dir.glob("**/*").select {|v| v !~ /^debian/}
   gem.test_files    = gem.files.grep(%r{^(test|spec|features)/})
   gem.require_paths = ["lib"]