bbk-amqp 1.1.0.199673 → 1.1.0.199806
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 -2
- data/lib/bbk/amqp/publisher.rb +1 -0
- 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: 22013985e4e1bc0efedf9b92ca4fa3d63ee72837c127627825cd54ab46c182dd
|
4
|
+
data.tar.gz: 5cc081010924526dac4a71b276f8213696368f2687b5b93acbb219c305074de4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad75f11945775fc7fa4ed55ab2d086eef79cf5eaa03828cbeff760b9c0df7a2dbc4f7fbebbc378a9bc492fdeea1b46f10bef0174e0213b9cf24148437bdf39ea
|
7
|
+
data.tar.gz: ac9fa20a3773712d5d5147c412684d30a112e733ac38ba3a1cf4cb058fa01815e27df6c68c893e2bd7e93c4755cf9026c58e64d5f3a40631ccf16d26e4527d63
|
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.199806)
|
5
5
|
activesupport (>= 6.0)
|
6
6
|
bbk-utils (> 1.0.1)
|
7
7
|
bunny (>= 2.19.0)
|
@@ -32,6 +32,7 @@ GEM
|
|
32
32
|
bbk-utils (1.0.1.72735)
|
33
33
|
activesupport (~> 6.0)
|
34
34
|
russian
|
35
|
+
bigdecimal (3.1.4)
|
35
36
|
bunny (2.19.0)
|
36
37
|
amq-protocol (~> 2.3, >= 2.3.1)
|
37
38
|
sorted_set (~> 1, >= 1.0.2)
|
@@ -63,7 +64,8 @@ GEM
|
|
63
64
|
launchy (2.5.0)
|
64
65
|
addressable (~> 2.7)
|
65
66
|
minitest (5.15.0)
|
66
|
-
oj (3.16.
|
67
|
+
oj (3.16.2)
|
68
|
+
bigdecimal (~> 3.1)
|
67
69
|
parser (3.0.3.2)
|
68
70
|
ast (~> 2.4.1)
|
69
71
|
path_expander (1.1.0)
|
data/lib/bbk/amqp/publisher.rb
CHANGED
@@ -68,6 +68,7 @@ module BBK
|
|
68
68
|
raise ArgumentError.new("Unknown route domain #{resutl_domain}") if domain.nil?
|
69
69
|
|
70
70
|
route_info = domain.call(route)
|
71
|
+
logger.debug "Route #{route.inspect} transformed to #{route_info.inspect}"
|
71
72
|
message = result.message
|
72
73
|
publish_message(route_info.routing_key, PublishedMessage.new({**message.headers, **route_info.headers}, message.payload), exchange: route_info.exchange)
|
73
74
|
end
|
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.199806
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoylenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|