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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cb378813a2f5765ca4f61d2ddd47f20eb51d12a459999e9097ad48dee946b3f
4
- data.tar.gz: '0290962714ba0b3da20c57dff9d494b91e11158b7da115f5a258cac7d89e2949'
3
+ metadata.gz: 7d6ad88e74523ec04ab3eea7d338f32cdaa3b598814ae006d1a571ffc8d46d98
4
+ data.tar.gz: 82dbd7a80b85a1f940fe750048f29dba50b7bf1af0abcf637cda0c6471bfb558
5
5
  SHA512:
6
- metadata.gz: d436c1d712b26ca84ad773d2d1c5b9514a368c59a35a8dfa521821544d73470792602226bc9c8c9f2e5ec2cbfff7da2bc0d6dbdc87d7e617525890755cfe5557
7
- data.tar.gz: acba39bed024643d06b5d15e87f09d6b991a48b8c3379068e570ac5b3b0f72b044ce4b724bb105e1fa98821a31e2d4f869209c8897f8ccc636190c273fda6866
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: 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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveJob
4
4
  module Traceable
5
- VERSION = '0.3.2'
5
+ VERSION = '0.3.3'
6
6
  end
7
7
  end
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.2
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-20 00:00:00.000000000 Z
11
+ date: 2019-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob