qsagi 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/qsagi/standard_queue.rb +1 -1
- data/lib/qsagi/version.rb +1 -1
- data/qsagi.gemspec +1 -1
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a06b77294235b319f460ab2378941f677dafd7bb
|
4
|
+
data.tar.gz: a5690fd00c88aab223f0c995f43fb6e036fa3874
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c89e9cdc6cc17cab61d77f9660c2a33692ad1aef89292049e2697d7209c5aa81127211f97a7aa28e3a646c8316bd491943b8a8a5459841cb74fc887ebe32628e
|
7
|
+
data.tar.gz: 45f669f8ae514b1fee4c05ecb20ab326ec18fe3daaf3b36c9015a36325de826289f47f49109eda249078149ee3760a189f5ed3bf6e7e94b15e574d834d18b324
|
data/lib/qsagi/standard_queue.rb
CHANGED
@@ -44,7 +44,7 @@ module Qsagi
|
|
44
44
|
|
45
45
|
def pop(options = {})
|
46
46
|
auto_ack = options.fetch(:auto_ack, true)
|
47
|
-
delivery_info, properties, message = @queue.pop(:
|
47
|
+
delivery_info, properties, message = @queue.pop(:manual_ack => !auto_ack)
|
48
48
|
|
49
49
|
unless message.nil?
|
50
50
|
_message_class.new(delivery_info, _serializer.deserialize(message))
|
data/lib/qsagi/version.rb
CHANGED
data/qsagi.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qsagi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Braintree
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.9.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.9.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.2.0
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: A friendly way to talk to RabbitMQ
|
@@ -94,4 +94,3 @@ test_files:
|
|
94
94
|
- spec/qsagi/message_spec.rb
|
95
95
|
- spec/qsagi/queue_spec.rb
|
96
96
|
- spec/spec_helper.rb
|
97
|
-
has_rdoc:
|