bbk-amqp 1.0.0.81661 → 1.0.0.82233

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: 7383eceef602da4c6dfb5c6bfa31b161f7f97fc75391f0215b769a2807e644ef
4
- data.tar.gz: 56b88eba1ac97a16183d1e9471462adfa2d99c38a24678b9fafde8ebec4aaa0e
3
+ metadata.gz: 1c4691eeb1a8c742af5a8678ed18f4ab9c198765e6e189716b972bfcdde3c409
4
+ data.tar.gz: 8fac5db1263e73f8e2fa5bf3aed867d297933cfd981ec364b559a5bc20959dc1
5
5
  SHA512:
6
- metadata.gz: 6ce4f910058005cb9ca048810370cf9447bae4fe176bcd0fcaa4cdff35271aa55c3b94abe11e6a28d3c16f825f414d10c93f8d1d99157554070d5b70d887e5e8
7
- data.tar.gz: bfc30528d0873325b5b860f7d18a206b5cd52a05edb2df83f7c3a4d6b95625a4fd1367a7af0ef5f8ebf07827be9464388dc6d4121d0e62ae62928e87976c81ce
6
+ metadata.gz: fa1ea15621d89c371748dc3b1227efcd2162d13ba10e761d0520cdaf51b97590f9af8205a119b15eb1e9f6ae897c9edad8b5b8aca44c9046c80e8233f0c7f651
7
+ data.tar.gz: 664f3ad951d06369bcbc3c1994b986a44a83ef32732eaf8ff95ecd4657c035de08e54dbcc49071e5df9c3cc6431e0d176322714d0c37e934d3326039aa9ec36e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bbk-amqp (1.0.0.81661)
4
+ bbk-amqp (1.0.0.82233)
5
5
  activesupport (~> 6.0)
6
6
  bbk-utils (> 1.0.1)
7
7
  bunny (>= 2.19.0)
@@ -8,7 +8,7 @@ module BBK
8
8
  # Publisher send amqp messages
9
9
  class Publisher
10
10
 
11
- HEADER_PROP_FIELDS = %i[user_id message_id reply_to correlation_id].freeze
11
+ HEADER_PROP_FIELDS = %i[message_id reply_to correlation_id].freeze
12
12
  PROTOCOLS = %w[mq amqp amqps].freeze
13
13
 
14
14
  attr_reader :connection, :domains, :logger, :channel, :ack_map, :sended_messages, :channel
@@ -72,7 +72,7 @@ module BBK
72
72
  mandatory: true,
73
73
  routing_key: routing_key,
74
74
  headers: message.headers,
75
- user_id: client_name, # если есть в headers, то на следующей строке будет перетерто
75
+ # user_id: client_name,
76
76
  **message.headers.select {|k| HEADER_PROP_FIELDS.include? k }.compact
77
77
  }.merge(options).symbolize_keys
78
78
  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.81661
4
+ version: 1.0.0.82233
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-04-08 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport