File: remove-git-in-gemspec.patch

package info (click to toggle)
ruby-puma-worker-killer 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 236 kB
  • sloc: ruby: 283; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Debian source package is not a git repo

--- a/puma_worker_killer.gemspec
+++ b/puma_worker_killer.gemspec
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
   gem.homepage = "https://github.com/schneems/puma_worker_killer"
   gem.license = "MIT"
 
-  gem.files = `git ls-files`.split($/)
+  gem.files = Dir.glob("**/*")
   gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
   gem.require_paths = ["lib"]