[DRE-commits] [ruby-rubypants] 06/11: Add new patch to remove unneeded test dependencies
Jérémy Bobbio
lunar at moszumanska.debian.org
Wed Nov 30 21:50:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository ruby-rubypants.
commit e303d5b7d18eeda4ed7809db8708de1ee04ada42
Author: Jérémy Bobbio <lunar at debian.org>
Date: Wed Nov 30 18:37:11 2016 +0100
Add new patch to remove unneeded test dependencies
Let's just not require simplecov and codecov to be installed
before running the tests.
---
...plecov-and-codecov-from-test-dependencies.patch | 31 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 32 insertions(+)
diff --git a/debian/patches/remove-simplecov-and-codecov-from-test-dependencies.patch b/debian/patches/remove-simplecov-and-codecov-from-test-dependencies.patch
new file mode 100644
index 0000000..f6ca462
--- /dev/null
+++ b/debian/patches/remove-simplecov-and-codecov-from-test-dependencies.patch
@@ -0,0 +1,31 @@
+From: =?utf-8?q?J=C3=A9r=C3=A9my_Bobbio?= <lunar at debian.org>
+Date: Wed, 30 Nov 2016 18:34:27 +0100
+Subject: Remove simplecov and codecov from test dependencies
+
+---
+ test/helper.rb | 5 -----
+ test/rubypants_test.rb | 2 --
+ 2 files changed, 7 deletions(-)
+ delete mode 100644 test/helper.rb
+
+diff --git a/test/helper.rb b/test/helper.rb
+deleted file mode 100644
+index 28c7f97..0000000
+--- a/test/helper.rb
++++ /dev/null
+@@ -1,5 +0,0 @@
+-require 'simplecov'
+-SimpleCov.start
+-
+-require 'codecov'
+-SimpleCov.formatter = SimpleCov::Formatter::Codecov
+diff --git a/test/rubypants_test.rb b/test/rubypants_test.rb
+index 2048d30..3c8d886 100644
+--- a/test/rubypants_test.rb
++++ b/test/rubypants_test.rb
+@@ -1,5 +1,3 @@
+-require_relative 'helper'
+-
+ require 'minitest/autorun'
+ require_relative '../lib/rubypants'
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3d00cb3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-simplecov-and-codecov-from-test-dependencies.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rubypants.git
More information about the Pkg-ruby-extras-commits
mailing list