File: remove-git-from-gemspec.

package info (click to toggle)
ruby-rabl 0.16.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,276 kB
  • sloc: ruby: 6,732; javascript: 102; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Daniel Leidert <dleidert@debian.org>
Date: Sat, 27 Nov 2021 22:30:07 +0100
Subject: Remove git from gemspec

Forwarded: not-needed
---
 rabl.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/rabl.gemspec
+++ b/rabl.gemspec
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
   s.description = %q{General ruby templating with json, bson, xml and msgpack support}
   s.license     = 'MIT'
 
-  s.files         = `git ls-files -z -- {*.md,MIT-LICENSE,lib}`.split("\x0").sort
+  s.files         = Dir.glob("**/*").grep_v(%r{^(bin|debian|examples|fixtures|spec|test)/})
   s.require_paths = ["lib"]