File: dont-touch-load-path.patch

package info (click to toggle)
ruby-simplecov-html 0.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 868 kB
  • sloc: javascript: 6,193; ruby: 128; makefile: 15
file content (17 lines) | stat: -rw-r--r-- 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: avoid touching the $LOAD_PATH
 This fixes getting coverage report on a project that is also already installed
 locally as a Debian package
Author: Antonio Terceiro <terceiro@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2015-10-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/lib/simplecov-html.rb
+++ b/lib/simplecov-html.rb
@@ -161,5 +161,4 @@ module SimpleCov
   end
 end
 
-$LOAD_PATH.unshift(File.join(File.dirname(__FILE__)))
 require "simplecov-html/version"