packaging 0.99.27 → 0.99.28

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: 72842503acd393e9129186a1235bdec5aea380c708a98561bc6e1e287da49a69
4
- data.tar.gz: 8aef453e782a037360af9a077601a5680d0032f8089122e421ba5f847fb56cf4
3
+ metadata.gz: f6f5b755d756b480d14f212a1d984687482ee67f10cd7e4e4c2714b586a1392b
4
+ data.tar.gz: 82cd5cb8e8db8c430a1b9784759cad218bd49a425d6f04eb4ad564085a52c43a
5
5
  SHA512:
6
- metadata.gz: df8a46368da7362f3b731f3acbf6a88370690b4c508cfdbbd0c56bb0f5ab710e0315963a1b5904d037d323800ed996214a154cfcd51b3da13548018999edce65
7
- data.tar.gz: ff1a17d1ddd74a9bd5aa4804afe6e1287e701c134d82c9dde07e44df61626c83c9ff0830900f8484a57755b4c55b953e51681957c553512d9c91b33ea642ce47
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 '#{@platform_tag}' is not present in this dataset.
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.empty? || package.nil? }
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 '#{@platform_tag}' is not present in this dataset.
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','puppet-agent-extras-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.27
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-10 00:00:00.000000000 Z
11
+ date: 2019-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec