bbk-amqp 1.1.0.200187 → 1.1.0.204852
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/bbk/amqp/publisher.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: 9f0d06e4e2c6ce263af611c367ef8244d21bff2ebe0b57e11add7d7fe20ba2d4
|
4
|
+
data.tar.gz: 81c6c10f2306989d0b6bfd57f0e957bcc89da4576759c900a908d62513021147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52bb3857b913abf7fd9fabcaf84a9508f141173afbcd6857367635b23d3cd801eb8fd8f8c5e0d68e197e9f9dc6921dff10e7089be55da2c002ffd53e3092ca79
|
7
|
+
data.tar.gz: 7b27fad67d1881ee337294073d3209c112302ee629c3a5b4aa1dbba0084c4a2a2de38edca64aa700ec0830874231a68dff57a0b1c9052009a126f8f21d003917
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bbk-amqp (1.1.0.
|
4
|
+
bbk-amqp (1.1.0.204852)
|
5
5
|
activesupport (>= 6.0)
|
6
6
|
bbk-utils (> 1.0.1)
|
7
7
|
bunny (>= 2.19.0)
|
@@ -32,7 +32,7 @@ GEM
|
|
32
32
|
bbk-utils (1.0.1.72735)
|
33
33
|
activesupport (~> 6.0)
|
34
34
|
russian
|
35
|
-
bigdecimal (3.1.
|
35
|
+
bigdecimal (3.1.5)
|
36
36
|
bunny (2.19.0)
|
37
37
|
amq-protocol (~> 2.3, >= 2.3.1)
|
38
38
|
sorted_set (~> 1, >= 1.0.2)
|
@@ -64,8 +64,8 @@ GEM
|
|
64
64
|
launchy (2.5.0)
|
65
65
|
addressable (~> 2.7)
|
66
66
|
minitest (5.15.0)
|
67
|
-
oj (3.16.
|
68
|
-
bigdecimal (
|
67
|
+
oj (3.16.3)
|
68
|
+
bigdecimal (>= 3.0)
|
69
69
|
parser (3.0.3.2)
|
70
70
|
ast (~> 2.4.1)
|
71
71
|
path_expander (1.1.0)
|
data/lib/bbk/amqp/publisher.rb
CHANGED
@@ -70,7 +70,7 @@ module BBK
|
|
70
70
|
route_info = domain.call(route)
|
71
71
|
logger.debug "Route #{route.inspect} transformed to #{route_info.inspect}"
|
72
72
|
message = result.message
|
73
|
-
publish_message(route_info.routing_key, PublishedMessage.new({**message.headers, **route_info.headers}, message.payload), exchange: route_info.exchange)
|
73
|
+
publish_message(route_info.routing_key, PublishedMessage.new({**message.headers, **route_info.headers.select(&:present?)}, message.payload), exchange: route_info.exchange)
|
74
74
|
end
|
75
75
|
|
76
76
|
# Publish message
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbk-amqp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.0.
|
4
|
+
version: 1.1.0.204852
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoylenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|