tracee 1.0.17 → 1.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tracee/ext/better_errors.rb +1 -1
- data/lib/tracee/preprocessors/colorize.rb +5 -2
- data/lib/tracee/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cac6156326e776850178857fc5b581cfeaec257
|
4
|
+
data.tar.gz: 03d22da54ab90666432ac4bce77fca84d6e038c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4ab84df3390b8490636cca136fd53b9db5e860f8be280565d12ee80acc4e4b4eca2fc2329732f88f98ffbd6accf8cb250bb705fd6a119164907caa9121b517b
|
7
|
+
data.tar.gz: bbb7a39d04f1d3532b00bf02d5059f9cc95c106a7cce3d03cc0f39d181462f486ab12eb51eaa8b8aeb47113e545aa489e578a7fca0b347248a7c75f2eb36f274
|
@@ -13,7 +13,7 @@ module Tracee
|
|
13
13
|
logger.fatal message
|
14
14
|
|
15
15
|
frames = @error_page.backtrace_frames # original definition
|
16
|
-
frames = frames.map(&:to_s).reject {|line| line =~ IGNORE_RE}
|
16
|
+
frames = frames.map(&:to_s) # .reject {|line| line =~ IGNORE_RE}
|
17
17
|
frames = Stack::BaseDecorator.(frames, paint_code_line: :greenish)
|
18
18
|
frames.each do |frame|
|
19
19
|
if frame =~ /^[-\w]+ \(\d+\.[\w\.]+\) /
|
@@ -12,8 +12,11 @@ module Tracee::Preprocessors
|
|
12
12
|
|
13
13
|
def initialize(color_map=COLOR_MAP)
|
14
14
|
@color_map = color_map
|
15
|
-
exception_classes =
|
16
|
-
|
15
|
+
exception_classes = []
|
16
|
+
ObjectSpace.each_object(Exception.singleton_class) do |k|
|
17
|
+
exception_classes.unshift k unless k == self
|
18
|
+
end
|
19
|
+
@exception_classes_re = exception_classes.map(&:name).join '|'
|
17
20
|
end
|
18
21
|
|
19
22
|
def call(msg_level, datetime, progname, msg, caller_slice=[])
|
data/lib/tracee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tracee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Baev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|