redis 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/redis.rb +1 -1
  2. data/lib/redis/client.rb +2 -1
  3. metadata +3 -3
@@ -1,7 +1,7 @@
1
1
  require 'socket'
2
2
 
3
3
  class Redis
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
 
6
6
  def self.new(*attrs)
7
7
  Client.new(*attrs)
@@ -387,9 +387,10 @@ class Redis
387
387
  pipeline = true
388
388
  else
389
389
  argvv = [argvp]
390
+ pipeline = false
390
391
  end
391
392
 
392
- if @binary_keys or MULTI_BULK_COMMANDS[argvv[0][0].to_s]
393
+ if @binary_keys or pipeline or MULTI_BULK_COMMANDS[argvv[0][0].to_s]
393
394
  command = ""
394
395
  argvv.each do |argv|
395
396
  command << "*#{argv.size}\r\n"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 3
9
- version: 1.0.3
8
+ - 4
9
+ version: 1.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ezra Zygmuntowicz
@@ -19,7 +19,7 @@ autorequire: redis
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2010-04-03 00:00:00 -07:00
22
+ date: 2010-04-05 00:00:00 -07:00
23
23
  default_executable:
24
24
  dependencies: []
25
25