superfeedr-em-redis 0.3.1 → 0.3.2

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.
@@ -20,6 +20,8 @@ module EventMachine
20
20
 
21
21
  BOOLEAN_PROCESSOR = lambda{|r| r == 1 }
22
22
 
23
+ TYPE_PROCESSOR = lambda { |t| t == "none" ? nil : t }
24
+
23
25
  REPLY_PROCESSOR = {
24
26
  "exists" => BOOLEAN_PROCESSOR,
25
27
  "sismember" => BOOLEAN_PROCESSOR,
@@ -37,6 +39,7 @@ module EventMachine
37
39
  "hset" => BOOLEAN_PROCESSOR,
38
40
  "hdel" => BOOLEAN_PROCESSOR,
39
41
  "hexists" => BOOLEAN_PROCESSOR,
42
+ "type" => TYPE_PROCESSOR,
40
43
  "keys" => lambda {|r|
41
44
  if r.is_a?(Array)
42
45
  r
@@ -1,3 +1,3 @@
1
1
  module EMRedis
2
- VERSION = '0.3.1' unless defined? ::EMRedis::VERSION
2
+ VERSION = '0.3.2' unless defined? ::EMRedis::VERSION
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 1
9
- version: 0.3.1
8
+ - 2
9
+ version: 0.3.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jonathan Broad