pwwka 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8270662062bb3b3031eb3cb2ddbe60975ce4946
4
- data.tar.gz: e812c104a3f428ed34a85bedf7ca6c232e3a0336
3
+ metadata.gz: c9baec48081e67edd8da063e5b04f74e3656004a
4
+ data.tar.gz: e850b99257c07387f29477baf365727db7d37a92
5
5
  SHA512:
6
- metadata.gz: 8e5f383962104ef7d46796c7e21e83297e167e49768d83dbf59b289a5e147499f817f15e56e9b3c7266ada89d48b129ea64149d8bc42957959e83a7603250f6d
7
- data.tar.gz: 991980da0be3f35934abb2edbda4d07f567440671273577b58d9d24ac56841b434180c98c6921bd3f0dca27be5368be11cbc979777abac69ce6b96ac6238896e
6
+ metadata.gz: 916717f5f3582a56e5be142f2da3c0d2e5738101557bc47df00950823b1a5e398682f9157422798ec7afe74e57e2964f28602262da41a84098f2f0373a922d5e
7
+ data.tar.gz: dcb622a925b2f3ab00eac8028f0699318235dbb4bdcb0d29bc32e286603091a905d9d34a061bb6d0c58ae1ca2c4331074fd96de2ee0ed128feb40e8132d7c497
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pwwka (0.4.0)
4
+ pwwka (0.4.1)
5
5
  activemodel
6
6
  activesupport
7
7
  bunny
@@ -10,29 +10,29 @@ PATH
10
10
  GEM
11
11
  remote: https://www.rubygems.org/
12
12
  specs:
13
- activemodel (4.1.7)
14
- activesupport (= 4.1.7)
13
+ activemodel (4.2.0)
14
+ activesupport (= 4.2.0)
15
15
  builder (~> 3.1)
16
- activesupport (4.1.7)
17
- i18n (~> 0.6, >= 0.6.9)
16
+ activesupport (4.2.0)
17
+ i18n (~> 0.7)
18
18
  json (~> 1.7, >= 1.7.7)
19
19
  minitest (~> 5.1)
20
- thread_safe (~> 0.1)
20
+ thread_safe (~> 0.3, >= 0.3.4)
21
21
  tzinfo (~> 1.1)
22
22
  amq-protocol (1.9.2)
23
23
  builder (3.2.2)
24
- bunny (1.6.1)
24
+ bunny (1.7.0)
25
25
  amq-protocol (>= 1.9.2)
26
26
  diff-lcs (1.2.5)
27
- i18n (0.6.11)
28
- json (1.8.1)
29
- minitest (5.4.2)
27
+ i18n (0.7.0)
28
+ json (1.8.2)
29
+ minitest (5.5.1)
30
30
  mono_logger (1.1.0)
31
31
  multi_json (1.10.1)
32
32
  rack (1.6.0)
33
33
  rack-protection (1.5.3)
34
34
  rack
35
- rake (10.3.2)
35
+ rake (10.4.2)
36
36
  redis (3.2.0)
37
37
  redis-namespace (1.5.1)
38
38
  redis (~> 3.0, >= 3.0.4)
@@ -42,18 +42,19 @@ GEM
42
42
  redis-namespace (~> 1.3)
43
43
  sinatra (>= 0.9.2)
44
44
  vegas (~> 0.1.2)
45
- rspec (3.1.0)
46
- rspec-core (~> 3.1.0)
47
- rspec-expectations (~> 3.1.0)
48
- rspec-mocks (~> 3.1.0)
49
- rspec-core (3.1.7)
50
- rspec-support (~> 3.1.0)
51
- rspec-expectations (3.1.2)
45
+ rspec (3.2.0)
46
+ rspec-core (~> 3.2.0)
47
+ rspec-expectations (~> 3.2.0)
48
+ rspec-mocks (~> 3.2.0)
49
+ rspec-core (3.2.0)
50
+ rspec-support (~> 3.2.0)
51
+ rspec-expectations (3.2.0)
52
+ diff-lcs (>= 1.2.0, < 2.0)
53
+ rspec-support (~> 3.2.0)
54
+ rspec-mocks (3.2.0)
52
55
  diff-lcs (>= 1.2.0, < 2.0)
53
- rspec-support (~> 3.1.0)
54
- rspec-mocks (3.1.3)
55
- rspec-support (~> 3.1.0)
56
- rspec-support (3.1.2)
56
+ rspec-support (~> 3.2.0)
57
+ rspec-support (3.2.1)
57
58
  sinatra (1.4.5)
58
59
  rack (~> 1.4)
59
60
  rack-protection (~> 1.4)
@@ -22,7 +22,7 @@ module Pwwka
22
22
  receiver = new(queue_name, routing_key)
23
23
  begin
24
24
  info "Receiving on #{queue_name}"
25
- receiver.topic_queue.subscribe(ack: true, block: block) do |delivery_info, properties, payload|
25
+ receiver.topic_queue.subscribe(manual_ack: true, block: block) do |delivery_info, properties, payload|
26
26
  begin
27
27
  payload = ActiveSupport::HashWithIndifferentAccess.new(JSON.parse(payload))
28
28
  handler_klass.handle!(delivery_info, properties, payload)
data/lib/pwwka/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pwwka
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pwwka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stitch Fix Engineering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-21 00:00:00.000000000 Z
11
+ date: 2015-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  requirements: []
170
170
  rubyforge_project:
171
- rubygems_version: 2.4.2
171
+ rubygems_version: 2.2.0
172
172
  signing_key:
173
173
  specification_version: 4
174
174
  summary: Send and receive messages via RabbitMQ