File: no-git-in-gemspec.patch

package info (click to toggle)
ruby-typhoeus 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 656 kB
  • sloc: ruby: 4,489; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 581 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
Description: No git in the gemspec file
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Last-Update: 2026-02-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/typhoeus.gemspec
+++ b/typhoeus.gemspec
@@ -26,10 +26,6 @@ Gem::Specification.new do |s|
 
   s.add_dependency('ethon', [">= 0.9.0", "< 0.16.0"])
 
-  s.files = Dir.chdir(__dir__) do
-    `git ls-files -z`.split("\x0").reject do |file|
-      file.start_with?(*%w[. Gemfile Guardfile Rakefile perf spec])
-    end
-  end
+  s.files = Dir.glob("**/*")
   s.require_path = 'lib'
 end