chef-dk 1.3.43 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +5 -1
- data/Gemfile.lock +9 -10
- data/lib/chef-dk/cli.rb +2 -2
- data/lib/chef-dk/version.rb +1 -1
- data/spec/unit/cli_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79f5d5393cce38351bda9fbf4a2fb3c95cc35ac4
|
4
|
+
data.tar.gz: ebabc56eb25808061a5594eeec29b2d43e5210fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5afd7f916f4d353a72f224a39012568f629312174e4f93b6e6d361f4877548fdabb4cff84da8a7fb0f1b94e53bc8a70aa36c37e2c0ad2626596f0b9454dc1e4
|
7
|
+
data.tar.gz: dc45afd1e0248cd739b4204c243ecdcf182aa40658a3c446536b41927ac551874b01ac0b6f4873f650e35b3c957fab9aada621a606e0490c8eb4dc61999cf1a1
|
data/Gemfile
CHANGED
@@ -55,7 +55,11 @@ group(:omnibus_package) do
|
|
55
55
|
gem "chef-vault"
|
56
56
|
# The chef version is pinned by "rake dependencies", which grabs the current version from omnibus.
|
57
57
|
gem "chef", github: "chef/chef", branch: "v12.19.36"
|
58
|
-
|
58
|
+
# Pinned cheffish to version 5.0.1 since the latest version 13.0.0 has
|
59
|
+
# a dependency to ruby 2.3.3 but we are shipping ChefDK with ruby 2.3.1
|
60
|
+
#
|
61
|
+
# TODO: Remove this pin once we have solve the problem
|
62
|
+
gem "cheffish", "= 5.0.1"
|
59
63
|
gem "chefspec"
|
60
64
|
gem "fauxhai"
|
61
65
|
gem "inspec", ">= 0.17.1"
|
data/Gemfile.lock
CHANGED
@@ -113,7 +113,7 @@ GIT
|
|
113
113
|
PATH
|
114
114
|
remote: .
|
115
115
|
specs:
|
116
|
-
chef-dk (1.3
|
116
|
+
chef-dk (1.4.3)
|
117
117
|
addressable (>= 2.3.5, < 2.6)
|
118
118
|
chef (~> 12.5)
|
119
119
|
chef-provisioning (~> 2.0)
|
@@ -135,8 +135,7 @@ GEM
|
|
135
135
|
minitest (~> 5.1)
|
136
136
|
thread_safe (~> 0.3, >= 0.3.4)
|
137
137
|
tzinfo (~> 1.1)
|
138
|
-
addressable (2.
|
139
|
-
public_suffix (~> 2.0, >= 2.0.2)
|
138
|
+
addressable (2.4.0)
|
140
139
|
app_conf (0.4.2)
|
141
140
|
artifactory (2.8.1)
|
142
141
|
ast (2.3.0)
|
@@ -243,7 +242,7 @@ GEM
|
|
243
242
|
coderay (1.1.1)
|
244
243
|
cookbook-omnifetch (0.5.1)
|
245
244
|
mixlib-archive (~> 0.4)
|
246
|
-
cookstyle (1.3.
|
245
|
+
cookstyle (1.3.1)
|
247
246
|
rubocop (= 0.47.1)
|
248
247
|
cucumber (2.4.0)
|
249
248
|
builder (>= 2.1.2)
|
@@ -482,7 +481,7 @@ GEM
|
|
482
481
|
inflecto (0.0.2)
|
483
482
|
inifile (3.0.0)
|
484
483
|
iniparse (1.4.2)
|
485
|
-
inspec (1.
|
484
|
+
inspec (1.25.1)
|
486
485
|
addressable (~> 2.4)
|
487
486
|
faraday (>= 0.9.0)
|
488
487
|
hashie (~> 3.4)
|
@@ -495,7 +494,8 @@ GEM
|
|
495
494
|
rspec (~> 3)
|
496
495
|
rspec-its (~> 1.2)
|
497
496
|
rubyzip (~> 1.1)
|
498
|
-
|
497
|
+
semverse
|
498
|
+
sslshake (~> 1.2)
|
499
499
|
thor (~> 0.19)
|
500
500
|
toml (~> 0.1)
|
501
501
|
train (>= 0.22.0, < 1.0)
|
@@ -631,10 +631,9 @@ GEM
|
|
631
631
|
pry-stack_explorer (0.4.9.2)
|
632
632
|
binding_of_caller (>= 0.7)
|
633
633
|
pry (>= 0.9.11)
|
634
|
-
public_suffix (2.0.5)
|
635
634
|
rack (2.0.1)
|
636
635
|
rainbow (2.2.1)
|
637
|
-
rake (
|
636
|
+
rake (10.5.0)
|
638
637
|
rb-fsevent (0.9.8)
|
639
638
|
rb-inotify (0.9.8)
|
640
639
|
ffi (>= 0.5.0)
|
@@ -724,7 +723,7 @@ GEM
|
|
724
723
|
net-ssh (>= 2.7, < 5.0)
|
725
724
|
net-telnet
|
726
725
|
sfl
|
727
|
-
sslshake (1.
|
726
|
+
sslshake (1.2.0)
|
728
727
|
stuartpreston-azure-sdk-for-ruby (0.7.2)
|
729
728
|
json (~> 1.8)
|
730
729
|
mime-types (> 1, < 4)
|
@@ -830,7 +829,7 @@ DEPENDENCIES
|
|
830
829
|
chef-provisioning-vagrant (>= 0.11.0)
|
831
830
|
chef-sugar
|
832
831
|
chef-vault
|
833
|
-
cheffish (
|
832
|
+
cheffish (= 5.0.1)
|
834
833
|
chefspec
|
835
834
|
cookstyle (>= 1.3.0)
|
836
835
|
cucumber
|
data/lib/chef-dk/cli.rb
CHANGED
@@ -97,12 +97,12 @@ BANNER
|
|
97
97
|
def show_version
|
98
98
|
msg("Chef Development Kit Version: #{ChefDK::VERSION}")
|
99
99
|
|
100
|
-
["chef-client", "delivery", "berks", "kitchen"].each do |component|
|
100
|
+
["chef-client", "delivery", "berks", "kitchen", "inspec"].each do |component|
|
101
101
|
result = Bundler.with_clean_env { shell_out("#{component} --version") }
|
102
102
|
if result.exitstatus != 0
|
103
103
|
msg("#{component} version: ERROR")
|
104
104
|
else
|
105
|
-
version = result.stdout.scan(/(?:master\s)?[\d+\.\(\)]+\S+/).join("\s")
|
105
|
+
version = result.stdout.lines.first.scan(/(?:master\s)?[\d+\.\(\)]+\S+/).join("\s")
|
106
106
|
msg("#{component} version: #{version}")
|
107
107
|
end
|
108
108
|
end
|
data/lib/chef-dk/version.rb
CHANGED
data/spec/unit/cli_spec.rb
CHANGED
@@ -143,6 +143,10 @@ E
|
|
143
143
|
"version_output" => "Test Kitchen version 1.3.1",
|
144
144
|
"expected_version" => "1.3.1",
|
145
145
|
},
|
146
|
+
"inspec" => {
|
147
|
+
"version_output" => "1.19.1\n\nYour version of InSpec is out of date! The latest version is 1.21.0.",
|
148
|
+
"expected_version" => "1.19.1"
|
149
|
+
}
|
146
150
|
}
|
147
151
|
}
|
148
152
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-dk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel DeLeo
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-
|
13
|
+
date: 2017-05-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mixlib-cli
|