bipbip 0.1.3 → 0.1.4

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: 4b5bb37e8260689d701b0fccf56aedc136e9205e
4
- data.tar.gz: 0af9cf9a1c69f2d201155cacf6d063d074596f52
3
+ metadata.gz: 922affca778aa4d53f2fd5cdebdeb4ab2e1dc5a1
4
+ data.tar.gz: 834ae255344d30bb0dc5787e5d08a42d38a9cecb
5
5
  SHA512:
6
- metadata.gz: 8f0fc7dcd4c5d92117030e56f8138c3dcc804ed91359d0b837aa850914e845b1de9a070056e7539b79e68ff5d29f4567638c7c77da3b236480ac86bb654ea0ba
7
- data.tar.gz: d3532709bc9206df3c6b2b0e53a185266d021dfd44cbb0213ab3cf4e8e5f0b2ba48910847e0a5b38ac6295fd2fbf17698b3f0824d80a3e3c738a11c4920f5a0d
6
+ metadata.gz: 08f62601629c3face8e76a0e0da151c94599d322d68e5d0ea011ba169409f8dad873c19b5e7c2cf4ffc5c6427d0a9ae8c446dd0008f0bbe2561936f4a5502bff
7
+ data.tar.gz: 944e0e4d1707a0a85ecaf6689acb67e73d3641b522678e9b11f7bca30f87d5cdc755b87de21d771c1635a21064d5766dfacb284af18efff4fdb0554e372cfe01
@@ -62,7 +62,8 @@ module Bipbip
62
62
  processlist = mysql.query('SHOW PROCESSLIST')
63
63
  stats['Processlist'] = processlist.count
64
64
  processlist.each do |process|
65
- stats['Processlist_' + process['State'].sub(' ', '_')] += 1 unless process['State'].empty?
65
+ state = process['State'].to_s
66
+ stats['Processlist_' + state.sub(' ', '_')] += 1 unless state.empty?
66
67
  end
67
68
 
68
69
  data = {}
@@ -1,3 +1,3 @@
1
1
  module Bipbip
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bipbip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cargo Media