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 +4 -4
- data/lib/mixlib/install/version.rb +1 -1
- data/support/install_command.ps1 +4 -4
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44b48b3b10f12bd9546d4d5c24c8b1dc632b215b
|
4
|
+
data.tar.gz: 34b56d0d2c05de9adba3e9e91d40783c040b43e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2a3813bcc897d90da0ada2c2c94910d5da49ce624d8ec930996556e768bfa8bf51aa5969ddd7bd89910287777ac700ab6b82092862dead759ed0a9bd8889ebe
|
7
|
+
data.tar.gz: b5efb4ed22f94acbc36d13a948d49465394e9581b1a7aa2ef8aae1a596f851144ee29760816dc90faf437112ffec448d9c0eddfee95149fd528aa3a9bba35cd2
|
data/support/install_command.ps1
CHANGED
@@ -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)
|
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.
|
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:
|
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.
|
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:
|