redis-stat 0.4.10 → 0.4.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redis-stat.rb +6 -2
- data/lib/redis-stat/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fd5c0f47669aa7c59d323fbd0a4c467addf50cb
|
4
|
+
data.tar.gz: 2588731df8268eeecb90bf7ad601089f692fb7d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7c580d506402e6de59c31c62f08ed1714f38fff0abe6729ac0242a271cb3b7396413b7a9b8356d48c1bae55ed66ad1ddaa8619b756915c3fda553eab194ab1e
|
7
|
+
data.tar.gz: 372783bcd10c91e17dca8dfe819e61e605f455ecf2a112049ee9b947afc9cb4217a6ad4f8dcd65abeac6064a6ed4583c20d36719bc147e5aa590ede0b3c905a8
|
data/lib/redis-stat.rb
CHANGED
@@ -147,7 +147,10 @@ class RedisStat
|
|
147
147
|
@os.puts! "Interrupted.".yellow.bold
|
148
148
|
if @server_thr
|
149
149
|
@server_thr.raise Interrupt
|
150
|
-
|
150
|
+
begin
|
151
|
+
@server_thr.join
|
152
|
+
rescue Interrupt
|
153
|
+
end
|
151
154
|
end
|
152
155
|
rescue SystemExit
|
153
156
|
raise
|
@@ -497,7 +500,8 @@ private
|
|
497
500
|
end
|
498
501
|
|
499
502
|
def need_auth? e
|
500
|
-
@auth && e.is_a?(Redis::CommandError) &&
|
503
|
+
@auth && e.is_a?(Redis::CommandError) &&
|
504
|
+
e.to_s =~ /NOAUTH|operation not permitted/
|
501
505
|
end
|
502
506
|
|
503
507
|
def authenticate!
|
data/lib/redis-stat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-stat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Junegunn Choi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ansi256
|
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
240
|
version: '0'
|
241
241
|
requirements: []
|
242
242
|
rubyforge_project:
|
243
|
-
rubygems_version: 2.4.
|
243
|
+
rubygems_version: 2.4.6
|
244
244
|
signing_key:
|
245
245
|
specification_version: 4
|
246
246
|
summary: A real-time Redis monitoring tool written in Ruby
|