File: add-missing-requires.patch

package info (click to toggle)
ruby-celluloid 0.18.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 848 kB
  • sloc: ruby: 7,579; makefile: 10
file content (36 lines) | stat: -rw-r--r-- 1,024 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
35
36
From: Daniel Leidert <dleidert@debian.org>
Date: Fri, 17 Feb 2023 22:36:43 +0100
Subject: Add missing requires

The module uses FileUtils.rm() and verbose_retry. Also drop coverage, which
requires ruby-coveralls.

Forwaded: not-needed
---
 lib/celluloid/rspec.rb          | 1 -
 spec/support/configure_rspec.rb | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/celluloid/rspec.rb b/lib/celluloid/rspec.rb
index e6d6c63..2489345 100644
--- a/lib/celluloid/rspec.rb
+++ b/lib/celluloid/rspec.rb
@@ -11,7 +11,6 @@ module Specs
     crash_checking
     loose_threads
     stubbing
-    coverage
     includer
     configure_rspec
   ].freeze
diff --git a/spec/support/configure_rspec.rb b/spec/support/configure_rspec.rb
index fb82de2..1f96adb 100644
--- a/spec/support/configure_rspec.rb
+++ b/spec/support/configure_rspec.rb
@@ -1,3 +1,6 @@
+require 'rspec/retry'
+require 'fileutils'
+
 RSpec.configure do |config|
   config.run_all_when_everything_filtered = true
   config.disable_monkey_patching!