cache_store_redis 0.1.1 → 0.2.0
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.rb +8 -1
- data/lib/cache_store_redis/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84e9e94a0c19d449dd9166f5b17380bb4b836bc2
|
4
|
+
data.tar.gz: d422168a1e9ac7ef7ffa28b5aacff148f2c214c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a43c6c893e90ed5a60efa6800fced2a3bbc59c8feac3c6efb860802ad6c684f18ac9289b3b802ca318e194464518bb098c10ad283e6f6b2ba993f1a042cf987
|
7
|
+
data.tar.gz: 6570967569071007855f061e58dbd3c9bbf8bd596fa8b7ac280ffe40c08f09ddf9ea7a2e98f40b0d066788ca72e283ed415bbcd2b18867acbf16efbbb6025394
|
data/lib/cache_store_redis.rb
CHANGED
@@ -94,6 +94,13 @@ class RedisCacheStore
|
|
94
94
|
|
95
95
|
end
|
96
96
|
|
97
|
+
# Ping the cache store.
|
98
|
+
#
|
99
|
+
# @return [String] `PONG`
|
100
|
+
def ping
|
101
|
+
@client.ping
|
102
|
+
end
|
103
|
+
|
97
104
|
private
|
98
105
|
|
99
106
|
def build_key(key)
|
@@ -106,4 +113,4 @@ class RedisCacheStore
|
|
106
113
|
k
|
107
114
|
end
|
108
115
|
|
109
|
-
end
|
116
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cache_store_redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|