hermes-rb 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +3 -0
- data/Gemfile.lock +13 -17
- data/lib/hermes/distributed_trace_repository.rb +3 -3
- data/lib/hermes/rb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f84d7c23f44dbdf7aabfa38122dd94c231c907b04d4aabe6ec444feef5ba7b2
|
4
|
+
data.tar.gz: 2eaf59a2dbca4952a7eaaa7fe053bcee8c9e783235fead16034b45ceb4850668
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31728fa8f53e90d0317e964c92f3b3a8bc1e879821b12f46ec0441b5027f60c6983a4afe8d473a51954894ed8221941c7d8ceed78f45650aa9a791fa70964af7
|
7
|
+
data.tar.gz: 5950b3d5121580f9948c818ecdbf3d66f102ea118e74382f8e4d1943deb8fe226d492df55b9535c938ac1b1a7f06f74c73e848a0e03c27d5b0db1d4b9f4514e9
|
data/Changelog.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
hermes-rb (0.7.
|
4
|
+
hermes-rb (0.7.1)
|
5
5
|
activerecord (>= 5)
|
6
6
|
activesupport (>= 5)
|
7
7
|
dry-container (~> 0)
|
@@ -12,12 +12,12 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activemodel (7.0.3)
|
16
|
-
activesupport (= 7.0.3)
|
17
|
-
activerecord (7.0.3)
|
18
|
-
activemodel (= 7.0.3)
|
19
|
-
activesupport (= 7.0.3)
|
20
|
-
activesupport (7.0.3)
|
15
|
+
activemodel (7.0.3.1)
|
16
|
+
activesupport (= 7.0.3.1)
|
17
|
+
activerecord (7.0.3.1)
|
18
|
+
activemodel (= 7.0.3.1)
|
19
|
+
activesupport (= 7.0.3.1)
|
20
|
+
activesupport (7.0.3.1)
|
21
21
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
22
22
|
i18n (>= 1.6, < 2)
|
23
23
|
minitest (>= 5.1)
|
@@ -36,15 +36,11 @@ GEM
|
|
36
36
|
ddtrace (0.45.0)
|
37
37
|
msgpack
|
38
38
|
diff-lcs (1.4.4)
|
39
|
-
dry-
|
39
|
+
dry-container (0.10.0)
|
40
40
|
concurrent-ruby (~> 1.0)
|
41
|
-
|
42
|
-
dry-container (0.9.0)
|
41
|
+
dry-core (0.8.0)
|
43
42
|
concurrent-ruby (~> 1.0)
|
44
|
-
|
45
|
-
dry-core (0.7.1)
|
46
|
-
concurrent-ruby (~> 1.0)
|
47
|
-
dry-inflector (0.2.1)
|
43
|
+
dry-inflector (0.3.0)
|
48
44
|
dry-logic (1.2.0)
|
49
45
|
concurrent-ruby (~> 1.0)
|
50
46
|
dry-core (~> 0.5, >= 0.5)
|
@@ -63,16 +59,16 @@ GEM
|
|
63
59
|
bunny (>= 2.19, < 3.0)
|
64
60
|
carrot-top (~> 0.0.7)
|
65
61
|
multi_json (~> 1.15)
|
66
|
-
i18n (1.
|
62
|
+
i18n (1.12.0)
|
67
63
|
concurrent-ruby (~> 1.0)
|
68
64
|
ice_nine (0.11.2)
|
69
65
|
json (2.6.2)
|
70
|
-
minitest (5.
|
66
|
+
minitest (5.16.2)
|
71
67
|
msgpack (1.4.2)
|
72
68
|
multi_json (1.15.0)
|
73
69
|
newrelic_rpm (6.15.0)
|
74
70
|
pg (1.2.3)
|
75
|
-
rack (2.2.
|
71
|
+
rack (2.2.4)
|
76
72
|
rake (13.0.1)
|
77
73
|
rbtree (0.4.5)
|
78
74
|
request_store (1.5.1)
|
@@ -20,16 +20,16 @@ module Hermes
|
|
20
20
|
private
|
21
21
|
|
22
22
|
def attributes_for_trace_context(event, trace_context)
|
23
|
-
|
23
|
+
{
|
24
24
|
trace: trace_context.trace,
|
25
25
|
span: trace_context.span,
|
26
26
|
parent_span: trace_context.parent_span,
|
27
27
|
service: trace_context.service,
|
28
28
|
event_class: event.class.to_s,
|
29
29
|
routing_key: event.routing_key,
|
30
|
-
event_body: event.as_json,
|
30
|
+
event_body: distributes_tracing_mapper.call(event.as_json),
|
31
31
|
event_headers: event.to_headers
|
32
|
-
|
32
|
+
}
|
33
33
|
end
|
34
34
|
|
35
35
|
def store_trace(attributes)
|
data/lib/hermes/rb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hermes-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karol Galanciak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-struct
|
@@ -307,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
307
|
- !ruby/object:Gem::Version
|
308
308
|
version: '0'
|
309
309
|
requirements: []
|
310
|
-
rubygems_version: 3.
|
310
|
+
rubygems_version: 3.1.4
|
311
311
|
signing_key:
|
312
312
|
specification_version: 4
|
313
313
|
summary: A messenger of gods, delivering them via RabbitMQ with a little help from
|