packaging 0.99.27 → 0.99.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/packaging/artifactory.rb +3 -3
- data/spec/lib/packaging/artifactory_spec.rb +1 -2
- 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: f6f5b755d756b480d14f212a1d984687482ee67f10cd7e4e4c2714b586a1392b
|
4
|
+
data.tar.gz: 82cd5cb8e8db8c430a1b9784759cad218bd49a425d6f04eb4ad564085a52c43a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3701863f1127c41ded7f2a9542867288f6562d224335bf9ad713a931f350f541595e3fb22e96a0ce78c61bd18c5619d0b70531fd13eb4796b49a635378872ffb
|
7
|
+
data.tar.gz: 9bc45ceff5bd337bee49c138347499d72599672f7076edc0c8aa993544fa0ece4dba7c7d9655e34dc2e73e8448e6b756831b69d81675811dd9f7b3014d508ded
|
@@ -228,7 +228,7 @@ module Pkg
|
|
228
228
|
rescue
|
229
229
|
fail_message = <<-DOC
|
230
230
|
Package name could not be found from loaded yaml data. Either this package
|
231
|
-
does not exist, or '#{
|
231
|
+
does not exist, or '#{platform_tag}' is not present in this dataset.
|
232
232
|
|
233
233
|
The following are available platform tags for '#{@project}' '#{@project_version}':
|
234
234
|
#{platform_data.keys.sort}
|
@@ -245,12 +245,12 @@ module Pkg
|
|
245
245
|
packages = [platform_data[platform_tag][:artifact]]
|
246
246
|
packages << platform_data[platform_tag][:additional_artifacts]
|
247
247
|
packages.flatten!
|
248
|
-
packages.reject! { |package| package.
|
248
|
+
packages.reject! { |package| package.nil? || package.empty? }
|
249
249
|
packages.map { |package| File.basename(package) }
|
250
250
|
rescue
|
251
251
|
fail_message = <<-DOC
|
252
252
|
Package name could not be found from loaded yaml data. Either this package
|
253
|
-
does not exist, or '#{
|
253
|
+
does not exist, or '#{platform_tag}' is not present in this dataset.
|
254
254
|
|
255
255
|
The following are available platform tags for '#{@project}' '#{@project_version}':
|
256
256
|
#{platform_data.keys.sort}
|
@@ -39,7 +39,6 @@ describe 'artifactory.rb' do
|
|
39
39
|
'solaris-10-sparc' => {
|
40
40
|
:artifact => "./solaris/10/PC1/puppet-agent-5.3.1.34.gf65f9ef-1.sparc.pkg.gz",
|
41
41
|
:repo_config => '',
|
42
|
-
:additional_artifacts => ["./solaris/10/PC1/puppet-agent-extras-5.3.1.34.gf65f9ef-1.sparc.pkg.gz"],
|
43
42
|
},
|
44
43
|
}
|
45
44
|
}
|
@@ -82,7 +81,7 @@ describe 'artifactory.rb' do
|
|
82
81
|
:toplevel_repo => 'generic',
|
83
82
|
:repo_subdirectories => "#{default_repo_name}/#{project}/#{project_version}/solaris-10-sparc",
|
84
83
|
:package_name => 'path/to/a/solaris/10/package/puppet-agent-5.3.1.34.gf65f9ef-1.sparc.pkg.gz',
|
85
|
-
:all_package_names => ['puppet-agent-5.3.1.34.gf65f9ef-1.sparc.pkg.gz'
|
84
|
+
:all_package_names => ['puppet-agent-5.3.1.34.gf65f9ef-1.sparc.pkg.gz']
|
86
85
|
},
|
87
86
|
}
|
88
87
|
|
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.99.
|
4
|
+
version: 0.99.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|