deimos-ruby 1.8.1.pre.beta5 → 1.8.1.pre.beta6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +1 -1
- data/lib/deimos/consume/message_consumption.rb +1 -1
- data/lib/deimos/version.rb +1 -1
- data/spec/consumer_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d38b0803c074ff89dd8ff166ed8de2dcacb2ecaae46cb321abc0de630498e849
|
4
|
+
data.tar.gz: efecfba1d4d76a83270534ab7687c344253b2e4a7765dde9d42b6959083171db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d435a7c9f130650f7f9849554f2d0a71b87a9f8bddca2f542b94848ca13e8fe3084aa095f19eadd581a7af42f43511509ae9dc06bbb69982da34463304945a69
|
7
|
+
data.tar.gz: 9cfd22453a8a59d6c74a46bf41c6feb874bf125fb335c4b084df04f681bb9f3d2b03a8295a18c86166c194e592855d8b811bad39c29565002ec6dd6100edd589
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/deimos/version.rb
CHANGED
data/spec/consumer_spec.rb
CHANGED
@@ -32,6 +32,12 @@ module ConsumerTest
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
it 'should consume a nil message' do
|
36
|
+
test_consume_message(MyConsumer, nil) do |payload, _metadata|
|
37
|
+
expect(payload).to be_nil
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
35
41
|
it 'should consume a message idempotently' do
|
36
42
|
# testing for a crash and re-consuming the same message/metadata
|
37
43
|
key = { 'test_id' => 'foo' }
|