File: remove-git-gemspec.patch

package info (click to toggle)
ruby-premailer 1.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 440 kB
  • sloc: ruby: 2,344; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 776 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Remove usage of git from gemspec file
Author: Balasankar C <balasankarc@autistici.org>
Last-Update: 2016-04-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/premailer.gemspec
+++ b/premailer.gemspec
@@ -6,7 +6,7 @@
   s.homepage = "https://github.com/premailer/premailer"
   s.description = "Improve the rendering of HTML emails by making CSS inline, converting links and warning about unsupported code."
   s.author  = "Alex Dunae"
-  s.files            = `git ls-files lib misc LICENSE.md README.md`.split("\n")
+  s.files            = Dir.glob("**/*").select {|v| v !~ /^debian/}
   s.executables      = ['premailer']
   s.required_ruby_version = '>= 2.5.0'
   s.metadata["yard.run"] = "yri" # use "yard" to build full HTML docs.