simp-rake-helpers 5.12.0 → 5.12.1

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: 1d979c12113e415884ec44b2880134bde9e20a3efc99495520e3518a994118f6
4
- data.tar.gz: f9da255f0c077f662f00757ca2428b9375b1b4bd2d39de1b484c1a047d87c1f4
3
+ metadata.gz: 7388326de128952bb5ef2936e36da77f08a7f1ce6eb2970bb4e56bd68ac79424
4
+ data.tar.gz: 32f0cb5e47e874d9135af87f915f76ce9c9983b96c50f74e9f035971f0953266
5
5
  SHA512:
6
- metadata.gz: 493c503f1ead3608b3718e113188ef08af8905d96fd7297f439adc4809c44e70f4ec6b1c3d08c1eb09458ef4ab1499db61ec3519f1d18ab297e1b8812c5620d1
7
- data.tar.gz: bf8bd8cbbf5c36ac268a23e346554a6f7132523f5f32a3f76162fdc8d77dd01898362d51dadd6012e2e07efb08e61737c1398c123e09092b422b94e631a0b43a
6
+ metadata.gz: 7e34d9f14623fd9068226a074a43104943369e264d7b5ea3c92d0da3f72faeac929f66d9f48c4245a179f3654152a01f2fd8bfe7e2f76c071fd2ab23e9c2d18d
7
+ data.tar.gz: 3875e7ae51536e1dbe917e01ee7dd62b8fa6fd8b6cbdf524d6078dc10fd40e3315a847729838943333a120bf10f2a12958863da082e108f979c68fa15779628a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ### 5.12.1 / 2021-05-27
2
+ - Default `@build_dir` to `@distro_build_dir` in build tasks
3
+ - Use `file --keep-going` in the **unpack** task's ISO validation check. This
4
+ allows the check to work from EL8-based systems, where `ISO 9660 CD-ROM
5
+ filesystem data` is not the first match.
6
+
1
7
  ### 5.12.0 / 2021-02-16
2
8
  - Ensure that pkg:install_gem uses the correct documentation options for the
3
9
  version of Ruby in use.
@@ -25,7 +25,7 @@ module Simp::Rake::Build
25
25
  namespace :build do
26
26
  task :prep do
27
27
  if $simp6
28
- @build_dir = $simp6_build_dir
28
+ @build_dir = $simp6_build_dir || @distro_build_dir
29
29
  end
30
30
  end
31
31
 
@@ -96,7 +96,7 @@ module Simp::Rake::Build
96
96
  task :prep do
97
97
  if $simp6
98
98
  # `$simp6_build_dir` is set by the build:auto task
99
- @build_dir = $simp6_build_dir
99
+ @build_dir = $simp6_build_dir || @distro_build_dir
100
100
 
101
101
  unless @build_dir
102
102
  if ENV['SIMP_BUILD_yum_dir'] && File.exist?(File.join(ENV['SIMP_BUILD_yum_dir'], 'yum_data'))
@@ -26,7 +26,7 @@ module Simp::Rake::Build
26
26
  namespace :iso do
27
27
  task :prep do
28
28
  if $simp6
29
- @build_dir = $simp6_build_dir
29
+ @build_dir = $simp6_build_dir || @distro_build_dir
30
30
  end
31
31
  end
32
32
 
@@ -43,7 +43,7 @@ module Simp::Rake::Build
43
43
 
44
44
  # This doesn't get caught for things like 'rake clean'
45
45
  if $simp6 && $simp6_build_dir
46
- @build_dir = $simp6_build_dir
46
+ @build_dir = $simp6_build_dir || @distro_build_dir
47
47
  @dvd_src = File.join(@build_dir, File.basename(@dvd_src))
48
48
  end
49
49
 
@@ -17,7 +17,7 @@ module Simp::Rake::Build
17
17
  namespace :spec do
18
18
  task :prep do
19
19
  if $simp6
20
- @build_dir = $simp6_build_dir
20
+ @build_dir = $simp6_build_dir || @distro_build_dir
21
21
  end
22
22
  end
23
23
 
@@ -20,7 +20,7 @@ module Simp::Rake::Build
20
20
  namespace :tar do
21
21
  task :prep do
22
22
  if $simp6
23
- @build_dir = $simp6_build_dir
23
+ @build_dir = $simp6_build_dir || @distro_build_dir
24
24
  @dvd_src = File.join(@build_dir, File.basename(@dvd_src))
25
25
  end
26
26
 
@@ -50,7 +50,7 @@ module Simp::Rake::Build
50
50
  File.exist?(args.iso_path) or
51
51
  fail "Error: You must provide the full path and filename of the ISO image."
52
52
 
53
- %x{file #{iso_path}}.split(":")[1..-1].to_s =~ /ISO/ or
53
+ %x{file --keep-going '#{iso_path}'}.split(":")[1..-1].to_s =~ /ISO/ or
54
54
  fail "Error: The file provided is not a valid ISO."
55
55
 
56
56
  pieces = File.basename(iso_path,'.iso').split('-')
@@ -21,7 +21,7 @@ module Simp::Rake::Build
21
21
  namespace :upload do
22
22
  task :prep do
23
23
  if $simp6
24
- @build_dir = $simp6_build_dir
24
+ @build_dir = $simp6_build_dir || @distro_build_dir
25
25
  end
26
26
  end
27
27
 
@@ -2,5 +2,5 @@ module Simp; end
2
2
  module Simp::Rake; end
3
3
 
4
4
  class Simp::Rake::Helpers
5
- VERSION = '5.12.0'
5
+ VERSION = '5.12.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simp-rake-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.12.0
4
+ version: 5.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Tessmer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-05-27 00:00:00.000000000 Z
12
+ date: 2021-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: simp-beaker-helpers