foreman_bootdisk 21.0.2 → 21.0.3

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: 1af794db64199b1cb16cc9ddc7c9effc086930bba2ce77ccb890a3db932f3450
4
- data.tar.gz: 71645b371a4f7ada01b3630e977e5ffa109d2111845963569b46e88f8cab5923
3
+ metadata.gz: 73dd028ac8d884cad6c8be76723b7e30842818693cf818181b6ad57e808943c3
4
+ data.tar.gz: 12c262a0c3df13b954ebd4e617b9cf82c8aead268f2cb938ae5dd4dbdd6a2f49
5
5
  SHA512:
6
- metadata.gz: 274f768d29de9360586a51f07ae5f8c142457c0548a71438a7b136dc5dcb165eaa65def7fdb479fac5fead9bca0240deec1ca3f5ae55095198e06204eb6f9b0f
7
- data.tar.gz: 29304e2d2a0048e22b6bc7027dd8135f27d9a65b25f26df293da4484cecb7917176771c732656897f192cf6da7cb5d0560f25e5161cfb7383bc410b82fa6fdab
6
+ metadata.gz: bdbb8b993a60425f9541c89c922c374a2d59927c5db934835ded53b6bfe3d770ebbf6ef61c701ffe28e3dac06bbffc91f6d80483d77b94ef1b8d4da9ee05741b
7
+ data.tar.gz: 13f3eabdc0f14d5bd0aef34843546375765cfac9141b1d69d2c4f95b53bdcde0e972a3aed9b1268f5ac00485b2c04eab119ec7fda245f31d4f1484922eed6ba9
@@ -217,7 +217,7 @@ module ForemanBootdisk
217
217
  else
218
218
  http_object = Net::HTTP
219
219
  end
220
- http_object.start(uri.host, uri.port) do |http|
220
+ http_object.start(uri.host, uri.port, use_ssl: uri.scheme == 'https') do |http|
221
221
  request = Net::HTTP::Get.new(uri.request_uri, 'Accept-Encoding' => 'plain')
222
222
 
223
223
  http.request(request) do |response|
@@ -130,7 +130,7 @@ module ForemanBootdisk
130
130
  description: N_("Installation media files will be cached for full host images")
131
131
 
132
132
  setting "bootdisk_allowed_types",
133
- type: :string,
133
+ type: :array,
134
134
  default: Setting::Bootdisk.bootdisk_types,
135
135
  full_name: N_("Allowed bootdisk types"),
136
136
  description: N_("List of allowed bootdisk types, remove type to disable it")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanBootdisk
4
- VERSION = '21.0.2'
4
+ VERSION = '21.0.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_bootdisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.0.2
4
+ version: 21.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-03 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: theforeman-rubocop
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  requirements: []
160
- rubygems_version: 3.1.6
160
+ rubygems_version: 3.3.26
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Create boot disks to provision hosts with Foreman