Преглед изворни кода

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;