rookout 0.1.37 → 0.1.38

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
  SHA256:
3
- metadata.gz: 661b78a375817aaf8b11e7d11baa2a1a55824a4faeb7b07800b2ab77d05fb21a
4
- data.tar.gz: d2abdb693639eddc830978c88a426f8d660db1ddcc09359d190eac69e2686de2
3
+ metadata.gz: e7230e6476d46d4184cd1887296f946c67fcc2e5e35b3b404f9f66444ef4d964
4
+ data.tar.gz: '098f43b827ae84b56adb3e19905899487d3082ce66862b1938bf823ec2cee7de'
5
5
  SHA512:
6
- metadata.gz: 4cfd877508902044f7a6a003ed6b9f4e87f24452dac85873f4281b30e17445f085f4cc7d46dea0919a6536755f01b81b67d89ce4a21eb063f97f69a51403053b
7
- data.tar.gz: 606d7c8765066bd747ab7d3ecf098c39c934f023708d7e6eef7348bded9bb5b5175b101faf548f39838408ff865b383cab876f41c39fae0c0d6c2acd8d33d036
6
+ metadata.gz: 81e11a89868203775659bcab8b1a9ac4141cba01ca33ab6bd3f33f71d4be46c39f2652d1b3a2c413260104cf8b215c448ba8251081bb2e389fe32c12238fe5c4
7
+ data.tar.gz: 22c3bbe9a67a1cefa8cc1928c4882fb585c479bb0e36b75c4ebf9abe0c7b5839e364169347b7c37b8dd40aec14641449e7ddf55db968378e9f2bcc876c9bcf4e
@@ -1,3 +1,3 @@
1
1
  module Rookout
2
- COMMIT = "e56488a23c33cbe4ad104217694c08c994586597".freeze
2
+ COMMIT = "d0495f7919f4fa023c9192c095b24bcdfbf4c825".freeze
3
3
  end
@@ -9,6 +9,13 @@ module Rookout
9
9
  require_relative "./namespaces/container_namespace"
10
10
  require_relative "./namespaces/traceback_namespace"
11
11
 
12
+ begin
13
+ require "hashie/mash"
14
+ MASH = ::Hashie::Mash
15
+ rescue LoadError
16
+ MASH = nil
17
+ end
18
+
12
19
  def initialize
13
20
  @string_cache = {}
14
21
  @estimated_pending_bytes = 0
@@ -98,7 +105,7 @@ module Rookout
98
105
  dump_time obj, variant
99
106
  elsif obj.class == Array
100
107
  dump_array obj, variant, current_depth, config, log_object_errors
101
- elsif obj.class == Hash
108
+ elsif obj.class == Hash || (!MASH.nil? && obj.is_a?(MASH))
102
109
  dump_hash obj, variant, current_depth, config, log_object_errors
103
110
  elsif obj.is_a? Exception
104
111
  dump_exception obj, variant, current_depth, config, log_object_errors
@@ -1,3 +1,3 @@
1
1
  module Rookout
2
- VERSION = "0.1.37".freeze
2
+ VERSION = "0.1.38".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rookout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.37
4
+ version: 0.1.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liran Haimovitch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-24 00:00:00.000000000 Z
11
+ date: 2022-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: binding_of_caller
@@ -192,6 +192,20 @@ dependencies:
192
192
  - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '1.0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: hashie
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: 5.0.0
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: 5.0.0
195
209
  description: rookout is the Ruby SDK for the Rookout Debugging Platform
196
210
  email:
197
211
  - support@rookout.com
@@ -285,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
299
  - !ruby/object:Gem::Version
286
300
  version: '0'
287
301
  requirements: []
288
- rubygems_version: 3.1.6
302
+ rubygems_version: 3.3.7
289
303
  signing_key:
290
304
  specification_version: 4
291
305
  summary: rookout is the Ruby SDK for the Rookout Debugging Platform