File: 0001-Do-not-require-bundler-and-remove-spork.patch

package info (click to toggle)
ruby-solve 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,820 kB
  • sloc: ruby: 39,183; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 784 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From: Hleb Valoshka <375gnu@gmail.com>
Date: Wed, 24 Jun 2015 19:22:47 +0300
Subject: Do not require bundler and remove spork

---
 spec/spec_helper.rb | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index d0156dc..7434f56 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,8 +1,6 @@
 require "rubygems"
-require "bundler"
-require "spork"
+require "solve"
 
-Spork.prefork do
   require "rspec"
 
   APP_ROOT = File.expand_path("../../", __FILE__)
@@ -17,11 +15,6 @@ Spork.prefork do
     # Run specs in a random order
     config.order = :random
   end
-end
-
-Spork.each_run do
-  require "solve"
-end

 # Useful for debugging the solver - simply add `ui: TestUI` to a resolver call
 class TestUI