chef-zero 15.0.7 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7df32f5341390dac8dc23f9fa3606aa3517b26cf137c1cac25af1a5a71dc2c4
4
- data.tar.gz: 3a4ae10241501d09b07aaf13b4e00ce1ef9273e4856f6816bc0438e2de8514ae
3
+ metadata.gz: 0fb45baf627f5d0eeec63162db3345028471925cc72e742d39c88ff9f5d4a466
4
+ data.tar.gz: d70a96867a8c6d76608c42b2ac9cc1d542b1b26fd269d72cfde5c7361d295e09
5
5
  SHA512:
6
- metadata.gz: c2bf4f7ed0f09d64d6803d11d72574d00bccb58b9b40f9ac264058880fe4858fb043ba3ae477304a51ba0174f4a124cf86c00e1c484b09b9ae2342e2cc8061c8
7
- data.tar.gz: 9e50e92767f819e73f6b0c3410bf2489981919029ab40a3b63675d08b1b35d9d527ac100ece47406fa832f263b1b96438500f3a84a983b87b5b4a44b4ae6d9d7
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
- http://www.apache.org/licenses/LICENSE-2.0
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,
@@ -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
- # http://www.apache.org/licenses/LICENSE-2.0
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
- # http://www.apache.org/licenses/LICENSE-2.0
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
- # http://www.apache.org/licenses/LICENSE-2.0
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
- # http://www.apache.org/licenses/LICENSE-2.0
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
- # http://www.apache.org/licenses/LICENSE-2.0
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
- # http://www.apache.org/licenses/LICENSE-2.0
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
- # http://www.apache.org/licenses/LICENSE-2.0
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,
@@ -17,7 +17,7 @@ module ChefZero
17
17
  "limit_exceeded" => (node_count > MAX_NODE_COUNT) ? true : false,
18
18
  "node_license" => MAX_NODE_COUNT,
19
19
  "node_count" => node_count,
20
- "upgrade_url" => "http://blah.com",
20
+ "upgrade_url" => "https://blah.com",
21
21
  })
22
22
  end
23
23
  end
@@ -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 http://tools.ietf.org/html/rfc7231#section-5.3
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 }
@@ -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
- # http://www.apache.org/licenses/LICENSE-2.0
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
- # http://www.apache.org/licenses/LICENSE-2.0
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,
@@ -1,3 +1,3 @@
1
1
  module ChefZero
2
- VERSION = "15.0.7".freeze
2
+ VERSION = "15.0.9".freeze
3
3
  end
@@ -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
- # http://www.apache.org/licenses/LICENSE-2.0
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.7
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: 2021-06-22 00:00:00.000000000 Z
11
+ date: 2021-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-log