city-watch 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/city_watch/watchmen/disk_usage.rb +2 -1
- data/lib/version.rb +1 -1
- metadata +1 -1
@@ -4,7 +4,8 @@ class DiskUsage
|
|
4
4
|
|
5
5
|
def self.data
|
6
6
|
dat = DF.data
|
7
|
-
|
7
|
+
sum = dat.select {|d| d[:mounted]=="/"}.first
|
8
|
+
{:partitions => dat, :summary => sum[:capacity] || sum["use%".to_sym]}
|
8
9
|
end
|
9
10
|
|
10
11
|
end
|
data/lib/version.rb
CHANGED