File: skip-bundler-in-tests.patch

package info (click to toggle)
ruby-sdoc 2.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 968 kB
  • sloc: javascript: 4,455; ruby: 629; makefile: 3
file content (25 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (2)
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
From: Lucas Kanashiro <lucas.kanashiro@canonical.com>
Date: Wed, 26 Feb 2020 17:14:24 -0300
Subject: Do not load bundler during tests

This will avoid bundler trying to load sdoc.gemspec, which would try to use
git to compile a list of files in the gem.

This patch is Debian-specific.

Author: Antonio Terceiro <terceiro@debian.org>
Forwarded: not-needed
---
 spec/spec_helper.rb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index a7bcaba..b0fa0c9 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,3 @@
-require 'bundler/setup'
-
 require 'sdoc'
 
 require 'minitest/autorun'