message-driver 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/features/CHANGELOG.md +1 -1
- data/lib/message_driver/adapters/bunny_adapter.rb +2 -1
- data/lib/message_driver/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 981e67af84bbc4801922a9c5eddf06bded868d0d
|
4
|
+
data.tar.gz: 73e5d034754df98e6ab631ebc9ad5830fcb03f8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f150c9874ad62634afc049c51e5aa9ca1243af6acf9c15397c7666b53e711f581e28a716e615f9e80bca8be19602ac680691cd1cf56367b4b257daf556c6452
|
7
|
+
data.tar.gz: bd4edb36b4c9bf14b40586baf26ae469ec0945266463aba9302a925a1d45de0c3a8e511c2bcac3c39de2d82151acce19ba7b4cea8a615423cb99845841b67381
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.7.2 - 2017-10-06
|
4
|
+
|
5
|
+
* Fix some additional edge cases related to #35, where an error could cause a message to be nil
|
6
|
+
|
3
7
|
## 0.7.1 - 2017-04-10
|
4
8
|
|
5
9
|
* Move middleware processing for consumers inside the message handler so error in middleware are correctly handled - Fixes #35
|
data/features/CHANGELOG.md
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
features/../CHANGELOG.md
|
@@ -195,11 +195,12 @@ module MessageDriver
|
|
195
195
|
end
|
196
196
|
|
197
197
|
def nack_message(e, message)
|
198
|
+
return if message.nil?
|
198
199
|
requeue = true
|
199
200
|
if e.is_a?(DontRequeue) || (options[:retry_redelivered] == false && message.redelivered?)
|
200
201
|
requeue = false
|
201
202
|
end
|
202
|
-
if sub_ctx.valid?
|
203
|
+
if !sub_ctx.nil? && sub_ctx.valid?
|
203
204
|
begin
|
204
205
|
sub_ctx.nack_message(message, requeue: requeue)
|
205
206
|
rescue => e
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: message-driver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
208
208
|
version: '0'
|
209
209
|
requirements: []
|
210
210
|
rubyforge_project:
|
211
|
-
rubygems_version: 2.
|
211
|
+
rubygems_version: 2.6.12
|
212
212
|
signing_key:
|
213
213
|
specification_version: 4
|
214
214
|
summary: Easy message queues for ruby
|