File: cliver.rb.patch

package info (click to toggle)
ruby-cliver 0.3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 208 kB
  • sloc: ruby: 760; makefile: 3
file content (19 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix cliver import
 Since require is now relative to the directory which it is in, the
 File.expand_path is not necessary.

Author: Andrew Lee (李健秋) <andrew.lee@collabora.co.uk> 
Last-updated: 2015-08-28
Forwarded: not-needed
Bug: not-needed

--- a/lib/cliver.rb
+++ b/lib/cliver.rb
@@ -1,6 +1,6 @@
 # encoding: utf-8
 
-require File.expand_path('../core_ext/file', __FILE__)
+require "core_ext/file"
 
 require 'cliver/version'
 require 'cliver/dependency'