chef-zero 15.0.2 → 15.0.9
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/Gemfile +1 -1
- data/LICENSE +1 -1
- data/chef-zero.gemspec +2 -1
- data/lib/chef_zero/chef_data/data_normalizer.rb +1 -0
- data/lib/chef_zero/data_store/data_already_exists_error.rb +1 -1
- data/lib/chef_zero/data_store/data_error.rb +1 -1
- data/lib/chef_zero/data_store/data_not_found_error.rb +1 -1
- data/lib/chef_zero/data_store/memory_store.rb +1 -1
- data/lib/chef_zero/data_store/memory_store_v2.rb +1 -1
- data/lib/chef_zero/data_store/raw_file_store.rb +1 -1
- data/lib/chef_zero/data_store/v2_to_v1_adapter.rb +1 -1
- data/lib/chef_zero/endpoints/license_endpoint.rb +1 -1
- data/lib/chef_zero/rest_base.rb +1 -1
- data/lib/chef_zero/server.rb +1 -1
- data/lib/chef_zero/socketless_server_map.rb +1 -1
- data/lib/chef_zero/version.rb +1 -1
- data/spec/run_oc_pedant.rb +4 -0
- data/spec/support/oc_pedant.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0fb45baf627f5d0eeec63162db3345028471925cc72e742d39c88ff9f5d4a466
|
|
4
|
+
data.tar.gz: d70a96867a8c6d76608c42b2ac9cc1d542b1b26fd269d72cfde5c7361d295e09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ac0c317279131671cdb92124dd15946218f71a56e893b180f37e683bbbe4be02ab5f72bdc9ebd636ba9dab085e1e339e0db8bab81b2cd2aa0c6e9dbd695e494
|
|
7
|
+
data.tar.gz: e0ffdb1666f06a7db9b3f554e7892bb54e1937c92a0c983ac986c775f7ef6e88505815d0648e14b7593ec41ce8198db37106f39b96b8be78c7ce8b76fb5b8d33
|
data/Gemfile
CHANGED
|
@@ -5,7 +5,7 @@ gemspec
|
|
|
5
5
|
# gem 'rest-client', :git => 'https://github.com/chef/rest-client.git'
|
|
6
6
|
|
|
7
7
|
group :pedant do
|
|
8
|
-
gem "oc-chef-pedant", git: "https://github.com/chef/chef-server.git"
|
|
8
|
+
gem "oc-chef-pedant", git: "https://github.com/chef/chef-server.git", branch: "main"
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
group :development, :test do
|
data/LICENSE
CHANGED
|
@@ -192,7 +192,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
192
192
|
you may not use this file except in compliance with the License.
|
|
193
193
|
You may obtain a copy of the License at
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
196
196
|
|
|
197
197
|
Unless required by applicable law or agreed to in writing, software
|
|
198
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
data/chef-zero.gemspec
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
$:.unshift(
|
|
1
|
+
$:.unshift(__dir__ + "/lib")
|
|
2
2
|
require "chef_zero/version"
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
|
|
|
18
18
|
s.add_dependency "uuidtools", "~> 2.1"
|
|
19
19
|
s.add_dependency "ffi-yajl", "~> 2.2"
|
|
20
20
|
s.add_dependency "rack", "~> 2.0", ">= 2.0.6"
|
|
21
|
+
s.add_dependency "webrick"
|
|
21
22
|
|
|
22
23
|
s.bindir = "bin"
|
|
23
24
|
s.executables = ["chef-zero"]
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
data/lib/chef_zero/rest_base.rb
CHANGED
|
@@ -68,7 +68,7 @@ module ChefZero
|
|
|
68
68
|
|
|
69
69
|
def accepts?(request, category, type)
|
|
70
70
|
# If HTTP_ACCEPT is not sent at all, assume it accepts anything
|
|
71
|
-
# This parses as per
|
|
71
|
+
# This parses as per https://datatracker.ietf.org/doc/html/rfc7231#section-5.3
|
|
72
72
|
return true unless request.env["HTTP_ACCEPT"]
|
|
73
73
|
|
|
74
74
|
accepts = request.env["HTTP_ACCEPT"].split(/,\s*/).map { |x| x.split(";", 2)[0].strip }
|
data/lib/chef_zero/server.rb
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
|
8
8
|
# You may obtain a copy of the License at
|
|
9
9
|
#
|
|
10
|
-
#
|
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
11
11
|
#
|
|
12
12
|
# Unless required by applicable law or agreed to in writing, software
|
|
13
13
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
data/lib/chef_zero/version.rb
CHANGED
data/spec/run_oc_pedant.rb
CHANGED
|
@@ -188,6 +188,10 @@ begin
|
|
|
188
188
|
# tests from chef-server as the user acls are not supported in chef-zero
|
|
189
189
|
# at this time.
|
|
190
190
|
"--skip-chef-zero-quirks",
|
|
191
|
+
|
|
192
|
+
"--skip-status",
|
|
193
|
+
"--skip=email_case_insensitive",
|
|
194
|
+
"--skip=nginx_default_error"
|
|
191
195
|
]
|
|
192
196
|
|
|
193
197
|
# The knife tests are very slow and don't give us a lot of extra coverage,
|
data/spec/support/oc_pedant.rb
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# you may not use this file except in compliance with the License.
|
|
6
6
|
# You may obtain a copy of the License at
|
|
7
7
|
#
|
|
8
|
-
#
|
|
8
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
9
9
|
#
|
|
10
10
|
# Unless required by applicable law or agreed to in writing, software
|
|
11
11
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chef-zero
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 15.0.
|
|
4
|
+
version: 15.0.9
|
|
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:
|
|
11
|
+
date: 2021-09-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mixlib-log
|
|
@@ -98,6 +98,20 @@ dependencies:
|
|
|
98
98
|
- - ">="
|
|
99
99
|
- !ruby/object:Gem::Version
|
|
100
100
|
version: 2.0.6
|
|
101
|
+
- !ruby/object:Gem::Dependency
|
|
102
|
+
name: webrick
|
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
|
104
|
+
requirements:
|
|
105
|
+
- - ">="
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: '0'
|
|
108
|
+
type: :runtime
|
|
109
|
+
prerelease: false
|
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
111
|
+
requirements:
|
|
112
|
+
- - ">="
|
|
113
|
+
- !ruby/object:Gem::Version
|
|
114
|
+
version: '0'
|
|
101
115
|
description: Self-contained, easy-setup, fast-start in-memory Chef server for testing
|
|
102
116
|
and solo setup purposes
|
|
103
117
|
email: oss@chef.io
|
|
@@ -245,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
245
259
|
- !ruby/object:Gem::Version
|
|
246
260
|
version: '0'
|
|
247
261
|
requirements: []
|
|
248
|
-
rubygems_version: 3.
|
|
262
|
+
rubygems_version: 3.1.4
|
|
249
263
|
signing_key:
|
|
250
264
|
specification_version: 4
|
|
251
265
|
summary: Self-contained, easy-setup, fast-start in-memory Chef server for testing
|