packaging 0.109.0 → 0.109.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 +4 -4
- data/lib/packaging/util/file.rb +8 -1
- data/tasks/ship.rake +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: 49f9364e0c2f42bf8fde82f5cfd09a0d670c1f3b9ba9da6ef6f7449bbfcc1059
|
|
4
|
+
data.tar.gz: 865fe30ff9909ea5453149a4278561e2f954eee37feb95563c2b05877373f454
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d518ebe161341f6e69a71ddef76476c3ed205c1b4b7ca377d2ef93f1c37a347b7487f1de902ee468fb4d11c42d6c577e5909f9653f204af87ebdb61b63bb546
|
|
7
|
+
data.tar.gz: 34da211e5ea10b81fa179c1c2b5f3fbc66fc5ab10fbfa38934ee82a6edc8db43960e0363f05b03c7aa258b433304491f7d396d0c8f4d96296e9ffc0de376ef5e
|
data/lib/packaging/util/file.rb
CHANGED
|
@@ -58,7 +58,14 @@ module Pkg::Util::File
|
|
|
58
58
|
|
|
59
59
|
def erb_string(erbfile, b = binding)
|
|
60
60
|
template = File.read(erbfile)
|
|
61
|
-
|
|
61
|
+
|
|
62
|
+
# We should be using this but some images are pegged at Ruby <= 2.5; this interface
|
|
63
|
+
# changed at Ruby 2.6
|
|
64
|
+
# message = ERB.new(template, safe_level: nil, trim_mode: '-')
|
|
65
|
+
|
|
66
|
+
# rubocop:disable Lint/ErbNewArguments
|
|
67
|
+
message = ERB.new(template, nil, '-')
|
|
68
|
+
# rubocop:enable Lint/ErbNewArguments
|
|
62
69
|
message.result(b)
|
|
63
70
|
end
|
|
64
71
|
|
data/tasks/ship.rake
CHANGED
|
@@ -683,7 +683,7 @@ namespace :pl do
|
|
|
683
683
|
existing_artifacts = artifactory.artifact_paths(artifact)
|
|
684
684
|
unless existing_artifacts.empty?
|
|
685
685
|
warn "Uploading '#{artifact}' to Artifactory refused. Artifact already exists here: ",
|
|
686
|
-
existing_artifacts.join(', ')
|
|
686
|
+
existing_artifacts.map(&:uri).join(', ')
|
|
687
687
|
next
|
|
688
688
|
end
|
|
689
689
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: packaging
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.109.
|
|
4
|
+
version: 0.109.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet By Perforce
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-03-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: debug
|