superfeedr-em-redis 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -472,12 +472,14 @@ module EventMachine
472
472
  # This was not a PIPELINE!
473
473
  # If the command was a subscribe, we want to keep track of it!
474
474
  if(@values[0] && @values[0][0] == "subscribe")
475
+ @subscriptions ||= {}
475
476
  @subscriptions[@values[0][1]] = blk
476
477
  else
477
478
  blk.call(@values[0]) if blk
478
479
  end
479
480
  else
480
481
  if(@values && @values[0] == "subscribe")
482
+ @subscriptions ||= {}
481
483
  @subscriptions[@values[1]] = blk
482
484
  else
483
485
  blk.call(@values) if blk
@@ -1,3 +1,3 @@
1
1
  module EMRedis
2
- VERSION = '0.3.6' unless defined? ::EMRedis::VERSION
2
+ VERSION = '0.3.7' unless defined? ::EMRedis::VERSION
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superfeedr-em-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -17,7 +17,7 @@ default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: eventmachine
20
- requirement: &2164384740 !ruby/object:Gem::Requirement
20
+ requirement: &2153241220 !ruby/object:Gem::Requirement
21
21
  none: false
22
22
  requirements:
23
23
  - - ! '>='
@@ -25,10 +25,10 @@ dependencies:
25
25
  version: '0'
26
26
  type: :runtime
27
27
  prerelease: false
28
- version_requirements: *2164384740
28
+ version_requirements: *2153241220
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: bundler
31
- requirement: &2164384120 !ruby/object:Gem::Requirement
31
+ requirement: &2153240540 !ruby/object:Gem::Requirement
32
32
  none: false
33
33
  requirements:
34
34
  - - ~>
@@ -36,7 +36,7 @@ dependencies:
36
36
  version: 1.0.rc.6
37
37
  type: :development
38
38
  prerelease: false
39
- version_requirements: *2164384120
39
+ version_requirements: *2153240540
40
40
  description: An eventmachine-based implementation of the Redis protocol
41
41
  email:
42
42
  executables: []