tracee 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 619ff9514d9aaf865e6cdc037ac907cb65370eaa
4
- data.tar.gz: 6c299eedba583c35c9bb6b61a9ee17692d998351
3
+ metadata.gz: 90f101b5ed798c85e00b675e639b857d557559f3
4
+ data.tar.gz: e20723a50994316c3f45281c0a777f82e1527ec8
5
5
  SHA512:
6
- metadata.gz: 14e6cda31a2ce041ef3ee1ec6dcfdec183ae88618d0eabc13a0cf7670f2ac0d69e4c8c2e0d8bd4bd3703b844ff3c4fa0419bf82641ac1dd0eb78993bc916a6e8
7
- data.tar.gz: 37ad87036bb943ab14186cdc78ee1b0629e28b0fb7f3fc16adda88b3c37e780040721a48a372fdcea299e06893a13ebe2d9d0c34113f564138e4a7cbd9b69f78
6
+ metadata.gz: e26e75daeae8ebeb2223d4b319db4502db9eead63b015ded9ab4ba020210992c217cb01342e6d59130a0896ac89c074884726db1efb00541694ef7be9a782a94
7
+ data.tar.gz: 31ab51693a2d16e3eb5b8bffeb322e28cca9ac6a2d1f52ebe50b8d3a886c578fab0a3432da01149d38656451b77b0c23edc2d76f668d58bedfdd39268373b6da
@@ -5,24 +5,22 @@ module Tracee
5
5
  extend ::ActiveSupport::Concern
6
6
 
7
7
  included do
8
- alias_method_chain :log_exception, :decorate
9
- end
10
-
11
- def log_exception_with_decorate
12
- return unless logger = ::BetterErrors.logger
8
+ def log_exception
9
+ return unless logger = ::BetterErrors.logger
13
10
 
14
- message = "\n#{@error_page.exception.class} - #{@error_page.exception.message}:"
11
+ message = "\n#{@error_page.exception.class} - #{@error_page.exception.message}:"
15
12
 
16
- logger.fatal message
17
-
18
- frames = @error_page.backtrace_frames # original definition
19
- frames = frames.map(&:to_s).reject {|line| line =~ IGNORE_RE}
20
- frames = Stack::BaseDecorator.(frames, paint_code_line: :greenish)
21
- frames.each do |frame|
22
- if frame =~ /^[-\w]+ \(\d+\.[\w\.]+\) /
23
- logger.debug " #{frame}"
24
- else
25
- logger.fatal " #{frame}"
13
+ logger.fatal message
14
+
15
+ frames = @error_page.backtrace_frames # original definition
16
+ frames = frames.map(&:to_s).reject {|line| line =~ IGNORE_RE}
17
+ frames = Stack::BaseDecorator.(frames, paint_code_line: :greenish)
18
+ frames.each do |frame|
19
+ if frame =~ /^[-\w]+ \(\d+\.[\w\.]+\) /
20
+ logger.debug " #{frame}"
21
+ else
22
+ logger.fatal " #{frame}"
23
+ end
26
24
  end
27
25
  end
28
26
  end
@@ -1,3 +1,3 @@
1
1
  module Tracee
2
- VERSION = "1.0.13"
2
+ VERSION = "1.0.14"
3
3
  end
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.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Baev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-30 00:00:00.000000000 Z
11
+ date: 2017-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 2.5.1
137
+ rubygems_version: 2.4.8
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: An extensible logger with stack tracing, benchmarking, preprocessing, and