chef 15.7.31 → 15.7.32
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: 4b3ebb04ffde602265dce9ac87318e3b8e2f7a68a0f6e23a66622c8f929a0e16
|
4
|
+
data.tar.gz: 7bb9217015f5ba3d3ff4dc351e30f840fba861c237e6d113c1eb23c425cab46c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f01aae84235878b6145b2acf34c187696549150594d879abddc32cea95e5e0cfa144f500c55dfd50126206d9bcd7a35b5359fb9ef68ce4bd0b69033acc56e9e1
|
7
|
+
data.tar.gz: d95315b5cc3361acf54d7cd274f6ec27392667244c58b205b5e768433a95f26f354b44dd7683edef131be2d818b17921f0caf66dc2ee76714556e1ae0fd89b68
|
@@ -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: ruby
|
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
|