[DRE-commits] [ruby-json-schema] 10/11: prevent LOAD_PATH overload in tests
Cédric Boutillier
boutil at moszumanska.debian.org
Mon Jun 6 22:35:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository ruby-json-schema.
commit 13c278116cbeaf16925380e3b58176ae6755064a
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue Jun 7 00:28:31 2016 +0200
prevent LOAD_PATH overload in tests
---
debian/patches/no-loadpath-overload-in-tests.patch | 15 +++++++++++++++
debian/patches/series | 1 +
2 files changed, 16 insertions(+)
diff --git a/debian/patches/no-loadpath-overload-in-tests.patch b/debian/patches/no-loadpath-overload-in-tests.patch
new file mode 100644
index 0000000..0fd1296
--- /dev/null
+++ b/debian/patches/no-loadpath-overload-in-tests.patch
@@ -0,0 +1,15 @@
+Description: don't overload LOAD_PATH in tests
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded: no
+Last-Update: 2016-06-07
+
+--- a/test/test_helper.rb
++++ b/test/test_helper.rb
+@@ -1,7 +1,6 @@
+ require 'minitest/autorun'
+ require 'webmock/minitest'
+
+-$:.unshift(File.expand_path('../../lib', __FILE__))
+ require 'json-schema'
+
+ Dir[File.join(File.expand_path('../support', __FILE__), '*.rb')].each do |support_file|
diff --git a/debian/patches/series b/debian/patches/series
index 5b65609..45c3af4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
update-addressable-24.patch
move-resource-draft.patch
+no-loadpath-overload-in-tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-json-schema.git
More information about the Pkg-ruby-extras-commits
mailing list