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 +4 -4
- data/Gemfile.lock +3 -3
- data/lib/bbk/amqp/message.rb +6 -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: 44afc21df5b75cf7ae84d54dc4b1d51aa5285a7dcdb34df7385db07f3aa31fa4
|
4
|
+
data.tar.gz: 5bf40ad9bbdc37d1f73b87e5fe2ef2fda926c57cf55c9274488f527ab72192fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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)
|
data/lib/bbk/amqp/message.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2024-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|