pebblebed 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,8 +62,8 @@ module Pebblebed
62
62
  :interval => 1
63
63
  }
64
64
  queue = river.queue queue_options
65
- queue.subscribe(:ack => true) do |message|
66
- consider message
65
+ queue.subscribe(block: true) do |delivery_info, metadata, payload|
66
+ consider({:payload => payload})
67
67
  end
68
68
  end
69
69
 
@@ -1,3 +1,3 @@
1
1
  module Pebblebed
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pebblebed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-08-27 00:00:00.000000000 Z
13
+ date: 2014-09-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -341,4 +341,3 @@ test_files:
341
341
  - spec/sinatra_spec.rb
342
342
  - spec/spec_helper.rb
343
343
  - spec/uid_spec.rb
344
- has_rdoc: