File: change_require_statements_using_relative_paths.patch

package info (click to toggle)
libinotify-ruby 0.0.2-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 112 kB
  • ctags: 72
  • sloc: ansic: 236; ruby: 64; makefile: 6
file content (14 lines) | stat: -rw-r--r-- 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Change require statements using relative paths for Ruby 1.9.2
 * tests/test_1.rb:
 replace «require 'inotify'» by «require './inotify'»
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593033
Author: Laurent Arnoud <laurent@spkdev.net>
--- a/tests/test_1.rb
+++ b/tests/test_1.rb
@@ -1,5 +1,5 @@
 require 'test/unit'
-require 'inotify'
+require './inotify'

 class Test1 < Test::Unit::TestCase
 	def setup