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.
@@ -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
@@ -1,7 +1,7 @@
1
1
  module Resque
2
2
  module Plugins
3
3
  module ResqueSliders
4
- Version = VERSION = '0.0.6'
4
+ Version = VERSION = '0.0.7'
5
5
  end
6
6
  end
7
7
  end
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
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-10 00:00:00 -08:00
18
+ date: 2012-01-19 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency