Package: ruby-grib / 0.4.0-5

0001-Fix-RSpec-LOAD_PATH.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Debian Ruby Extras Maintainers
 <[email protected]>
Date: Sun, 17 Jun 2012 17:37:56 +0900
Subject: Fix RSpec LOAD_PATH

---
 spec/spec_helper.rb | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index a9cc64a..596f836 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,8 +1,8 @@
-$LOAD_PATH.unshift File.expand_path(File.join('..','ext'), File.dirname(__FILE__))
-$LOAD_PATH.unshift File.expand_path(File.join('..','lib'), File.dirname(__FILE__))
-alias :_require :require
-def require(arg)
-  arg = "grib.so" if arg == "numru/grib.so"
-  _require(arg)
-end
+#$LOAD_PATH.unshift File.expand_path(File.join('..','ext'), File.dirname(__FILE__))
+#$LOAD_PATH.unshift File.expand_path(File.join('..','lib'), File.dirname(__FILE__))
+#alias :_require :require
+#def require(arg)
+#  arg = "grib.so" if arg == "numru/grib.so"
+#  _require(arg)
+#end
 require "numru/grib"