activejob-traceable 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/activejob/traceable/traceable.rb +3 -3
- data/lib/activejob/traceable/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d6ad88e74523ec04ab3eea7d338f32cdaa3b598814ae006d1a571ffc8d46d98
|
4
|
+
data.tar.gz: 82dbd7a80b85a1f940fe750048f29dba50b7bf1af0abcf637cda0c6471bfb558
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0f2d299607ebb232f4b46d3b82c1b21d769faacc0f7c6108556485dfa9ce7278b3c53e96732fa6ddbf4463d93231414195276539cd768d8fdddd3f67c6fe83d
|
7
|
+
data.tar.gz: '078bd1149db4754e872a3bf1695bc609332a964f3b0124935b5c5c526456e35d5974550dad1cfb1ac1649644402e976c2415dbe9a0dd39f9b11819a1e45c5f70'
|
@@ -10,11 +10,11 @@ module ActiveJob
|
|
10
10
|
def initialize(*arguments)
|
11
11
|
super(*arguments)
|
12
12
|
|
13
|
-
@tracing_info = Traceable.tracing_info_getter.call
|
13
|
+
@tracing_info = Traceable.tracing_info_getter.call.deep_stringify_keys
|
14
14
|
end
|
15
15
|
|
16
16
|
def serialize
|
17
|
-
super.merge!(tracing_info
|
17
|
+
super.merge!('tracing_info' => tracing_info)
|
18
18
|
end
|
19
19
|
|
20
20
|
def deserialize(job_data)
|
@@ -24,7 +24,7 @@ module ActiveJob
|
|
24
24
|
self.tracing_info = job_data['tracing_info']
|
25
25
|
end
|
26
26
|
|
27
|
-
Traceable.tracing_info_setter.call(tracing_info)
|
27
|
+
Traceable.tracing_info_setter.call(tracing_info.with_indifferent_access)
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activejob-traceable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Qonto team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|