File: 0007-no-git-in-gemspec.patch

package info (click to toggle)
ruby-excon 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,268 kB
  • sloc: ruby: 7,974; makefile: 5
file content (24 lines) | stat: -rw-r--r-- 742 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
22
23
24
Description: No git in the gemspec file
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-02-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/excon.gemspec
+++ b/excon.gemspec
@@ -14,13 +14,7 @@ Gem::Specification.new do |s|
   s.license          = 'MIT'
   s.rdoc_options     = ['--charset=UTF-8']
   s.extra_rdoc_files = %w[README.md CONTRIBUTORS.md CONTRIBUTING.md]
-  s.files            = `git ls-files -- data/* lib/*`.split("\n") + [
-    'CONTRIBUTING.md',
-    'CONTRIBUTORS.md',
-    'LICENSE.md',
-    'README.md',
-    'excon.gemspec'
-  ]
+  s.files            = Dir.glob("**/*")
   s.required_ruby_version = '>= 3.1.0'
 
   s.add_dependency 'logger'