mixlib-install 0.7.0 → 0.7.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
  SHA1:
3
- metadata.gz: 1968e25bc97dcf4bbf9055a79377fe35ad91b464
4
- data.tar.gz: efc416aee9f55ace726ca4cca2aebadc2cc965e6
3
+ metadata.gz: 44b48b3b10f12bd9546d4d5c24c8b1dc632b215b
4
+ data.tar.gz: 34b56d0d2c05de9adba3e9e91d40783c040b43e1
5
5
  SHA512:
6
- metadata.gz: 247e609182ea0d1d26a84f90e0c2a1390242316263317c39b2cf8ecd0e7c6cb8ac565a9598f62748799d3684f7d93ec68cb741b7f60346f665a12bf8d3ad54ee
7
- data.tar.gz: e08b663e3e4e469f376d24ac247e9cf74943dfebc82ee57c96caafc35b19d647e2c8ededec0798b4806074ef9b3b322fdd99f61a23e8afda5c803da147e82283
6
+ metadata.gz: e2a3813bcc897d90da0ada2c2c94910d5da49ce624d8ec930996556e768bfa8bf51aa5969ddd7bd89910287777ac700ab6b82092862dead759ed0a9bd8889ebe
7
+ data.tar.gz: b5efb4ed22f94acbc36d13a948d49465394e9581b1a7aa2ef8aae1a596f851144ee29760816dc90faf437112ffec448d9c0eddfee95149fd528aa3a9bba35cd2
@@ -1,5 +1,5 @@
1
1
  module Mixlib
2
2
  class Install
3
- VERSION = "0.7.0"
3
+ VERSION = "0.7.1"
4
4
  end
5
5
  end
@@ -3,13 +3,13 @@ Function Check-UpdateChef($root, $version) {
3
3
  elseif ("$version" -eq "true") { return $false }
4
4
  elseif ("$version" -eq "latest") { return $true }
5
5
 
6
- Try { $chef_version = Get-Content $root\version-manifest.txt | select-object -1}
6
+ Try { $chef_version = (Get-Content $root\version-manifest.txt | select-object -first 1) }
7
7
  Catch {
8
- Try { $chef_version = (& $root\bin\chef-solo.bat -v).split(" ", 2)[1] }
9
- Catch { $chef_version = "" }
8
+ Try { $chef_version = (& $root\bin\chef-solo.bat -v) }
9
+ Catch { $chef_version = " " }
10
10
  }
11
11
 
12
- if ($chef_version.StartsWith($version)) { return $false }
12
+ if ($chef_version.split(" ", 2)[1].StartsWith($version)) { return $false }
13
13
  else { return $true }
14
14
  }
15
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixlib-install
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom May
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-05 00:00:00.000000000 Z
11
+ date: 2016-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -93,8 +93,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.4.5
96
+ rubygems_version: 2.4.8
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: A mixin to help with omnitruck installs
100
100
  test_files: []
101
+ has_rdoc: