redis_test 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redis_test/version.rb +1 -1
- data/lib/redis_test.rb +2 -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: 8d91cfaae2860c04da57ecbd687616e739b187e3
|
4
|
+
data.tar.gz: 42fd0bee49b23b9cb688a85b6d8ca77d41c79c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cf0acb5937d0b1069b6173557d3761147662e518ae570fa79cb06f12af837bc0cc13f97b90968b47d1d907064fe04f129e8962318d2dc006caf0d47f0deb829
|
7
|
+
data.tar.gz: 0568b292dbf289edfd765a4c0e01d568a020096f50c590f42d88c55dc8e8f0f66865afa0655938903f9bd8b86d4abf239d24c28bde4448d50ddd8168db932751
|
data/lib/redis_test/version.rb
CHANGED
data/lib/redis_test.rb
CHANGED
@@ -59,7 +59,7 @@ module RedisTest
|
|
59
59
|
wait_time_remaining = 5
|
60
60
|
begin
|
61
61
|
self.socket = TCPSocket.open("localhost", port)
|
62
|
-
|
62
|
+
clear
|
63
63
|
success = true
|
64
64
|
rescue Exception => e
|
65
65
|
if wait_time_remaining > 0
|
@@ -115,6 +115,7 @@ module RedisTest
|
|
115
115
|
|
116
116
|
def clear
|
117
117
|
socket.puts("flushall")
|
118
|
+
socket.gets # wait for redis server to reply with "OK"
|
118
119
|
end
|
119
120
|
|
120
121
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phuong Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|