From b651c4d199a7b4d6a06cdefb281601bddd2fc885 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Thu, 23 Feb 2012 16:20:39 +0000 Subject: integrated features and tests from feature/typhoeus, tests pass reliably (as opposed to feature/typhoeus) --- lib/otlogger.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/otlogger.rb') diff --git a/lib/otlogger.rb b/lib/otlogger.rb index 295d0c1..e9fbc4d 100644 --- a/lib/otlogger.rb +++ b/lib/otlogger.rb @@ -12,7 +12,7 @@ class OTLogger < Logger n = 2 line = lines[n] - while (line =~ /spork.rb/ or line =~ /create/ or line =~ /overwrite.rb/) + while (line =~ /spork.rb/ or line =~ /create/ or line =~ /#{File.basename(__FILE__)}/) n += 1 line = lines[n] end -- cgit v1.2.3