File tree Expand file tree Collapse file tree 4 files changed +33
-3
lines changed Expand file tree Collapse file tree 4 files changed +33
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " cheprasov/php-redis-client" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 1.1 .0" ,
44 "description" : " Php client for Redis" ,
55 "homepage" : " http://github.com/cheprasov/php-redis-client" ,
66 "minimum-stability" : " stable" ,
Original file line number Diff line number Diff line change 1818use RedisClient \Protocol \ProtocolInterface ;
1919use RedisClient \Protocol \RedisProtocol ;
2020
21-
2221abstract class AbstractRedisClient {
2322
24- const VERSION = '1.0 .0 ' ;
23+ const VERSION = '1.1 .0 ' ;
2524
2625 const CONFIG_SERVER = 'server ' ;
2726 const CONFIG_TIMEOUT = 'timeout ' ;
Original file line number Diff line number Diff line change 282282 * Hashes
283283 * @method Pipeline3x2 hstrlen($key, $field)
284284 *
285+ * Scripting
286+ * @method Pipeline3x2 scriptDebug($param)
287+ *
288+ * Server
289+ * @method Pipeline3x2 clientReply($param)
290+ *
285291 * Sets
286292 * @method Pipeline3x2 spop($key, $count = null)
287293 *
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * This file is part of RedisClient.
4+ * git: https://github.com/cheprasov/php-redis-client
5+ *
6+ * (C) Alexander Cheprasov <cheprasov.84@ya.ru>
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+ namespace Test \Build ;
12+
13+ use RedisClient \Client \AbstractRedisClient ;
14+
15+ class VersionTest extends \PHPUnit_Framework_TestCase {
16+
17+ public function test_version () {
18+ chdir (__DIR__ .'/../../ ' );
19+ $ composer = json_decode (file_get_contents ('./composer.json ' ), true );
20+
21+ $ this ->assertSame (true , isset ($ composer ['version ' ]));
22+ $ this ->assertSame (AbstractRedisClient::VERSION , $ composer ['version ' ]);
23+ }
24+
25+ }
You can’t perform that action at this time.
0 commit comments