bbk-amqp 1.0.0.72919 → 1.0.0.79544

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: b826df21f4fc0f821908d5757a7ca0fc9b1aa6158bcdb3f5ccd4c317cd8f89bb
4
- data.tar.gz: 81bc9b5ab41c5d433497385897cfc7766645542cb75c750bd4d91a78ee16c6b9
3
+ metadata.gz: 93d7807a9dfeb65b4579d7db4993c28b2a73f7792c0cc2ce34d6f6b432754d6d
4
+ data.tar.gz: ebd605cba0dbfd1ba630e7ec12a9d7f8c69689aa0e7d5c5cbee88a85779fca46
5
5
  SHA512:
6
- metadata.gz: c186d67a09aba867487639fa3e26ada50203342f1f9a44974b1e6262359230b66c4bda414dd7bc00455c9c510e071d482e36e71b3b30c356bef20ab189cb5d32
7
- data.tar.gz: 9bc56f8257000994b91b33354ca90ecab2fe6688b1eed533cbdcfaaa12fcfd8820f59be9e4e14e1970f0beb2db6ae3cde6e44ee3ea253ffd51d0320504c48f92
6
+ metadata.gz: bceb60e98752cd3b27bfa283b88977ea9acc76effbcd543ce79658b1538196eb327f7b8e2a73c685a9d5730b125444c1c9cea6b35f37a598ef37653025804796
7
+ data.tar.gz: 4d76301d6c3d9bb301e51d2b86a51089198f69accce1b36f595f486f15ce9d726ae8aeabae94b1aa0bef666a0748e54f8748bb570fab8828c90683b3daa98a7f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bbk-amqp (1.0.0.72919)
4
+ bbk-amqp (1.0.0.79544)
5
5
  activesupport (~> 6.0)
6
6
  bbk-utils (> 1.0.1)
7
7
  bunny (>= 2.19.0)
@@ -33,12 +33,16 @@ module BBK
33
33
  headers[:reply_to]
34
34
  end
35
35
 
36
+ def user_id
37
+ headers[:user_id]
38
+ end
39
+
36
40
  def ack(*args, answer: nil, **kwargs)
37
41
  consumer.ack(self, *args, answer: answer, **kwargs)
38
42
  end
39
43
 
40
44
  def nack(*args, error: nil, **kwargs)
41
- consumer.ack(self, *args, error: error, **kwargs)
45
+ consumer.nack(self, *args, error: error, **kwargs)
42
46
  end
43
47
 
44
48
  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.0.0.72919
4
+ version: 1.0.0.79544
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-01-12 00:00:00.000000000 Z
11
+ date: 2022-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport