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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2210f1702093dafdedba4342ed546eb4d0a7f783f1061c9bc06ca31e1c46454a
4
- data.tar.gz: 54269d37a121e57714d4cbaaee694656b840ac3a0ed047419bff11cea723545b
3
+ metadata.gz: 721631e45b0dd11bf3ffdd875e6a70768f0e814b955edb4113561cda6a1eb967
4
+ data.tar.gz: 506b2fc78427e91b04a4949a282e8d06fe1da2d47482b0f3dd1fbc3b7b376b5e
5
5
  SHA512:
6
- metadata.gz: bc8050ccdaa84f7b6ee6541ae9e797b4b2960b007e782f451c30b25c6a48fc5796c08b9e53accd81a3e402c345113e059d0367a1b8bd172d3737156994a2d625
7
- data.tar.gz: 87c54766f2df8d3a55504626f85921b2694cd44ab783454fcc40f560156dfe499525c739c049512a8263149b64de4fe547345521192242e9a29e2f9195355b54
6
+ metadata.gz: fb06fcbb65f9ed21edcf2c659502706118f10333374a16ebd7feb5db6964d60d0b8c6d4455c897671a67a9400d9bd7be2f0dc702920eaf1fccdf8753d4ca094f
7
+ data.tar.gz: 9ef86e165251c586d5846bffa566171c18398ecfd3bad80ebfaa7cbc930bb449836fb774309724abb2e584e57e72386fa9e3f1150d102963bfbf0ef10db2d724
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspen-diskinfo (1.0.0)
4
+ aspen-diskinfo (1.0.1)
5
5
  colorize (~> 0.8.1)
6
6
 
7
7
  GEM
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])}"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Aspen
4
4
  module Diskinfo
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspen-diskinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Gittemeier