chef 15.7.31-universal-mingw32 → 15.7.32-universal-mingw32
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a01732ccd6ccd4ee0e24d13d7c4d498ef806753f0c1678dea6675a16157dc695
|
4
|
+
data.tar.gz: cd86a925bab8bd09c3baf8e5164fe449602aeeb733e1456f85b877de80f29580
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ac015160f9c4c567e42166fb441e3ace747cc8490a47b16d54b523f600525641f2e3bf24b6d85a4351a4dcc3ecccd17e70f1301312393067ea079e57af7ff2c
|
7
|
+
data.tar.gz: e1123f5fc5ba3f2b459cafe2f829aac2d7220896c04674324a8015837b615a722c87c0862ac52f8947d7c17376db741ea0e110fb4f6793f9526c8312a821487d
|
@@ -82,7 +82,7 @@ class Chef
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def load
|
85
|
-
Chef
|
85
|
+
Chef.deprecated(:internal_api, "Chef::Cookbook::CookbookVersionLoader's load method is deprecated. Please use load! instead.")
|
86
86
|
metadata # force lazy evaluation to occur
|
87
87
|
|
88
88
|
# re-raise any exception that occurred when reading the metadata
|
@@ -93,7 +93,7 @@ class Chef
|
|
93
93
|
remove_ignored_files
|
94
94
|
|
95
95
|
if empty?
|
96
|
-
|
96
|
+
Chef::Log.warn "Found a directory #{cookbook_name} in the cookbook path, but it contains no cookbook files. skipping."
|
97
97
|
end
|
98
98
|
|
99
99
|
cookbook_settings
|
data/lib/chef/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#
|
2
2
|
# Author:: Daniel DeLeo (<dan@chef.io>)
|
3
|
-
# Copyright:: Copyright 2014-
|
3
|
+
# Copyright:: Copyright 2014-2020, Chef Software Inc.
|
4
4
|
# License:: Apache License, Version 2.0
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -124,8 +124,9 @@ describe Chef::Cookbook::CookbookVersionLoader do
|
|
124
124
|
expect { cookbook_loader.load! }.to raise_error(Chef::Exceptions::CookbookNotFoundInRepo)
|
125
125
|
end
|
126
126
|
|
127
|
-
it "gives deprecation warning called with #load
|
128
|
-
|
127
|
+
it "gives deprecation warning called with #load" do
|
128
|
+
Chef::Config[:treat_deprecation_warnings_as_errors] = false
|
129
|
+
cookbook_loader.load
|
129
130
|
end
|
130
131
|
|
131
132
|
end
|
@@ -149,6 +150,7 @@ describe Chef::Cookbook::CookbookVersionLoader do
|
|
149
150
|
end
|
150
151
|
|
151
152
|
it "gives deprecation warning to us load! when called with #load and raises error" do
|
153
|
+
Chef::Config[:treat_deprecation_warnings_as_errors] = false
|
152
154
|
expect { cookbook_loader.load }.to raise_error("THIS METADATA HAS A BUG")
|
153
155
|
end
|
154
156
|
|
@@ -181,6 +183,7 @@ describe Chef::Cookbook::CookbookVersionLoader do
|
|
181
183
|
end
|
182
184
|
|
183
185
|
it "gives deprecation warning to use load! method when called with #load and raises error for invalid metadata" do
|
186
|
+
Chef::Config[:treat_deprecation_warnings_as_errors] = false
|
184
187
|
expect { cookbook_loader.load }.to raise_error(Chef::Exceptions::MetadataNotValid, error_message)
|
185
188
|
end
|
186
189
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.7.
|
4
|
+
version: 15.7.32
|
5
5
|
platform: universal-mingw32
|
6
6
|
authors:
|
7
7
|
- Adam Jacob
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chef-config
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 15.7.
|
19
|
+
version: 15.7.32
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 15.7.
|
26
|
+
version: 15.7.32
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: chef-utils
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 15.7.
|
33
|
+
version: 15.7.32
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 15.7.
|
40
|
+
version: 15.7.32
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: train-core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|