redic-cluster 0.0.1 → 0.0.3

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: b6818ee879f5f8871a7b42e22b81b80507bb7f10
4
- data.tar.gz: 0cac6f75bb1758a018729565713f87198763cbd9
3
+ metadata.gz: 0b2f978e89ee8ce452552aa2bc30581af8655309
4
+ data.tar.gz: d4d0e21231c446a389a5a5ba31d30ab548a7245f
5
5
  SHA512:
6
- metadata.gz: c14622a8bdaf99c260fd0f433f8fe107b13816739315a40fdcee70e3ef7dcef5fea06425e2275b20aba3c11ac3a6a8f810a2ac0d8274824bfd1e0c4429b43354
7
- data.tar.gz: 757a774b93a4c90556e1d3c513733e183ff5f812c709e3abeb2bf8304d7aceee9305f6e47685017f861a0e3ce387a5719aa0267caebb3b8d0c7b0b0da51fcd12
6
+ metadata.gz: f1b0a3734db771da0cb571c6ab5bff45c2ad7b6a99a47a0a626b77075dff284d4d81df76e8d539feacb02ccb7ec5951a76db3bdafa0baf7d97a45e35ad892912
7
+ data.tar.gz: 965826091deba4d20e926f918e60f93c4b489becec2ea190d1da51e178a0c43cf0bf4dd676c33d11d0dee003c0f89159f423eeab1cc50bff25b26ba63fa3efbc
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *.gem
data/lib/redic/cluster.rb CHANGED
@@ -26,6 +26,8 @@ class Redic::Cluster
26
26
 
27
27
  $stderr.puts "-> Redirected to slot [#{slot}] located at #{addr}" if @debug
28
28
 
29
+ @node.connect { @node.write(["QUIT"]) }
30
+
29
31
  @node = Redic::Client.new("redis://#{addr}", @node.timeout)
30
32
 
31
33
  call(*args)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "redic-cluster"
5
- s.version = "0.0.1"
5
+ s.version = "0.0.3"
6
6
  s.summary = "Redis Cluster support for Redic"
7
7
  s.description = "Redis Cluster support for Redic, the lightweight Redis client"
8
8
  s.authors = ["Leandro López"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redic-cluster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro López
@@ -17,6 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - .gitignore
20
21
  - LICENSE
21
22
  - README.md
22
23
  - lib/redic/cluster.rb