server_metrics 1.2.5 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +8 -0
- data/lib/server_metrics/collectors/disk.rb +1 -1
- data/lib/server_metrics/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWJiY2MxZmM4ZGM2ZjBkZjAxNWUxYTNlOTAzNDFhYmUwNGI3OWIzZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTA2NDQzYWFkYmJmMjY5MTIxY2QxYTkyYzA4ODIwNjU3OTUwYmY4Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWU3OWRiMDc1NTcxNzM4YmIyN2M2NTljNmYwY2IwZDE2ODNmNTExZDA4NTdk
|
10
|
+
Mjc0ZDk4OWU4YTYxZmM0OTIwOTQyYzY4YmY3MDA2OGIwYjI1MGEwMmJmNDgw
|
11
|
+
NmI4MzEzNjRjN2IxMTQ1ZmIxOTk4ZjYxMGJhNzYyM2Q2YmVhMGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NmU4NTliMTFlNTQ0ODY0YzA1YzIyOWMyZDc0ZDA5ZTI0Njc3Yzk0NTU3YTlk
|
14
|
+
YjE5ZWJlMDE3NTE0YTYwNDgyN2QyZWRmZWQxNDBmNGE0ODY1MWQwNWJhYTRi
|
15
|
+
MjRiZmViMDk0YTNlOWU1NjhiNzkwZGZlNGM5YmQ4NzRkMDUyZjE=
|
data/CHANGELOG.md
CHANGED
@@ -30,7 +30,7 @@ class ServerMetrics::Disk < ServerMetrics::MultiCollector
|
|
30
30
|
def devices
|
31
31
|
if @devices.nil? or @last_devices_output < (Time.now-@options[:ttl].to_i*60)
|
32
32
|
@last_devices_output = Time.now
|
33
|
-
@devices = `mount`.split("\n").grep(/^\/dev/).map{|l|l.split.first} # any device that starts with /dev
|
33
|
+
@devices = `mount`.split("\n").grep(/^\/dev/).map{|l|l.split.first} # any device that starts with /dev
|
34
34
|
else
|
35
35
|
@devices
|
36
36
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andre Lewis
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-07-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -186,3 +186,4 @@ test_files:
|
|
186
186
|
- test/test_basics.rb
|
187
187
|
- test/test_helper.rb
|
188
188
|
- test/test_with_fixtures.rb
|
189
|
+
has_rdoc:
|