puma-hunter 0.0.1 → 0.0.2

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: 5e41d8e5d99d25b3a31ee4b535579175b6cdcdb6
4
- data.tar.gz: efce5bda047150179e45868599fa86fcb88155ef
3
+ metadata.gz: 8e8c6bc63b9e326b92eb1579c0bcecc60a12aeff
4
+ data.tar.gz: 432590c602eb53b962e822fcdb2d0155d485eb7d
5
5
  SHA512:
6
- metadata.gz: 709a915ed5cd45446bea26c3dd68d8f0dd8c0e70d89fff6e0c81f4a1dda89f3b97a4b2295002aa51aa6b1a47f353ccc00f4e90ec5049caaa5dab5c590d2fd0ed
7
- data.tar.gz: 971f41eef45302c0e53dbfedb7f43a03e6f25a07f47d10a89f75a0e1b16b687cc300bb5f24a82376664f02805e320fbe55b5ff58eaf734da68cbe2aa9bae9ef6
6
+ metadata.gz: 8d916e62229efa02fd2118e9dc50f1e5f70b9cea9caef573a83c91286fa8270bbd1014cf86763d1bba16529c30f1b9e313974cfbe73f544c2d4449a84dc3a397
7
+ data.tar.gz: 9de274a6acd64b2f1db0b48fc93b00205d6f9db7c1ce6192f6577df41763963cbfd6419dae0ba74ee1e20fd908f5bb531fc26fc957406672be0243617b853d33
@@ -42,7 +42,7 @@ class Puma::Hunter
42
42
  end
43
43
 
44
44
  def used_bytes
45
- @used_bytes ||= workers.reduce { |a, e| a + e[:rss] }
45
+ @used_bytes ||= workers.reduce(0) { |a, e| a + e[:rss] }
46
46
  end
47
47
 
48
48
  def simulate?
@@ -1,5 +1,5 @@
1
1
  module Puma
2
2
  class Hunter
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puma-hunter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Semenov