File: 0001-No-git-in-gemspecs.patch

package info (click to toggle)
ruby-js-routes 1.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 316 kB
  • sloc: ruby: 1,422; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 727 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
22
23
From: =?utf-8?q?C=C3=A9dric_Boutillier?= <boutil@debian.org>
Date: Sat, 2 Dec 2017 23:01:57 +0100
Subject: No git in gemspecs

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869042
Forwarded: not-needed
---
 js-routes.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js-routes.gemspec b/js-routes.gemspec
index a91dfb4..2023255 100644
--- a/js-routes.gemspec
+++ b/js-routes.gemspec
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
   s.extra_rdoc_files = [
     "LICENSE.txt"
   ]
-  s.files = `git ls-files`.split("\n")
+  s.files = Dir["**/*"].select {|v| v !~ /^debian/}
   s.homepage = %q{http://github.com/railsware/js-routes}
   s.licenses = ["MIT"]
   s.require_paths = ["lib"]