tracee 1.0.16 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tracee/version.rb +1 -1
- data/lib/tracee.rb +5 -2
- 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: ce9b9c625b013c9550d5ab0e916469aa1b737760
|
4
|
+
data.tar.gz: ba9f465bc61388bcf4ac18a29be29f8d1e41cea4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a9fcf84812a5d1bd0d30f44c07df73af7f3e8abeaf023603e80673f5d1186da28a655db1495048e2efa533a69e044447f49bdd8ec7ce0b49b2d3b3715fb759b
|
7
|
+
data.tar.gz: 9aa66dd31a118be858528af0e8a0df566cb161304a079c1a986c8ade2cab9108267c8af3206fd127c7ff8071d3644333c10231e8f7807aa94369b49412848869
|
data/lib/tracee/version.rb
CHANGED
data/lib/tracee.rb
CHANGED
@@ -53,8 +53,11 @@ module Tracee
|
|
53
53
|
# without side-effects, so we just skip extending.
|
54
54
|
else
|
55
55
|
# BetterErrors has not yet been loaded or will not be loaded at all.
|
56
|
-
#
|
57
|
-
|
56
|
+
# Check if it's not the version that always freezes on error with the trace decorator.
|
57
|
+
if RUBY_VERSION <= '2.3.1'
|
58
|
+
# Just insert the extension before Exception.
|
59
|
+
::Exception.prepend Tracee::Extensions::Exception
|
60
|
+
end
|
58
61
|
end
|
59
62
|
::Exception.send :class_attribute, :trace_decorator
|
60
63
|
|
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.17
|
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-01-
|
11
|
+
date: 2018-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|