cache_store_redis 0.4.1-java → 0.4.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cache_store_redis/version.rb +1 -1
- data/lib/cache_store_redis.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7648636075a74c0e4bd9c6f7ae51605c0b57184b1298ca64d53bee697b3e515
|
4
|
+
data.tar.gz: c560d50aa53e1dd6d9d067c38698d2d6c44d0684a5eeb1c99fd2a0592dd48358
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bfe8206e8dea8747f6a1042778a85e579327680d7f620cdd666188932b975af0fd9810ea255aa456fe65d161e694c2a17ab10cd6457eda7ea657b35914016b3
|
7
|
+
data.tar.gz: 01d3871337057dd60c949a5922d01c4919b0844deaa373e13dd0b9c4140c86962ab3e2e691c9e64be226911bb5db79c3859e19955eb67f4978d3fe9e7c912176
|
data/lib/cache_store_redis.rb
CHANGED
@@ -43,9 +43,8 @@ class RedisCacheStore
|
|
43
43
|
|
44
44
|
#This method is called to configure the connection to the cache store.
|
45
45
|
def configure(host = 'localhost', port = 6379, db = 'default', password = nil, driver: nil, url: nil)
|
46
|
-
@config = []
|
47
|
-
|
48
46
|
if url != nil
|
47
|
+
@config = {}
|
49
48
|
@config[:url] = url
|
50
49
|
@config[:db] = db
|
51
50
|
else
|
@@ -136,6 +135,7 @@ class RedisCacheStore
|
|
136
135
|
end
|
137
136
|
end
|
138
137
|
|
138
|
+
|
139
139
|
private
|
140
140
|
|
141
141
|
def serialize(object)
|