[DRE-commits] [ruby-premailer] 09/09: Add patch to remove git from gemspec

Balasankar C balasankarc-guest at moszumanska.debian.org
Wed Apr 13 17:47:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

balasankarc-guest pushed a commit to branch master
in repository ruby-premailer.

commit e824409fc363c12397a4b32b55fd377d4f1ec2d9
Author: Balasankar C <balasankarc at autistici.org>
Date:   Wed Apr 13 23:15:28 2016 +0530

    Add patch to remove git from gemspec
---
 debian/patches/fix-path.patch           |  2 +-
 debian/patches/remove-git-gemspec.patch | 17 +++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/debian/patches/fix-path.patch b/debian/patches/fix-path.patch
index 3ce5592..07ecfb0 100644
--- a/debian/patches/fix-path.patch
+++ b/debian/patches/fix-path.patch
@@ -1,5 +1,5 @@
 Description: Use Debian specific path
-Author: Balasankar C
+Author: Balasankar C <balasankarc at autistici.org>
 Last-Update: 2016-04-13
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/debian/patches/remove-git-gemspec.patch b/debian/patches/remove-git-gemspec.patch
new file mode 100644
index 0000000..5cb615b
--- /dev/null
+++ b/debian/patches/remove-git-gemspec.patch
@@ -0,0 +1,17 @@
+Description: Remove usage of git from gemspec file
+Author: Balasankar C <balasankarc at 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
+@@ -15,9 +15,6 @@
+   s.description = "Improve the rendering of HTML emails by making CSS inline, converting links and warning about unsupported code."
+   s.has_rdoc = true
+   s.author  = "Alex Dunae"
+-  s.files            = `git ls-files`.split("\n")
+-  s.test_files       = `git ls-files -- {test,spec,features}/*`.split("\n")
+-  s.executables      = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
+   s.add_dependency('css_parser', '>= 1.3.6')
+   s.add_dependency('htmlentities', ['>= 4.0.0'])
+   s.add_development_dependency "bundler", "~> 1.3"
diff --git a/debian/patches/series b/debian/patches/series
index 427038b..0872b1c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+remove-git-gemspec.patch
 fix-path.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-premailer.git



More information about the Pkg-ruby-extras-commits mailing list