resque-sliders 0.0.6 → 0.0.7
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.
- data/lib/resque-sliders/kewatcher.rb +6 -1
- data/lib/resque-sliders/version.rb +1 -1
- metadata +4 -4
@@ -31,7 +31,12 @@ module Resque
|
|
31
31
|
@dead_queues = Array.new # keep track of pids that are dead
|
32
32
|
@zombie_pids = Array.new # keep track of zombie's we kill and dont watch()
|
33
33
|
|
34
|
-
Resque.redis = options[:config]
|
34
|
+
Resque.redis = case options[:config]
|
35
|
+
when Hash
|
36
|
+
[options[:config]['host'], options[:config]['port']].join(':')
|
37
|
+
else
|
38
|
+
options[:config]
|
39
|
+
end
|
35
40
|
end
|
36
41
|
|
37
42
|
# run the daemon
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-sliders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kevin Mullin
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-01-
|
18
|
+
date: 2012-01-19 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|