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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07d68a685d39c9cc6f62223fa312f882b4a0a229
4
- data.tar.gz: 230633a41b489dcd29defab31c1c98466822da3e
3
+ metadata.gz: 9fd5c0f47669aa7c59d323fbd0a4c467addf50cb
4
+ data.tar.gz: 2588731df8268eeecb90bf7ad601089f692fb7d3
5
5
  SHA512:
6
- metadata.gz: d8063fa09d2ed1f2a05f63e5bf893fe9d6587a2dbfda34c649eeba82b7169599763b9179d35923f37da95beedcfc7222977f8c2d8d3baab09fd5ec29a0b7096d
7
- data.tar.gz: 49600e09dff9df113cd13856a5a0b22b92e689991ce1c0f407e000b51332d7ddb74641496b868caeed3d96c7463c28b5767722f38850ba934f6c1e473d970b7b
6
+ metadata.gz: c7c580d506402e6de59c31c62f08ed1714f38fff0abe6729ac0242a271cb3b7396413b7a9b8356d48c1bae55ed66ad1ddaa8619b756915c3fda553eab194ab1e
7
+ data.tar.gz: 372783bcd10c91e17dca8dfe819e61e605f455ecf2a112049ee9b947afc9cb4217a6ad4f8dcd65abeac6064a6ed4583c20d36719bc147e5aa590ede0b3c905a8
@@ -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: ruby
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
@@ -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.5
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