Drop git usage from gemspec
authorAntonio Terceiro <terceiro@softwarelivre.org>
Wed, 5 Feb 2020 20:36:05 +0000 (21:36 +0100)
committerAbhijith PA <abhijith@debian.org>
Mon, 30 Sep 2024 04:16:18 +0000 (09:46 +0530)
Forwarded: not-needed

Gbp-Pq: Name 0004-puma.gemspec-drop-git-usage.patch

puma.gemspec

index f5e01c25236f1f66a346b2f26b622bc77af9de33..9ff86a33a45bff928d5aa24c1b97725be7491ca8 100644 (file)
@@ -13,8 +13,7 @@ Gem::Specification.new do |s|
   if RbConfig::CONFIG['ruby_version'] >= '2.5'
     s.metadata["msys2_mingw_dependencies"] = "openssl"
   end
-  s.files = `git ls-files -- bin docs ext lib tools`.split("\n") +
-            %w[History.md LICENSE README.md]
+  s.files = Dir.glob('**/*').reject { |f| f =~ /^debian\//}
   s.homepage = "https://puma.io"
 
   if s.respond_to?(:metadata=)