Skip to content

Commit 0f096c8

Browse files
author
Alexander Cheprasov
committed
v1.1.0
1 parent 54f3880 commit 0f096c8

File tree

4 files changed

+33
-3
lines changed

4 files changed

+33
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

src/RedisClient/Client/AbstractRedisClient.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@
1818
use RedisClient\Protocol\ProtocolInterface;
1919
use RedisClient\Protocol\RedisProtocol;
2020

21-
2221
abstract 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';

src/RedisClient/Pipeline/Version/Pipeline3x2.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,12 @@
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
*

tests/Build/VersionTest.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* This file is part of RedisClient.
4+
* git: https://github.com/cheprasov/php-redis-client
5+
*
6+
* (C) Alexander Cheprasov <[email protected]>
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+
}

0 commit comments

Comments
 (0)