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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c3b6c220dd7db1e863f7ccdbe506b70c0bd23a7
4
- data.tar.gz: a0682ca91bea07d9cb42c6601a97f3439104b0d8
3
+ metadata.gz: 2f1650347eaabe84fcfbf4b35d07151262845fc8
4
+ data.tar.gz: 31dc5527c1897f4df2b0d95c5ef15f5ca1b04ee9
5
5
  SHA512:
6
- metadata.gz: d0cfef4e43edffcbe13c176d171b259b15fda34716a58f288a95913ca85e51456c2ddd3f48f420fe64959827e4ee9ac9218f19f16a343910cbeff6f490463e5d
7
- data.tar.gz: b63d9d607b4483f14d0a93808f7d2b49226becfb13d3a8df97a73bdb5fcdb2a360a178d2e4efd20e2355528162a4652606d23316c46b4bb07746207eba16d40b
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
- @server_thr.join
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) && e.to_s =~ /operation not permitted/
503
+ @auth && e.is_a?(Redis::CommandError) &&
504
+ e.to_s =~ /NOAUTH|operation not permitted/
501
505
  end
502
506
 
503
507
  def authenticate!
@@ -1,3 +1,3 @@
1
1
  class RedisStat
2
- VERSION = '0.4.10'
2
+ VERSION = '0.4.11'
3
3
  end
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.10
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-01-29 00:00:00.000000000 Z
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.1.9
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