cache_store_redis 0.7.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be38ccc0055190deb7d7285fa68c0a82c8d5598e
|
4
|
+
data.tar.gz: 43d959f9ac031653d52f717186bd3b7abddec1a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f90ae3a590d10b6034df72719966252ef1caf6b0b14a1564b5fb53a22cb54c24c989f583d04a069cb3910973425cfbcf30b9d9d37f2b30a2175630485bbb87a
|
7
|
+
data.tar.gz: 78a73c402e500a51c9d3aceb080de57e7daf40ef80fce5b9b6cf3166b87531ec72c58dd95c5c37fda4162164f311bd4cee3e5a239a28910daf0ce2377a62c362
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# This class is used to implement a redis cache store.
|
2
2
|
class RedisCacheStore
|
3
3
|
def initialize(namespace = nil, config = nil)
|
4
|
-
@connection_pool =
|
4
|
+
@connection_pool = RedisConnectionPool.new(config)
|
5
5
|
|
6
6
|
unless RUBY_PLATFORM == 'java'
|
7
7
|
require 'oj'
|
data/lib/cache_store_redis.rb
CHANGED
@@ -6,6 +6,6 @@ require 'redis'
|
|
6
6
|
require 'securerandom'
|
7
7
|
|
8
8
|
require_relative 'cache_store_redis/redis_connection'
|
9
|
-
require_relative 'cache_store_redis/
|
9
|
+
require_relative 'cache_store_redis/redis_connection_pool'
|
10
10
|
require_relative 'cache_store_redis/redis_cache_store'
|
11
11
|
require_relative 'cache_store_redis/optional_redis_cache_store'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cache_store_redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
@@ -90,10 +90,10 @@ files:
|
|
90
90
|
- bin/console
|
91
91
|
- bin/setup
|
92
92
|
- lib/cache_store_redis.rb
|
93
|
-
- lib/cache_store_redis/connection_pool.rb
|
94
93
|
- lib/cache_store_redis/optional_redis_cache_store.rb
|
95
94
|
- lib/cache_store_redis/redis_cache_store.rb
|
96
95
|
- lib/cache_store_redis/redis_connection.rb
|
96
|
+
- lib/cache_store_redis/redis_connection_pool.rb
|
97
97
|
- lib/cache_store_redis/version.rb
|
98
98
|
homepage: https://github.com/vaughanbrittonsage/cache_store
|
99
99
|
licenses:
|