sneakers 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sneakers (0.0.2)
4
+ sneakers (0.0.3)
5
5
  bunny (>= 0.9.0.rc2)
6
6
  serverengine
7
7
  thor
@@ -13,12 +13,12 @@ GEM
13
13
  activesupport (3.2.14)
14
14
  i18n (~> 0.6, >= 0.6.4)
15
15
  multi_json (~> 1.0)
16
- amq-protocol (1.7.0)
16
+ amq-protocol (1.8.0)
17
17
  arrayfields (4.9.0)
18
18
  awesome_print (1.1.0)
19
19
  bluff (0.1.0)
20
- bunny (1.0.0.pre6)
21
- amq-protocol (>= 1.7.0)
20
+ bunny (1.0.0.rc2)
21
+ amq-protocol (>= 1.8.0)
22
22
  cane (2.6.0)
23
23
  parallel
24
24
  chronic (0.10.2)
@@ -124,7 +124,7 @@ GEM
124
124
  sexp_processor (~> 4.0)
125
125
  ruby_parser (3.2.2)
126
126
  sexp_processor (~> 4.1)
127
- serverengine (1.5.4)
127
+ serverengine (1.5.5)
128
128
  sigdump (~> 0.2.2)
129
129
  sexp_processor (4.3.0)
130
130
  sigdump (0.2.2)
data/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  A high-performance RabbitMQ background processing framework for
13
13
  Ruby.
14
14
 
15
- Visit the [[wiki]]](https://github.com/jondot/sneakers/wiki) for
15
+ Visit the [wiki](https://github.com/jondot/sneakers/wiki) for
16
16
  complete docs.
17
17
 
18
18
 
@@ -142,7 +142,7 @@ Which increments start + end, and times the work unit.
142
142
 
143
143
 
144
144
  From here, you can continue over to the
145
- [[Wiki]](https://github.com/jondot/sneakers/wiki)
145
+ [Wiki](https://github.com/jondot/sneakers/wiki)
146
146
 
147
147
  # Contributing
148
148
 
@@ -16,8 +16,8 @@ class Sneakers::Queue
16
16
  # :ack
17
17
  #
18
18
  def subscribe(worker)
19
- @bunny = Bunny.new(:heartbeat_interval => @opts[:heartbeat_interval])
20
- @bunny.start(@opts[:amqp])
19
+ @bunny = Bunny.new(@opts[:amqp], :heartbeat_interval => @opts[:heartbeat_interval])
20
+ @bunny.start
21
21
 
22
22
  @channel = @bunny.create_channel
23
23
  @channel.prefetch(@opts[:prefetch])
@@ -1,3 +1,3 @@
1
1
  module Sneakers
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -22,9 +22,9 @@ describe Sneakers::Queue do
22
22
  mkex = Object.new
23
23
  mkqueue = Object.new
24
24
 
25
- mock(mkbunny).start(anything) {}
25
+ mock(mkbunny).start {}
26
26
  mock(mkbunny).create_channel{ mkchan }
27
- mock(Bunny).new(:heartbeat_interval => 2){ mkbunny }
27
+ mock(Bunny).new(anything, :heartbeat_interval => 2){ mkbunny }
28
28
 
29
29
  mock(mkchan).prefetch(25)
30
30
  mock(mkchan).exchange("sneakers", :type => :direct, :durable => true){ mkex }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sneakers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: