Skip to content

Commit 5162341

Browse files
committed
Renamed to Predis
1 parent a043ae8 commit 5162341

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

.gush.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
repo_adapter: github
33
issue_tracker: github
44
repo_org: php-cache
5-
repo_name: redis-adapter
5+
repo_name: predis-adapter
66
issue_project_org: php-cache
7-
issue_project_name: redis-adapter
8-
meta-header: "This file is part of php-cache\\redis-adapter package.\n\n(c) 2015-2015 Aaron Scherer <[email protected]>, Tobias Nyholm <[email protected]> \n\nThis source file is subject to the MIT license that is bundled\nwith this source code in the file LICENSE."
7+
issue_project_name: predis-adapter
8+
meta-header: "This file is part of php-cache\\predis-adapter package.\n\n(c) 2015-2015 Aaron Scherer <[email protected]>, Tobias Nyholm <[email protected]> \n\nThis source file is subject to the MIT license that is bundled\nwith this source code in the file LICENSE."
99
pr_type:
1010
- feature
1111
- bugfix

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: php
22
php:
3-
- "7.0"
4-
- "5.6"
5-
- "5.5"
3+
- 7.0
4+
- 5.6
5+
- 5.5
66

77
services:
88
- redis-server

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Redis PSR-6 adapter
2-
[![Build Status](https://travis-ci.org/php-cache/redis-adapter.svg?branch=master)](https://travis-ci.org/php-cache/redis-adapter) [![codecov.io](https://codecov.io/github/php-cache/redis-adapter/coverage.svg?branch=master)](https://codecov.io/github/php-cache/redis-adapter?branch=master)
1+
# Redis PSR-6 adapter using Preids
2+
[![Build Status](https://travis-ci.org/php-cache/predis-adapter.svg?branch=master)](https://travis-ci.org/php-cache/predis-adapter) [![codecov.io](https://codecov.io/github/php-cache/predis-adapter/coverage.svg?branch=master)](https://codecov.io/github/php-cache/predis-adapter?branch=master)
33

44
This is a implementation for the PSR-6 for Redis cache. This implementation supports tags.
55

66
This implementation is using [Predis](https://github.com/nrk/predis). If you want an adapter with
7-
[PHPRedis](https://github.com/phpredis/phpredis) you should look at our [PHPRedis adapter](https://github.com/php-cache/phpredis-adapter).
7+
[PHPRedis](https://github.com/phpredis/phpredis) you should look at our [Redis adapter](https://github.com/php-cache/redis-adapter).

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "cache/redis-adapter",
2+
"name": "cache/predis-adapter",
33
"description": "A PSR-6 cache implementation using Redis (Predis). This implementation supports tags",
44
"type": "library",
55
"license": "MIT",
@@ -12,7 +12,7 @@
1212
"predis",
1313
"tag"
1414
],
15-
"homepage": "https://github.com/php-cache/redis-adapter",
15+
"homepage": "https://github.com/php-cache/predis-adapter",
1616
"authors":
1717
[
1818
{
@@ -46,13 +46,13 @@
4646
"autoload":
4747
{
4848
"psr-4": {
49-
"Cache\\Adapter\\Redis\\": "src/"
49+
"Cache\\Adapter\\Predis\\": "src/"
5050
}
5151
},
5252
"autoload-dev":
5353
{
5454
"psr-4": {
55-
"Cache\\Adapter\\Redis\\Tests\\": "tests/"
55+
"Cache\\Adapter\\Predis\\Tests\\": "tests/"
5656
}
5757
}
5858
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* with this source code in the file LICENSE.
1010
*/
1111

12-
namespace Cache\Adapter\Redis;
12+
namespace Cache\Adapter\Predis;
1313

1414
use Cache\Adapter\Common\AbstractCachePool;
1515
use Predis\Client;
@@ -19,7 +19,7 @@
1919
* @author Aaron Scherer <[email protected]>
2020
* @author Tobias Nyholm <[email protected]>
2121
*/
22-
class RedisCachePool extends AbstractCachePool
22+
class PredisCachePool extends AbstractCachePool
2323
{
2424
/**
2525
* @type Client

tests/IntegrationPoolTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* with this source code in the file LICENSE.
1010
*/
1111

12-
namespace Cache\Adapter\Redis\Tests;
12+
namespace Cache\Adapter\Predis\Tests;
1313

14-
use Cache\Adapter\Redis\RedisCachePool;
14+
use Cache\Adapter\Predis\PredisCachePool;
1515
use Cache\IntegrationTests\CachePoolTest as BaseTest;
1616
use Predis\Client;
1717

@@ -21,7 +21,7 @@ class IntegrationPoolTest extends BaseTest
2121

2222
public function createCachePool()
2323
{
24-
return new RedisCachePool($this->getClient());
24+
return new PredisCachePool($this->getClient());
2525
}
2626

2727
private function getClient()

tests/IntegrationTagTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
* with this source code in the file LICENSE.
1010
*/
1111

12-
namespace Cache\Adapter\Redis\Tests;
12+
namespace Cache\Adapter\Predis\Tests;
1313

14-
use Cache\Adapter\Redis\RedisCachePool;
14+
use Cache\Adapter\Predis\PredisCachePool;
1515
use Cache\IntegrationTests\TaggableCachePoolTest;
1616
use Predis\Client;
1717

@@ -21,7 +21,7 @@ class IntegrationTagTest extends TaggableCachePoolTest
2121

2222
public function createCachePool()
2323
{
24-
return new RedisCachePool($this->getClient());
24+
return new PredisCachePool($this->getClient());
2525
}
2626

2727
private function getClient()

0 commit comments

Comments
 (0)