فهرست منبع

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;