rabbitek 0.3.3 → 0.3.4

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: 421ab505ea00034e0f6776b74a41e73544c51638749c4a25958e6cc88ce265d2
4
- data.tar.gz: 3de4c37cf538dd5deaea47f809cb086971721a56f0dd19e7b9215bb9d62637ee
3
+ metadata.gz: 0ebd3dc67f3b12e2d57e8fce9b1164b8b652648698d0384c8b5817a07309f6f5
4
+ data.tar.gz: 4342ee862ae79fa60d0f343fc579c7d43cd0604ab429473aa61ec8f2e61d8931
5
5
  SHA512:
6
- metadata.gz: 8c27d7fbc91597ecab67dcd32b4885f47dd2fbca1a445407d45874d0ccbf51766b32dc0ae75a846fab5ac1fa9d116287ab1c46c9dd534852020a6a9137a553ba
7
- data.tar.gz: 69619c60b63e125d67125e45ef4ad4215bc19965cdfdb08fd9bc263ed49d6a87fdc88596ab881a0beb33526d1fba8d7b2d76ebe673e577a75b159ed6be6207c5
6
+ metadata.gz: 2d8a600f3c03c8b63d504d6ebb5b7087940e1fe7a75eb2acfd731ea9f3182a5a09d16e7f3c7dd79c331b4737cad2cbafa2e2900d576aa8afb0bf3e663b0a1d62
7
+ data.tar.gz: 26e7c61bbb9f12914ba9eb51c6e2a726a0c4ec849158e09ca721fdafe3ff6efa38e70e11a1d7ac0de6c3cd212f6b4320325feb12af72b192b7dd6fabcb24d78a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  ## v0.3.3
2
2
 
3
+ Improvements:
4
+ * Logging improvement
5
+
6
+ ## v0.3.3
7
+
3
8
  Improvements:
4
9
  * Failure in retry hook will result in additional logging and nacking job with requeue: true
5
10
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rabbitek (0.3.2)
4
+ rabbitek (0.3.4)
5
5
  activesupport (> 3.0)
6
6
  bunny (~> 2.11.0)
7
7
  oj (~> 3.6)
@@ -83,7 +83,7 @@ GEM
83
83
  nio4r (2.5.2)
84
84
  nokogiri (1.10.7)
85
85
  mini_portile2 (~> 2.4.0)
86
- oj (3.10.0)
86
+ oj (3.10.1)
87
87
  opentracing (0.5.0)
88
88
  parallel (1.12.1)
89
89
  parser (2.5.1.2)
@@ -22,7 +22,13 @@ module Rabbitek
22
22
  def retry_message(consumer, message)
23
23
  Retryer.call(consumer, message)
24
24
  rescue StandardError => e
25
- error(msg: 'Critical error while retrying. Nacking message', error: e.to_s)
25
+ error(
26
+ message: 'Critical error while retrying. Nacking and requeueing message',
27
+ consumer: message.delivery_info.routing_key,
28
+ jid: consumer.jid,
29
+ error: e.to_s
30
+ )
31
+
26
32
  consumer.nack!(message.delivery_info)
27
33
  end
28
34
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rabbitek
4
- VERSION = '0.3.3'
4
+ VERSION = '0.3.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbitek
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Boostcom