tracee 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7d883b40c7e53e9efdfba9d0f8be7d318d00e70
4
- data.tar.gz: 85c6179a0edbb2d1849ff542a1475738574361c6
3
+ metadata.gz: ce9b9c625b013c9550d5ab0e916469aa1b737760
4
+ data.tar.gz: ba9f465bc61388bcf4ac18a29be29f8d1e41cea4
5
5
  SHA512:
6
- metadata.gz: c134aa6c3c79465d0b0b8032c19b7dc938a3adb70839cc74fe5486b5003da03c1f3a0141e22594fbc384e4d546f7bcaf4bb8c3fbbb5a0cdc1275d584e681b9df
7
- data.tar.gz: f5eb2529c88de504ad0e31dbd8b509c515a9b176dc4ebcb2d3a11cff69ec16cc427857f9261fb6f9ca974ccf337ab3586a316fa87c90c5ed114ae988105f47ca
6
+ metadata.gz: 6a9fcf84812a5d1bd0d30f44c07df73af7f3e8abeaf023603e80673f5d1186da28a655db1495048e2efa533a69e044447f49bdd8ec7ce0b49b2d3b3715fb759b
7
+ data.tar.gz: 9aa66dd31a118be858528af0e8a0df566cb161304a079c1a986c8ade2cab9108267c8af3206fd127c7ff8071d3644333c10231e8f7807aa94369b49412848869
@@ -1,3 +1,3 @@
1
1
  module Tracee
2
- VERSION = "1.0.16"
2
+ VERSION = "1.0.17"
3
3
  end
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
- # Just insert the extension before Exception.
57
- ::Exception.prepend Tracee::Extensions::Exception
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.16
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 00:00:00.000000000 Z
11
+ date: 2018-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler