瀏覽代碼

Promote the profile for Redis 2.2 as stable (the default for the client is still 2.0).

Daniele Alessandri 14 年之前
父節點
當前提交
3a6907241b
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      lib/Predis.php

+ 6 - 2
lib/Predis.php

@@ -1854,8 +1854,8 @@ class RedisServer_v2_0 extends RedisServer_v1_2 {
     }
 }
 
-class RedisServer_vNext extends RedisServer_v2_0 {
-    public function getVersion() { return '2.1'; }
+class RedisServer_v2_2 extends RedisServer_v2_0 {
+    public function getVersion() { return '2.2'; }
     public function getSupportedCommands() {
         return array_merge(parent::getSupportedCommands(), array(
             /* transactions */
@@ -1884,6 +1884,10 @@ class RedisServer_vNext extends RedisServer_v2_0 {
     }
 }
 
+class RedisServer_vNext extends RedisServer_v2_2 {
+    public function getVersion() { return 'DEV'; }
+}
+
 /* ------------------------------------------------------------------------- */
 
 namespace Predis\Pipeline;