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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c725b8d2c6178942d718d6ef1d16c8a5fa596bb1
4
- data.tar.gz: 9a06da4c35bf2b931e863df7045b72a0728daf9a
3
+ metadata.gz: a06b77294235b319f460ab2378941f677dafd7bb
4
+ data.tar.gz: a5690fd00c88aab223f0c995f43fb6e036fa3874
5
5
  SHA512:
6
- metadata.gz: ff69459d225597dc5507d9a948d5103f969cb97e8407f06f5fd2fc6258def9a17ea86d325780d162ddbccc9821a80edc271761457556b63903ae8854d360f7d2
7
- data.tar.gz: 0e17a44619bc16e417b846dc8d0b42567212342f58760d56a675fc538615160e6a33c800f0c3e2fe40f1829ac3bd7cdf15424d8b030025b66929f1a92b857d38
6
+ metadata.gz: c89e9cdc6cc17cab61d77f9660c2a33692ad1aef89292049e2697d7209c5aa81127211f97a7aa28e3a646c8316bd491943b8a8a5459841cb74fc887ebe32628e
7
+ data.tar.gz: 45f669f8ae514b1fee4c05ecb20ab326ec18fe3daaf3b36c9015a36325de826289f47f49109eda249078149ee3760a189f5ed3bf6e7e94b15e574d834d18b324
@@ -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(:ack => !auto_ack)
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
@@ -1,3 +1,3 @@
1
1
  module Qsagi
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
data/qsagi.gemspec CHANGED
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency "bunny", "~> 1.2.0"
20
+ gem.add_dependency "bunny", "~> 2.9.2"
21
21
  gem.add_dependency "json", "~> 1.7"
22
22
  end
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.1.3
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: 2017-03-02 00:00:00.000000000 Z
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: 1.2.0
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: 1.2.0
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.1.11
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: