1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Fall back to the installed gem if lib is not available
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-03-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/spec/support/integration_specs.rb
+++ b/spec/support/integration_specs.rb
@@ -1,4 +1,8 @@
-require File.expand_path('../../../lib/hashie/extensions/ruby_version', __FILE__)
+begin
+ require File.expand_path('../../../lib/hashie/extensions/ruby_version', __FILE__)
+rescue LoadError
+ require "hashie/extensions/ruby_version"
+end
# Generates the bundle command for running an integration test
#
|