carnac 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/carnac/check.rb CHANGED
@@ -37,9 +37,9 @@ END_OF_MESSAGE
37
37
 
38
38
  def run!
39
39
  if @type.empty?
40
- lines = `smartctl -a -d #{@device}`.split("\n")
40
+ lines = `smartctl -a #{@device}`.split("\n")
41
41
  else
42
- lines = `smartctl -a #{@type} #{@device}`.split("\n")
42
+ lines = `smartctl -a -d #{@type} #{@device}`.split("\n")
43
43
  end
44
44
 
45
45
  header = lines.grep(/^ID#/).first
@@ -1,3 +1,3 @@
1
1
  module Carnac
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carnac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: