[DRE-commits] [ruby-buff-ruby-engine] 03/04: Remove usage of spork

zeha at debian.org zeha at debian.org
Thu Mar 3 19:16:45 UTC 2016


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

zeha pushed a commit to annotated tag debian/0.1.0-2
in repository ruby-buff-ruby-engine.

commit 12c40e0b8e87e9f8a22f30446caecf58914110c8
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Thu Mar 3 19:53:40 2016 +0100

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

diff --git a/debian/control b/debian/control
index 6196e72..c82ffdd 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,7 @@ Uploaders: Miguel Landaeta <nomadium at debian.org>
 Build-Depends: debhelper (>= 9~),
                gem2deb,
                rake,
-               ruby-rspec,
-               spork
+               ruby-rspec
 Standards-Version: 3.9.7
 Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-buff-ruby-engine.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-buff-ruby-engine.git
diff --git a/debian/patches/remove-spork b/debian/patches/remove-spork
new file mode 100644
index 0000000..427fa6b
--- /dev/null
+++ b/debian/patches/remove-spork
@@ -0,0 +1,15 @@
+Remove usage of spork in specs.
+
+Index: ruby-buff-ruby-engine/spec/spec_helper.rb
+===================================================================
+--- ruby-buff-ruby-engine.orig/spec/spec_helper.rb
++++ ruby-buff-ruby-engine/spec/spec_helper.rb
+@@ -14,7 +14,7 @@ def setup_rspec
+   end
+ end
+ 
+-if Buff::RubyEngine.jruby?
++if true
+   require 'buff/ruby_engine'
+   setup_rspec
+ else
diff --git a/debian/patches/series b/debian/patches/series
index e6c9e7a..3744b15 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Update-to-RSpec3-syntax.patch
 0002-Don-t-modify-LOAD_PATH-in-specs.patch
+remove-spork

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



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