vidibus-sysinfo 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,11 @@ module Vidibus
22
22
 
23
23
  class << self
24
24
  def command(mount_point)
25
- mp = mount_point.gsub(/[^\/a-z0-9]/, '')
25
+ if !mount_point || mount_point == ''
26
+ mp = '/'
27
+ else
28
+ mp = mount_point.gsub(/[^\/a-z0-9]/, '')
29
+ end
26
30
  "df -m | grep '#{mp}'"
27
31
  end
28
32
 
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Sysinfo
3
- VERSION = '1.1.0'
3
+ VERSION = '1.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidibus-sysinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -145,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
145
145
  version: '0'
146
146
  segments:
147
147
  - 0
148
- hash: 686684159047158853
148
+ hash: -2351237850568153354
149
149
  required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  none: false
151
151
  requirements: