rookout 0.1.43 → 0.1.44
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0233712f50c0fe5e94c8288b73ee96a07da9bb1692cc553ac83692a10655c131
|
4
|
+
data.tar.gz: b273a8cc02ed25508400b58758c5706f6073a979c7d323316c9957dd4f186d30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afbacca6a3828ebb0e2bda728c072a9515fa6f3003945a9ab5bf972bde564a77dc950224d14bbc58b90aebdef3f505c90b89baf8d916beaca9c3bac3215fdb98
|
7
|
+
data.tar.gz: bf5c468000ed3dd7e2def2d628acab6540226ade8364a77036a12421ade338ed0106123f4c19cbc9e81c988e624bf50e9e84aa3dec090a17e68c41014390dc06
|
@@ -29,7 +29,9 @@ class Variant2EnvelopeWrapper < EnvelopeWrapperBase
|
|
29
29
|
report_id: report_id
|
30
30
|
@serializer = Rookout::Processor::NamespaceSerializer2.new
|
31
31
|
@aug_report_message.arguments2 = @serializer.dump arguments, true
|
32
|
-
@serializer.string_cache.each
|
32
|
+
@serializer.string_cache.each do |key, value|
|
33
|
+
@aug_report_message.strings_cache[key.encode "UTF-8", invalid: :replace, undef: :replace, replace: "?"] = value
|
34
|
+
end
|
33
35
|
@envelope = wrap_in_envelope @aug_report_message
|
34
36
|
@aug_report_message = nil
|
35
37
|
end
|
data/lib/rookout/commit.rb
CHANGED
@@ -91,23 +91,23 @@ module Rookout
|
|
91
91
|
def dump log_object_errors
|
92
92
|
dump_raw_object @obj, 0, @dump_config, log_object_errors
|
93
93
|
end
|
94
|
-
end
|
95
94
|
|
96
|
-
|
95
|
+
private
|
97
96
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
97
|
+
def read_key_as_int key
|
98
|
+
key_int = key.to_i
|
99
|
+
return RubyObjectNamespace.new @obj[key_int] if key_int >= 0 && key_int < @obj.length
|
100
|
+
raise Exceptions::RookKeyNotFound, key
|
101
|
+
end
|
103
102
|
|
104
|
-
|
105
|
-
|
106
|
-
|
103
|
+
def read_key_from_hash key
|
104
|
+
return RubyObjectNamespace.new @obj[key] if @obj.key? key
|
105
|
+
return RubyObjectNamespace.new @obj[key.to_sym] if @obj.key? key.to_s.to_sym
|
107
106
|
|
108
|
-
|
107
|
+
@obj.each { |it, value| return RubyObjectNamespace.new value if it.to_s == key }
|
109
108
|
|
110
|
-
|
109
|
+
raise Exceptions::RookKeyNotFound, key
|
110
|
+
end
|
111
111
|
end
|
112
112
|
end
|
113
113
|
end
|
data/lib/rookout/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.44
|
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-10-
|
11
|
+
date: 2022-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: binding_of_caller
|