aspen-diskinfo 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/exe/diskinfo +1 -0
- data/lib/aspen/diskinfo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 721631e45b0dd11bf3ffdd875e6a70768f0e814b955edb4113561cda6a1eb967
|
4
|
+
data.tar.gz: 506b2fc78427e91b04a4949a282e8d06fe1da2d47482b0f3dd1fbc3b7b376b5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb06fcbb65f9ed21edcf2c659502706118f10333374a16ebd7feb5db6964d60d0b8c6d4455c897671a67a9400d9bd7be2f0dc702920eaf1fccdf8753d4ca094f
|
7
|
+
data.tar.gz: 9ef86e165251c586d5846bffa566171c18398ecfd3bad80ebfaa7cbc930bb449836fb774309724abb2e584e57e72386fa9e3f1150d102963bfbf0ef10db2d724
|
data/Gemfile.lock
CHANGED
data/exe/diskinfo
CHANGED
@@ -108,6 +108,7 @@ disks.each do |disk|
|
|
108
108
|
part[:fssize] &&= Integer(part[:fssize])
|
109
109
|
part[:fsused] &&= Integer(part[:fsused])
|
110
110
|
part[:fsavail] &&= Integer(part[:fsavail])
|
111
|
+
part[:'fsuse%'] ||= ''
|
111
112
|
puts "#{vertical_bar} Mounted at : #{part[:mountpoint].cyan}"
|
112
113
|
puts "#{vertical_bar} Total Space: #{humanize_block_size(part[:fssize], disk[:phy_sec])}"
|
113
114
|
puts "#{vertical_bar} Used #{part[:'fsuse%'].rjust(6)}: #{humanize_block_size(part[:fsused], disk[:phy_sec])}"
|