serverspec 0.6.19 → 0.6.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -200,7 +200,7 @@ module Serverspec
200
200
  elsif (os = run_command('uname -sr')[:stdout]) && os =~ /SunOS/i
201
201
  if os =~ /5.10/
202
202
  'Solaris10'
203
- elsif run_command('grep -q SmartOS /etc/release')
203
+ elsif run_command('grep -q SmartOS /etc/release')[:exit_status] == 0
204
204
  'SmartOS'
205
205
  else
206
206
  'Solaris'
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "0.6.19"
2
+ VERSION = "0.6.20"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.19
4
+ version: 0.6.20
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: