juggernaut 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/juggernaut.rb +1 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.2
1
+ 2.0.3
@@ -26,7 +26,7 @@ module Juggernaut
26
26
  end
27
27
 
28
28
  def subscribe
29
- Redis.new(redis_options).subscribe(*EVENTS) do |on|
29
+ Redis.connect(options).subscribe(*EVENTS) do |on|
30
30
  on.message do |type, msg|
31
31
  yield(type.gsub(/^juggernaut:/, "").to_sym, JSON.parse(msg))
32
32
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: juggernaut
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.0.2
5
+ version: 2.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alex MacCaw
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-01 00:00:00 -07:00
13
+ date: 2011-06-06 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency