[DRE-commits] [ruby-buff-extensions] 03/03: Patch: Don't change LOAD_PATH in tests

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Thu Jul 30 09:31:08 UTC 2015


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

tsfgnu-guest pushed a commit to branch master
in repository ruby-buff-extensions.

commit af5c4002b3fa20a402a48bf9eb2f1b28c1985f66
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Thu Jul 30 12:17:03 2015 +0300

    Patch: Don't change LOAD_PATH in tests
---
 .../patches/0001-Don-t-change-LOAD_PATH-in-tests.patch | 18 ++++++++++++++++++
 debian/patches/series                                  |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/0001-Don-t-change-LOAD_PATH-in-tests.patch b/debian/patches/0001-Don-t-change-LOAD_PATH-in-tests.patch
new file mode 100644
index 0000000..5156854
--- /dev/null
+++ b/debian/patches/0001-Don-t-change-LOAD_PATH-in-tests.patch
@@ -0,0 +1,18 @@
+From: Hleb Valoshka <375gnu at gmail.com>
+Date: Thu, 30 Jul 2015 12:16:42 +0300
+Subject: Don't change LOAD_PATH in tests
+
+---
+ spec/spec_helper.rb | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
+index d3bdf17..288aa72 100644
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -1,5 +1,3 @@
+-$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
+-
+ require 'rspec'
+ require 'buff/ruby_engine'
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..70b6fc0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Don-t-change-LOAD_PATH-in-tests.patch

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



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