File: 0003-Explicitly-require-pathname-in-specs.patch

package info (click to toggle)
ruby-buff-config 2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 200 kB
  • sloc: ruby: 481; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 540 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
From: Christian Hofstaedtler <zeha@debian.org>
Date: Sat, 5 Mar 2016 03:46:13 +0100
Subject: Explicitly require pathname in specs

Apparently Pathname is no longer autoloaded on ruby2.3.
---
 spec/spec_helper.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 3a9a6ef..0b313ee 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,6 +1,7 @@
 require 'rspec'
 require 'buff/ruby_engine'
 require 'json_spec'
+require 'pathname'
 
 def setup_rspec
   RSpec.configure do |config|