bbk-amqp 1.0.0.105723 → 1.0.0.105731

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/bbk/amqp/utils.rb +5 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2f1da8aba8b479f41ed976777c38ce799d5564a4f851351f3ee9d1e068b38e33
4
- data.tar.gz: 97b64ced709b1ff88b9a02bd444de9826944a0af906c695625a4d3d0978062f2
3
+ metadata.gz: 395701e78328d529b984fe2836575d4316da174c424db8a34a536d49e65e969e
4
+ data.tar.gz: 3dfa96c9ff17d85d42b937c244a03cce0576ccb78870a1fcc78cc9574132bd67
5
5
  SHA512:
6
- metadata.gz: ab0d20cb16a171f6b2e4cafec6d0fd5038994e28d1891753a89efceffeedb71bcf58370385fec709fab694f059111a3e1f4f829eb6eabbfe98d4ee5d17ed414f
7
- data.tar.gz: 1234c97fb4ee02cf9cd3b85d5e5ff67ab6ce5ce12f73323b1bf961b4c9dea84c7240d0951dc05a6832669de4868953006e4d599595825262dc05612ca487978a
6
+ metadata.gz: 7e9f0158659ad1a74276007c335f45ed9c0e914888e61c7b40674b2842b22da649c6d360a50c909a49c45ce578f0d5f27f6abce6941edf8ab84db5a3568ff4a8
7
+ data.tar.gz: 7d73afde4090357e76f85573864dbcd2b8d68953e5348a620eed5021822eb5bcb9cdebb92309af57a969ede68f1083d7dfe4167fd3dcf262ff13040a3eca3185
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bbk-amqp (1.0.0.105723)
4
+ bbk-amqp (1.0.0.105731)
5
5
  activesupport (>= 6.0)
6
6
  bbk-utils (> 1.0.1)
7
7
  bunny (>= 2.19.0)
@@ -42,9 +42,12 @@ module BBK
42
42
  unblocker << :timeout
43
43
  end
44
44
  result = unblocker.pop
45
- consumer.cancel
46
- raise ::Timeout::Error if result == :timeout
45
+ if result == :timeout
46
+ consumer.cancel
47
+ raise ::Timeout::Error
48
+ end
47
49
  queue.channel.ack(result[0].delivery_tag)
50
+ consumer.cancel
48
51
  result
49
52
  end
50
53
 
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.105723
4
+ version: 1.0.0.105731
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samoylenko Yuri