[DRE-commits] [ruby-buff-ignore] 03/05: Remove usage of spork
zeha at debian.org
zeha at debian.org
Thu Mar 3 19:16:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to annotated tag debian/1.1.1-2
in repository ruby-buff-ignore.
commit 6d8692c2f77c47d765338a3e6eeab2b72c956037
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Thu Mar 3 19:44:02 2016 +0100
Remove usage of spork
---
debian/control | 3 +--
debian/patches/remove-spork | 28 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index d706665..9f6ea85 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-ignore.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-buff-ignore.git
diff --git a/debian/patches/remove-spork b/debian/patches/remove-spork
new file mode 100644
index 0000000..1d2f749
--- /dev/null
+++ b/debian/patches/remove-spork
@@ -0,0 +1,28 @@
+Remove usage of spork in specs.
+
+Index: ruby-buff-ignore/spec/spec_helper.rb
+===================================================================
+--- ruby-buff-ignore.orig/spec/spec_helper.rb
++++ ruby-buff-ignore/spec/spec_helper.rb
+@@ -1,9 +1,10 @@
+ #require 'bundler/setup'
+-require 'spork'
++
+ require 'buff/ignore'
+ require_relative 'support/path_helpers'
+
+-Spork.prefork do
++
++ require 'buff/ignore'
+ require 'rspec'
+
+ # Require all supporting libraries
+@@ -21,8 +22,4 @@ Spork.prefork do
+
+ config.before(:each) { clean_tmp_path! }
+ end
+-end
+
+-Spork.each_run do
+- require 'buff/ignore'
+-end
diff --git a/debian/patches/series b/debian/patches/series
index f154447..0026f46 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01_disable_bundler.patch
+remove-spork
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-buff-ignore.git
More information about the Pkg-ruby-extras-commits
mailing list