File: private_logging.patch

package info (click to toggle)
whatweb 0.6.2-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 23,948 kB
  • sloc: ruby: 43,498; sh: 213; makefile: 41
file content (28 lines) | stat: -rw-r--r-- 997 bytes parent folder | download | duplicates (2)
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
Description: Ruby has a logging library on its own
 Don't clash on Ruby logging library with the one WhatWeb uses internally.
Forwarded: no
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Last-Update: 2019-10-04

---

--- whatweb-0.5.0.orig/lib/whatweb.rb
+++ whatweb-0.5.0/lib/whatweb.rb
@@ -44,7 +44,7 @@ require_relative 'helper.rb'
 require_relative 'target.rb'
 require_relative 'plugins.rb'
 require_relative 'plugin_support.rb'
-require_relative 'logging.rb'
+require_relative 'whatweb/logging.rb'
 require_relative 'colour.rb'
 require_relative 'version_class.rb'
 require_relative 'http-status.rb'
@@ -51,7 +51,7 @@ require_relative 'http-status.rb'
 require_relative 'extend-http.rb'
 
 # load the lib/logging/ folder
-Dir["#{File.expand_path(File.dirname(__FILE__))}/logging/*.rb"].each {|file| require file }
+Dir["#{File.expand_path(File.dirname(__FILE__))}/whatweb/logging/*.rb"].each {|file| require file }
 
 # Output options
 $WWDEBUG = false # raise exceptions in plugins, etc