[DRE-commits] [ruby-semverse] 01/04: Remove usage of spork

zeha at debian.org zeha at debian.org
Thu Mar 3 14:58:28 UTC 2016


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

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

commit ffedddaddec738a25edae95055ef3dcec9b6f85f
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Thu Mar 3 15:53:04 2016 +0100

    Remove usage of spork
---
 debian/control              |  2 +-
 debian/patches/remove-spork | 24 ++++++++++++++++++++++++
 debian/patches/series       |  1 +
 3 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 093ac5b..eb60cb0 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Miguel Landaeta <nomadium at debian.org>
-Build-Depends: debhelper (>= 9~), gem2deb (>= 0.7.5~), rake, ruby-rspec, spork
+Build-Depends: debhelper (>= 9~), gem2deb (>= 0.7.5~), rake, ruby-rspec
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-semverse.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-semverse.git
diff --git a/debian/patches/remove-spork b/debian/patches/remove-spork
new file mode 100644
index 0000000..a9c43de
--- /dev/null
+++ b/debian/patches/remove-spork
@@ -0,0 +1,24 @@
+Index: ruby-semverse/spec/spec_helper.rb
+===================================================================
+--- ruby-semverse.orig/spec/spec_helper.rb
++++ ruby-semverse/spec/spec_helper.rb
+@@ -1,9 +1,8 @@
+ #require 'rubygems'
+ #require 'bundler'
+-require 'spork'
+ 
+-Spork.prefork do
+   require 'rspec'
++  require 'semverse'
+ 
+   APP_ROOT = File.expand_path('../../', __FILE__)
+ 
+@@ -17,8 +16,3 @@ Spork.prefork do
+     # Run specs in a random order
+     config.order = :random
+   end
+-end
+-
+-Spork.each_run do
+-  require 'semverse'
+-end
diff --git a/debian/patches/series b/debian/patches/series
index 3e80256..fdf674a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_disable_bundler_and_rubygems.diff
 rspec3.patch
+remove-spork

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



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