server_metrics 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/server_metrics/collectors/memory.rb +1 -1
- data/lib/server_metrics/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -73,7 +73,7 @@ class ServerMetrics::Memory < ServerMetrics::Collector
|
|
73
73
|
when 'used'
|
74
74
|
report_data[:used] =
|
75
75
|
(amount.to_f * DARWIN_UNITS[unit.downcase]).round
|
76
|
-
when 'free'
|
76
|
+
when 'free', 'unused'
|
77
77
|
report_data[:avail] =
|
78
78
|
(amount.to_f * DARWIN_UNITS[unit.downcase]).round
|
79
79
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: server_metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-03-
|
14
|
+
date: 2014-03-10 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|