em-beanstalk 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/em-beanstalk.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
data/lib/em-beanstalk.rb
CHANGED
@@ -25,7 +25,7 @@ module EM
|
|
25
25
|
def initialize(opts = nil)
|
26
26
|
@host = opts && opts[:host] || 'localhost'
|
27
27
|
@port = opts && opts[:port] || 11300
|
28
|
-
@tube = opts && opts[:tube]
|
28
|
+
@tube = opts && opts.key?(:tube) ? opts[:tube] : 'default'
|
29
29
|
@retry_count = opts && opts[:retry_count] || 5
|
30
30
|
@default_priority = opts && opts[:default_priority] || 65536
|
31
31
|
@default_delay = opts && opts[:default_delay] || 0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: em-beanstalk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-03-01 00:00:00 -05:00
|
13
13
|
default_executable: beanstalk-shell
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|