chef-cli 3.0.23 → 3.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/chef-cli/command/generator_commands/cookbook.rb +1 -14
- data/lib/chef-cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 313ac394fc05556ea7a12748f3d00256a17556e57c97be2c8cc8b875233f2607
|
|
4
|
+
data.tar.gz: 20e16fbae37e2c6bf8615bdc2d161d96d5a6f74791294f59c39bc509072f99fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: af4ff4840e87a8dba88b0f4ddc527800e6f2826f7a8e6d90da4d6c364e4d013098d707a046322948858ced67b0666ab3fc737d8c1aa9332f162ec99f8f53d9c2
|
|
7
|
+
data.tar.gz: b9b76d0a67b78d4803d8ee924986d66a7d65723384850f1baaa59063917b28bf48456ebbad0fb7ba5fc283f1eccfe75c942b2bce7556070caeac71ca1c81bd1e
|
|
@@ -197,20 +197,7 @@ module ChefCLI
|
|
|
197
197
|
# .delivery/cli.toml starting from pwd:
|
|
198
198
|
# https://github.com/chef/delivery-cli/blob/22cbef3987ebd0aee98405b7e161a100edc87e49/src/delivery/config/mod.rs#L225-L247
|
|
199
199
|
|
|
200
|
-
Pathname.
|
|
201
|
-
return true if contains_delivery_cli_toml?(path)
|
|
202
|
-
end
|
|
203
|
-
|
|
204
|
-
false # nothing was found
|
|
205
|
-
end
|
|
206
|
-
|
|
207
|
-
#
|
|
208
|
-
# @param [Pathname] path a directory
|
|
209
|
-
#
|
|
210
|
-
# @return [Boolean] delivery cli.toml exists
|
|
211
|
-
#
|
|
212
|
-
def contains_delivery_cli_toml?(path)
|
|
213
|
-
path.join(".delivery/cli.toml").exist?
|
|
200
|
+
Pathname.pwd.ascend.any? { |path| path.join(".delivery/cli.toml").exist? }
|
|
214
201
|
end
|
|
215
202
|
|
|
216
203
|
def read_and_validate_params
|
data/lib/chef-cli/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chef-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.24
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chef Software, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-08-
|
|
11
|
+
date: 2020-08-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mixlib-cli
|