[DRE-commits] [ruby-commander] 04/06: update patches
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Jun 21 01:14:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-commander.
commit 49dec5c949b2afc3a651fae67e86a689bd733f86
Author: Antonio Terceiro <terceiro at debian.org>
Date: Sat Jun 20 21:03:07 2015 -0300
update patches
---
debian/changelog | 4 ++++
debian/patches/0001-Test-suite-adjustments.patch | 25 ++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 30 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index dc1f6dc..f0dbf93 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,10 @@ ruby-commander (4.3.4-1) UNRELEASED; urgency=medium
* New upstream version
- Compatible with rspec 3
* Update packaging with a new dh-make-ruby run
+ * 0001-Drop-RubyGems-Depends.patch: dropped
+ * 0002-Drop-SimpleCov.patch replaced with 0001-Test-suite-adjustments.patch,
+ which removes simplecov usage and $LOAD_PATH manipulation
+
-- Antonio Terceiro <terceiro at debian.org> Sat, 20 Jun 2015 20:42:04 -0300
diff --git a/debian/patches/0001-Test-suite-adjustments.patch b/debian/patches/0001-Test-suite-adjustments.patch
new file mode 100644
index 0000000..419c438
--- /dev/null
+++ b/debian/patches/0001-Test-suite-adjustments.patch
@@ -0,0 +1,25 @@
+From: Antonio Terceiro <terceiro at debian.org>
+Date: Sat, 20 Jun 2015 20:55:04 -0300
+Subject: Test suite adjustments
+
+---
+ spec/spec_helper.rb | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index 83ed668..d5da5b7 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,12 +1,5 @@
+ require 'rubygems'
+ require 'stringio'
+-require 'simplecov'
+-SimpleCov.start do
+- add_filter '/spec/'
+-end
+-
+-# Unshift so that local files load instead of something in gems
+-$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
+
+ # This basically replicates the behavior of `require 'commander/import'`
+ # but without adding an `at_exit` hook, which interferes with exit code
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6039141
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Test-suite-adjustments.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-commander.git
More information about the Pkg-ruby-extras-commits
mailing list