foreman_bootdisk 12.0.0 → 12.0.1

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: 208b518a4b2d0978e4ef072aab241305e16b327e4709f6bad1cfee39ffc7b85a
4
- data.tar.gz: 758b6cba3dbeef8c95862aac8b4ded56c25e4d52224e15d962c538502baaec96
3
+ metadata.gz: abab6031b8511f7af62b971e9c5c71f6232939598072f768293bccd601006426
4
+ data.tar.gz: b00a72a8e9671356e7bb6fa2f0de33024d58c8e6eb96aa72da75149e99c2e496
5
5
  SHA512:
6
- metadata.gz: 98b20bf6e7304aeae69d1bc5244681fea14b2d60e8d4ab32e0f6990c5f47c9985d96d1d1491188336a84ba42d25629ce3cfe74f0cbe6e6b4a0c5525fdd8e5e21
7
- data.tar.gz: eb3b37f7b7846aeb5d4179fe5f0bb74183aa48376494c6dcf9aad05d8f8dd7767b38d5ebda1cbf7d9c2479fe8b5e4957a9df74b9d440ff46c8da4e482af535e0
6
+ metadata.gz: 5a8be6424824875972b6416ed1b68415ced0c1979db35b693a05e91660078114ff0489c7ba113d4be11b1ae3c15c779012ed71d770242248e9d87859c67adb75
7
+ data.tar.gz: 0fd0503eb874bd3c3a73b9e2515a5a15d28076a1a714a484865b447302601af299615b14f8f7d430b89eb373d1f684dfdc93279ce0fd7f06409e8d5afee47437
@@ -26,10 +26,6 @@ module ForemanBootdisk::HostExt
26
26
  /i.86|x86[_-]64/ =~ architecture.name
27
27
  end
28
28
 
29
- def validate_media?
30
- super || (managed && bootdisk_build? && build?)
31
- end
32
-
33
29
  def can_be_built?
34
30
  super || (managed? and SETTINGS[:unattended] and bootdisk_build? and !build?)
35
31
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanBootdisk
2
- VERSION = '12.0.0'
2
+ VERSION = '12.0.1'
3
3
  end
@@ -9,14 +9,6 @@ class ForemanBootdisk::HostTest < ActiveSupport::TestCase
9
9
  refute host.pxe_build?
10
10
  end
11
11
 
12
- test "#validate_media? must be true when provision_method is bootdisk" do
13
- host = FactoryBot.build(:host, :managed,
14
- :provision_method => "bootdisk",
15
- :build => true,
16
- )
17
- assert host.validate_media?
18
- end
19
-
20
12
  test "#can_be_built? must be true when provision_method is bootdisk" do
21
13
  host = FactoryBot.build(:host, :managed,
22
14
  :provision_method => "bootdisk"
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: 12.0.0
4
+ version: 12.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-29 00:00:00.000000000 Z
11
+ date: 2019-05-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Plugin for Foreman that creates iPXE-based boot disks to provision hosts
14
14
  without the need for PXE infrastructure.