[DRE-commits] [ruby-buff-config] 04/06: Remove usage of spork

zeha at debian.org zeha at debian.org
Thu Mar 3 18:24:48 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-config.

commit b21b382b2bd577da9c6a5a8467a5f79bb77fa049
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Thu Mar 3 19:19:52 2016 +0100

    Remove usage of spork
---
 debian/control              |  3 +--
 debian/patches/remove-spork | 13 +++++++++++++
 debian/patches/series       |  1 +
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index c3985f8..a8b476e 100644
--- a/debian/control
+++ b/debian/control
@@ -10,8 +10,7 @@ Build-Depends: debhelper (>= 9~),
                ruby-buff-ruby-engine (>= 0.1),
                ruby-json-spec,
                ruby-rspec,
-               ruby-varia-model (>= 0.4),
-               spork
+               ruby-varia-model (>= 0.4)
 Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-buff-config.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-buff-config.git
diff --git a/debian/patches/remove-spork b/debian/patches/remove-spork
new file mode 100644
index 0000000..3e67bb9
--- /dev/null
+++ b/debian/patches/remove-spork
@@ -0,0 +1,13 @@
+Index: ruby-buff-config/spec/spec_helper.rb
+===================================================================
+--- ruby-buff-config.orig/spec/spec_helper.rb
++++ ruby-buff-config/spec/spec_helper.rb
+@@ -32,7 +32,7 @@ def tmp_path
+   app_root.join('spec', 'tmp')
+ end
+ 
+-if Buff::RubyEngine.jruby?
++if true
+   require 'buff/config'
+   setup_rspec
+ else
diff --git a/debian/patches/series b/debian/patches/series
index c28f674..08b095e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Convert-specs-to-RSpec-3.3.2-syntax-with-Transpec.patch
 0002-Don-t-change-LOAD_PATH-in-tests.patch
+remove-spork

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



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