[DRE-commits] [ruby-buff-shell-out] 04/05: Disable usage of spork

zeha at debian.org zeha at debian.org
Thu Mar 3 19:25:16 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-shell-out.

commit 31df1c078de3bb90909b6810e8ae14408d3934a8
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Thu Mar 3 20:21:21 2016 +0100

    Disable usage of spork
---
 debian/control              |  3 +--
 debian/patches/remove-spork | 16 ++++++++++++++++
 debian/patches/series       |  1 +
 3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 2eb7113..6d783b9 100644
--- a/debian/control
+++ b/debian/control
@@ -8,8 +8,7 @@ Build-Depends: debhelper (>= 9~),
                rake,
                ruby-buff-ruby-engine (>= 0.1.0),
                ruby-rspec,
-               ruby-rspec-its,
-               spork
+               ruby-rspec-its
 Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-buff-shell-out.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-buff-shell-out.git
diff --git a/debian/patches/remove-spork b/debian/patches/remove-spork
new file mode 100644
index 0000000..1d0edc4
--- /dev/null
+++ b/debian/patches/remove-spork
@@ -0,0 +1,16 @@
+Remove spork usage in specs, as we're only running them once per
+build anyway.
+
+Index: ruby-buff-shell-out/spec/spec_helper.rb
+===================================================================
+--- ruby-buff-shell-out.orig/spec/spec_helper.rb
++++ ruby-buff-shell-out/spec/spec_helper.rb
+@@ -15,7 +15,7 @@ def setup_rspec
+   end
+ end
+ 
+-if Buff::RubyEngine.jruby?
++if true
+   require 'buff/shell_out'
+   setup_rspec
+ else
diff --git a/debian/patches/series b/debian/patches/series
index 1bf0881..3c4f8bf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Fix-specs.patch
+remove-spork

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



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