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 CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.2.1
2
+
3
+ * Fix for OSX Memory to support 'unused' in addition to 'free'
4
+
1
5
  # 1.2.0
2
6
 
3
7
  Performance related:
@@ -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
@@ -1,3 +1,3 @@
1
1
  module ServerMetrics
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  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.0
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-05 00:00:00.000000000 Z
14
+ date: 2014-03-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler