bbk-amqp 1.1.1.273342 → 1.1.1.273631

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: 90ec5e4b546468b79eac4d67b12f2c371fd6469bd89e2a92ad12d1a11acc358e
4
- data.tar.gz: c363a4a337a533af390f39de968dd622e852a3ee8378554aa23802226582d0c5
3
+ metadata.gz: 44afc21df5b75cf7ae84d54dc4b1d51aa5285a7dcdb34df7385db07f3aa31fa4
4
+ data.tar.gz: 5bf40ad9bbdc37d1f73b87e5fe2ef2fda926c57cf55c9274488f527ab72192fd
5
5
  SHA512:
6
- metadata.gz: 5a174978472b0f091a7555144692c2c89f2e6ab16d3ca225597cba5dca259e4498a3f8d817af44b61af510c6427809d3fd6f65bb0576a0fa0eafd2ae47cb28b7
7
- data.tar.gz: 90195f6966cead2909528e563d2f1e1140bdb284fa9ee892ff351c45780b12ce8f553d16c9b2cf63caf6029f40e4db81870dc6ba3c1d8aa88b153676e1d3e2e4
6
+ metadata.gz: 4162b03dd540b4f4085c8f2843c8508c0f253cb34741acfdf5edad4190b4c22e5d3e91a598882228ae065e32b1e7f0e181ae904663dacae0cc14a1e9f4581af6
7
+ data.tar.gz: 37ec05d2e9c415cc5194a986f058b1ad1cdc8174b7f5d147c6d81b6fc062bfc844e5475aacc1b7bf965f44bf547eb8d1c23fa732b7cfa249815b87beb7ef14b8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bbk-amqp (1.1.1.273342)
4
+ bbk-amqp (1.1.1.273631)
5
5
  activesupport (>= 6.0)
6
6
  bbk-app (>= 1.1.1.273338)
7
7
  bbk-utils (> 1.0.1)
@@ -34,7 +34,7 @@ GEM
34
34
  ice_nine (~> 0.11.0)
35
35
  thread_safe (~> 0.3, >= 0.3.1)
36
36
  base64 (0.2.0)
37
- bbk-app (1.1.1.273338)
37
+ bbk-app (1.1.1.273627)
38
38
  activesupport (>= 6.0)
39
39
  bbk-utils (> 1.0.1)
40
40
  oj
@@ -44,7 +44,7 @@ GEM
44
44
  russian
45
45
  benchmark (0.4.0)
46
46
  bigdecimal (3.1.8)
47
- bunny (2.19.0)
47
+ bunny (2.23.0)
48
48
  amq-protocol (~> 2.3, >= 2.3.1)
49
49
  sorted_set (~> 1, >= 1.0.2)
50
50
  bunny-mock (1.7.0)
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  require 'bbk/app/dispatcher/message'
3
4
 
4
5
  module BBK
@@ -27,7 +28,7 @@ module BBK
27
28
  end
28
29
 
29
30
  def reply_to
30
- headers[:reply_to]
31
+ headers[:reply_to] || user_id
31
32
  end
32
33
 
33
34
  def user_id
@@ -42,6 +43,10 @@ module BBK
42
43
  consumer&.protocols&.first
43
44
  end
44
45
 
46
+ def inspect # :nodoc:
47
+ "#<#{self.class.name} @consumer=#{consumer.class.name}, @delivery_info=#{delivery_info.except(:message_consumer).inspect}, @headers=#{headers.inspect}, @properties=#{@properties.inspect}>"
48
+ end
49
+
45
50
  end
46
51
  end
47
52
  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.1.273342
4
+ version: 1.1.1.273631
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoylenko Yuri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-15 00:00:00.000000000 Z
11
+ date: 2024-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport