[DRE-commits] [ruby-cabin] 04/05: Create patch to remove simplecov from test_helper.rb
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Tue Mar 15 19:54:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
lucasmoura-guest pushed a commit to branch master
in repository ruby-cabin.
commit 303561373ea7ce4354ac2fdd97a05ad64ba971d7
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Tue Mar 15 16:51:29 2016 -0300
Create patch to remove simplecov from test_helper.rb
---
debian/changelog | 1 +
debian/patches/remove_simplecov.patch | 23 +++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 25 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index bea69c9..fb4b0a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-cabin (0.8.1-1) UNRELEASED; urgency=medium
* Team upload.
* New upstream release
* Create ruby-tests.rake file
+ * Create patch to remove simplecov from test_helper.rb
-- Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com> Tue, 15 Mar 2016 16:29:26 -0300
diff --git a/debian/patches/remove_simplecov.patch b/debian/patches/remove_simplecov.patch
new file mode 100644
index 0000000..2e71de8
--- /dev/null
+++ b/debian/patches/remove_simplecov.patch
@@ -0,0 +1,23 @@
+Description: Remove simplecov from test_helper.rb
+ Since during package build simplecov is not necessary, it is necessary to
+ remove the require and execution of code related to it.
+
+Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
+Last-updated: 2016-03-15
+Forwarded: not-needed
+Bug: not-needed
+
+Index: ruby-cabin/test/test_helper.rb
+===================================================================
+--- ruby-cabin.orig/test/test_helper.rb 2016-03-15 16:28:31.052790333 -0300
++++ ruby-cabin/test/test_helper.rb 2016-03-15 16:45:01.860716085 -0300
+@@ -3,6 +3,6 @@
+ require "minitest/autorun"
+ require "cabin"
+ require "stringio"
+-require "simplecov"
+-
+-SimpleCov.start
++#require "simplecov"
++#
++#SimpleCov.start
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2a29dd0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove_simplecov.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-cabin.git
More information about the Pkg-ruby-extras-commits
mailing list