[DRE-commits] [ruby-buff-extensions] 04/05: Remove usage of spork in tests

zeha at debian.org zeha at debian.org
Thu Mar 3 15:41:15 UTC 2016


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

zeha pushed a commit to branch master
in repository ruby-buff-extensions.

commit cbc21be1ceb825f51faa275ac1a98d44edaf4688
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Thu Mar 3 16:39:28 2016 +0100

    Remove usage of spork in tests
---
 debian/patches/remove-spork | 13 +++++++++++++
 debian/patches/series       |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/remove-spork b/debian/patches/remove-spork
new file mode 100644
index 0000000..873b323
--- /dev/null
+++ b/debian/patches/remove-spork
@@ -0,0 +1,13 @@
+Index: ruby-buff-extensions/spec/spec_helper.rb
+===================================================================
+--- ruby-buff-extensions.orig/spec/spec_helper.rb
++++ ruby-buff-extensions/spec/spec_helper.rb
+@@ -14,7 +14,7 @@ def setup_rspec
+   end
+ end
+ 
+-if Buff::RubyEngine.jruby?
++if true
+   require 'buff/extensions'
+   setup_rspec
+ else
diff --git a/debian/patches/series b/debian/patches/series
index ca6e283..84a47a5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Don-t-change-LOAD_PATH-in-tests.patch
 Ruby2.3-compat-hack.patch
+remove-spork

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



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