From 5f25faf5c6961665aab6625e64bf09fb2a45d708 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 7 Sep 2021 14:07:07 -0700 Subject: Update http -> https links in tests / commments We have to update our test link to get chef-server to pass. I updated all the comments while I was there. Signed-off-by: Tim Smith --- .github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md | 2 +- LICENSE | 2 +- README.md | 6 +++--- lib/chef_zero/data_store/data_already_exists_error.rb | 2 +- lib/chef_zero/data_store/data_error.rb | 2 +- lib/chef_zero/data_store/data_not_found_error.rb | 2 +- lib/chef_zero/data_store/memory_store.rb | 2 +- lib/chef_zero/data_store/memory_store_v2.rb | 2 +- lib/chef_zero/data_store/raw_file_store.rb | 2 +- lib/chef_zero/data_store/v2_to_v1_adapter.rb | 2 +- lib/chef_zero/endpoints/license_endpoint.rb | 2 +- lib/chef_zero/rest_base.rb | 2 +- lib/chef_zero/server.rb | 2 +- lib/chef_zero/socketless_server_map.rb | 2 +- spec/support/oc_pedant.rb | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md b/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md index 921a5f0..196da2e 100644 --- a/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md +++ b/.github/ISSUE_TEMPLATE/SUPPORT_QUESTION.md @@ -5,7 +5,7 @@ about: If you have a question 💬, please check out our Slack! We use GitHub issues to track bugs and feature requests. If you need help please post to our Mailing List or join the Chef Community Slack. - * Chef Community Slack at http://community-slack.chef.io/. + * Chef Community Slack at https://community-slack.chef.io/. * Chef Mailing List https://discourse.chef.io/ Support issues opened here will be closed and redirected to Slack or Discourse. diff --git a/LICENSE b/LICENSE index 11069ed..00b4efd 100644 --- a/LICENSE +++ b/LICENSE @@ -192,7 +192,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/README.md b/README.md index 86d2ce8..f63463d 100644 --- a/README.md +++ b/README.md @@ -152,14 +152,14 @@ For information on contributing to this project see (node_count > MAX_NODE_COUNT) ? true : false, "node_license" => MAX_NODE_COUNT, "node_count" => node_count, - "upgrade_url" => "http://blah.com", + "upgrade_url" => "https://blah.com", }) end end diff --git a/lib/chef_zero/rest_base.rb b/lib/chef_zero/rest_base.rb index be50de2..d735c1e 100644 --- a/lib/chef_zero/rest_base.rb +++ b/lib/chef_zero/rest_base.rb @@ -68,7 +68,7 @@ module ChefZero def accepts?(request, category, type) # If HTTP_ACCEPT is not sent at all, assume it accepts anything - # This parses as per http://tools.ietf.org/html/rfc7231#section-5.3 + # This parses as per https://datatracker.ietf.org/doc/html/rfc7231#section-5.3 return true unless request.env["HTTP_ACCEPT"] accepts = request.env["HTTP_ACCEPT"].split(/,\s*/).map { |x| x.split(";", 2)[0].strip } diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb index aac9c5e..f15fb12 100644 --- a/lib/chef_zero/server.rb +++ b/lib/chef_zero/server.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/lib/chef_zero/socketless_server_map.rb b/lib/chef_zero/socketless_server_map.rb index 53ca476..a52c2f5 100644 --- a/lib/chef_zero/socketless_server_map.rb +++ b/lib/chef_zero/socketless_server_map.rb @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/spec/support/oc_pedant.rb b/spec/support/oc_pedant.rb index 82f5cfc..803d43e 100644 --- a/spec/support/oc_pedant.rb +++ b/spec/support/oc_pedant.rb @@ -5,7 +5,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, -- cgit v1.2.1