simp-rake-helpers 5.12.0 → 5.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/simp/rake/build/build.rb +2 -2
- data/lib/simp/rake/build/iso.rb +1 -1
- data/lib/simp/rake/build/pkg.rb +1 -1
- data/lib/simp/rake/build/spec.rb +1 -1
- data/lib/simp/rake/build/tar.rb +1 -1
- data/lib/simp/rake/build/unpack.rb +1 -1
- data/lib/simp/rake/build/upload.rb +1 -1
- data/lib/simp/rake/helpers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7388326de128952bb5ef2936e36da77f08a7f1ce6eb2970bb4e56bd68ac79424
|
4
|
+
data.tar.gz: 32f0cb5e47e874d9135af87f915f76ce9c9983b96c50f74e9f035971f0953266
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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'))
|
data/lib/simp/rake/build/iso.rb
CHANGED
data/lib/simp/rake/build/pkg.rb
CHANGED
@@ -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
|
|
data/lib/simp/rake/build/spec.rb
CHANGED
data/lib/simp/rake/build/tar.rb
CHANGED
@@ -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('-')
|
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.
|
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-
|
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
|