From 98fde571db008a8b48e73022599d1d1c07d4a7b5 Mon Sep 17 00:00:00 2001 From: Wedy Chainy Date: Fri, 19 Sep 2014 21:29:53 +1000 Subject: [PATCH] Turn on redis command 'rename' --- .gitignore | 3 ++- lib/Resque/Redis.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a725465..a47ff2d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -vendor/ \ No newline at end of file +vendor/ +*.swp diff --git a/lib/Resque/Redis.php b/lib/Resque/Redis.php index a946b14..574e085 100644 --- a/lib/Resque/Redis.php +++ b/lib/Resque/Redis.php @@ -76,7 +76,8 @@ class Resque_Redis 'zcard', 'zscore', 'zremrangebyscore', - 'sort' + 'sort', + 'rename' ); // sinterstore // sunion @@ -85,7 +86,6 @@ class Resque_Redis // sdiffstore // sinter // smove - // rename // rpoplpush // mget // msetnx