File: spec-load-pathname.patch

package info (click to toggle)
ruby-buff-config 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 208 kB
  • ctags: 58
  • sloc: ruby: 474; makefile: 3
file content (14 lines) | stat: -rw-r--r-- 408 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Apparently Pathname is no longer autoloaded on ruby2.3.

Index: ruby-buff-config/spec/spec_helper.rb
===================================================================
--- ruby-buff-config.orig/spec/spec_helper.rb
+++ ruby-buff-config/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|