[DRE-commits] [ruby-buff-config] 01/02: Load pathname in specs, fixes FTBFS

zeha at debian.org zeha at debian.org
Sat Mar 5 02:48:00 UTC 2016


This is an automated email from the git hooks/post-receive script.

zeha pushed a commit to branch master
in repository ruby-buff-config.

commit 70faf1f7b86fd33a57851af38dae50bc9cc4b707
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Sat Mar 5 03:46:08 2016 +0100

    Load pathname in specs, fixes FTBFS
---
 debian/patches/series                   |  1 +
 debian/patches/spec-load-pathname.patch | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index ffaad3c..88d0250 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Don-t-change-LOAD_PATH-in-tests.patch
 remove-spork
 relax-varia-model-dependency
+spec-load-pathname.patch
diff --git a/debian/patches/spec-load-pathname.patch b/debian/patches/spec-load-pathname.patch
new file mode 100644
index 0000000..4307e3f
--- /dev/null
+++ b/debian/patches/spec-load-pathname.patch
@@ -0,0 +1,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|

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-buff-config.git



More information about the Pkg-ruby-extras-commits mailing list