From 4d30232b0408f78d904ee484456e53b2b8fa6b0f Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 23 May 2009 11:33:21 +0200 Subject: [PATCH] RubyRedis: now sets are returned as arrays again, and not as Set objects --- client-libraries/ruby_2/rubyredis.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client-libraries/ruby_2/rubyredis.rb b/client-libraries/ruby_2/rubyredis.rb index 38823206..23d7b017 100644 --- a/client-libraries/ruby_2/rubyredis.rb +++ b/client-libraries/ruby_2/rubyredis.rb @@ -28,7 +28,6 @@ class RedisClient } ConvertToBool = lambda{|r| r == 0 ? false : r} - ConvertToSet = lambda{|r| Set.new(r)} ReplyProcessor = { "exists" => ConvertToBool, @@ -41,10 +40,6 @@ class RedisClient "del"=> ConvertToBool, "renamenx"=> ConvertToBool, "expire"=> ConvertToBool, - "smembers" => ConvertToSet, - "sinter" => ConvertToSet, - "sunion" => ConvertToSet, - "sdiff" => ConvertToSet, "keys" => lambda{|r| r.split(" ")}, "info" => lambda{|r| info = {} -- 2.45.2