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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c339cf60e573bfcc494ea18c6b641186a8c755c935be0283a8406387540c0134
4
- data.tar.gz: b774a1dd9c5d085d2d0b307febb9f9882ab5da6ca1517f8b0e6c1dea207b6404
3
+ metadata.gz: 313ac394fc05556ea7a12748f3d00256a17556e57c97be2c8cc8b875233f2607
4
+ data.tar.gz: 20e16fbae37e2c6bf8615bdc2d161d96d5a6f74791294f59c39bc509072f99fa
5
5
  SHA512:
6
- metadata.gz: 4737f6de6472e79359cd79694edcf5b0a87973b1ddb3757aed33a59aac968687aa99b5fa94056142cb82c1fa76ba220d2d2e38116004d1328b25ef628dfdaf4f
7
- data.tar.gz: e616b2608aeb4891dc879c689b2b187885b79d62aa3ed6c9a7a8afb7b02610a4dd100b8eef243945baead2f4d460ce0b205d7d93314b44313e7661302e6ce79b
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.new(Dir.pwd).ascend do |path|
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
@@ -16,5 +16,5 @@
16
16
  #
17
17
 
18
18
  module ChefCLI
19
- VERSION = "3.0.23".freeze
19
+ VERSION = "3.0.24".freeze
20
20
  end
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.23
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-12 00:00:00.000000000 Z
11
+ date: 2020-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-cli