pebbles-river 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pebbles/river/message.rb +6 -1
- data/lib/pebbles/river/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50b6e0bec4e386f14856c276c287051414987cbe
|
4
|
+
data.tar.gz: 661538b058ac70c4decc2278acb4d964e313f68f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc4ca4ded39c202dc5aaba3a0b1fe4033b15eca6ba117e9b3d587a7ef3c292a806813f13429824cf29aae0be4a347cfc90b13afa28af97c18cf29afc5f60f555
|
7
|
+
data.tar.gz: 0977a2aa1116cbc9454c384f67430f83cb8da1334dac83da8e38af7cef70dba99b468d3bc4853dd05a54d71e9d4267abd301ce8b1d03bd8b6232849d0966c9cb
|
@@ -16,6 +16,7 @@ module Pebbles
|
|
16
16
|
|
17
17
|
attr_reader :payload
|
18
18
|
attr_reader :queue
|
19
|
+
attr_reader :raw_message
|
19
20
|
|
20
21
|
def self.deserialize_payload(payload)
|
21
22
|
if payload
|
@@ -40,7 +41,11 @@ module Pebbles
|
|
40
41
|
end
|
41
42
|
|
42
43
|
def delivery_tag
|
43
|
-
|
44
|
+
delivery_details[:delivery_tag]
|
45
|
+
end
|
46
|
+
|
47
|
+
def delivery_details
|
48
|
+
@raw_message[:delivery_details] || {}
|
44
49
|
end
|
45
50
|
|
46
51
|
def ack
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pebbles-river
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Staubo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pebblebed
|