bbk-amqp 1.0.0.82260 → 1.0.0.82273

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: 2f79016d5cab4da9644abbb93ad71897c24a93a473bd21cf223ea3fd6eebaa7d
4
- data.tar.gz: bcbcf9d71e111c5b6a8c9efe48ead69a46d0804890b6601be32571a57ee926d3
3
+ metadata.gz: 9bdb4acc4df0ff518a20e9ffea4c4f17728d32116f698d5f688e54932c57a8a1
4
+ data.tar.gz: bab128573b4283b440c703883d3b3c37a7964411d85ac0462ae2b2f7d0fa5fb6
5
5
  SHA512:
6
- metadata.gz: edcd402fc303d9e9fdd8c84c0b06a9b17a11da21fd662955c8ae5664a8a5c6bd1d7669380129d435a8ecc17f607ab6ef40eee25690e4904bb54db29c1fac3197
7
- data.tar.gz: 7fad342cafc572b1d747ae63db622b8b9a7db8fa880542b56a5628e9390316c959d187299eb2a5216053441251b40508554023e48896e7b1f608cbb74f51050c
6
+ metadata.gz: 69fdbf711cd3a6624c797fe7517af3fbca9ed4ac9eba0faabe8556dfd74d8db72b92975a9da3299a3b63586f040256e99c97a9dff10782b354f5b2df559d8271
7
+ data.tar.gz: faa15d700ba3147c593584aa83a8e3e020074da41afd1d8e1d01f228ca8dc0b83c07ba43f1512d1b24948df0c8fd4eea384b584875f40e7fae699ff11a5cc532
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bbk-amqp (1.0.0.82260)
4
+ bbk-amqp (1.0.0.82273)
5
5
  activesupport (~> 6.0)
6
6
  bbk-utils (> 1.0.1)
7
7
  bunny (>= 2.19.0)
@@ -75,11 +75,7 @@ module BBK
75
75
  # user_id: client_name,
76
76
  **message.headers.select {|k| HEADER_PROP_FIELDS.include? k }.compact
77
77
  }.merge(options).symbolize_keys
78
- properties[:user_id] = if (user_id = message.headers[:user_id]).present?
79
- user_id
80
- else
81
- properties[:headers][:user_id] = client_name
82
- end
78
+ properties[:user_id] = client_name if message.headers[:user_id].blank?
83
79
  send_message(exchange, routing_key, message.payload, properties)
84
80
  end
85
81
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbk-amqp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.82260
4
+ version: 1.0.0.82273
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoylenko Yuri