bbk-amqp 1.0.0.89320 → 1.0.0.92190
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- 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: afd08dd73c8fd2b53d6a27a01363edc0925d57839de9734f15d7ab892276a43b
|
4
|
+
data.tar.gz: 132d7b81a2874a9ba84596ec3b06a8932610f54ac052c731235c5d0855d0428a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7317bf1dd97e942523bf211bbd17a69e9d71d1402c59ace409c957a8d8b83b086761c0b2e3685d2d00578090d7ec2160cdebf4ce28cffe259333902fa8129225
|
7
|
+
data.tar.gz: 4bf82f34f60b7acda061a2d5787fb28268f60b8e57a319a4ac85d9d76acde5034a416c6e62748d5260728468f709d8d96c29c18a47a610b9c64bd3e3b06bd3b1
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bbk-amqp (1.0.0.
|
4
|
+
bbk-amqp (1.0.0.92190)
|
5
5
|
activesupport (~> 6.0)
|
6
6
|
bbk-utils (> 1.0.1)
|
7
7
|
bunny (>= 2.19.0)
|
@@ -63,7 +63,7 @@ GEM
|
|
63
63
|
launchy (2.5.0)
|
64
64
|
addressable (~> 2.7)
|
65
65
|
minitest (5.15.0)
|
66
|
-
oj (3.13.
|
66
|
+
oj (3.13.19)
|
67
67
|
parser (3.0.3.2)
|
68
68
|
ast (~> 2.4.1)
|
69
69
|
path_expander (1.1.0)
|
data/lib/bbk/amqp/publisher.rb
CHANGED
@@ -73,7 +73,7 @@ module BBK
|
|
73
73
|
routing_key: routing_key,
|
74
74
|
headers: message.headers,
|
75
75
|
# user_id: client_name,
|
76
|
-
**message.headers.select {|k| HEADER_PROP_FIELDS.include?
|
76
|
+
**message.headers.select {|k| HEADER_PROP_FIELDS.include?(k.to_sym) }.compact
|
77
77
|
}.merge(options).symbolize_keys
|
78
78
|
properties[:user_id] = client_name if message.headers[:user_id].blank?
|
79
79
|
send_message(exchange, routing_key, message.payload, properties)
|
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.0.0.
|
4
|
+
version: 1.0.0.92190
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoylenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|