redis-stat 0.4.10-java → 0.4.11-java
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: 2f1650347eaabe84fcfbf4b35d07151262845fc8
|
4
|
+
data.tar.gz: 31dc5527c1897f4df2b0d95c5ef15f5ca1b04ee9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f54391e723b0a6d168c122b2d7a63e6778d9b90e2a78673cc62f99baa1542b38d04526553d254a4d0234044325005d395d2614cc1ffa8ddf88070f1633eec34
|
7
|
+
data.tar.gz: 1fdf2028a4ab17903a567954697391454cb04545646812a8b715d6dbbb91eecffad3da22c093a89d45dc8dfc71745c701902864fcf6df9cafddea9190e4bb205
|
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: java
|
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
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
228
|
rubyforge_project:
|
229
|
-
rubygems_version: 2.
|
229
|
+
rubygems_version: 2.2.2
|
230
230
|
signing_key:
|
231
231
|
specification_version: 4
|
232
232
|
summary: A real-time Redis monitoring tool written in Ruby
|