packaging 0.99.19 → 0.99.20
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/platforms.rb +13 -0
- data/spec/lib/packaging/platforms_spec.rb +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 804655457090e137a8f4566d13c77e4d4e792666939db68d790eb88d7ed63a9a
|
|
4
|
+
data.tar.gz: 0140bb84f7b2913dd0b20a8c73bf4f0ad62b6f6c133cb75d3cda1fd5dbbb52be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd0c5cb26659c58f2ed3bad60ab46a2d1f4445cc59059994a3b41de175625ba5a97b11bd5e7fd09bb4a30bdf71667ed8570eb00d6fb03754444604f9098055da
|
|
7
|
+
data.tar.gz: da1e8c55b4efeb18bb9cef07fe0a540eecbfa34921ae56da0c04cb45c2868b8a84dd23b29437f424e7f9a8b2ca5cf557c770b4bbb64e9308ad7d44a914788207
|
data/lib/packaging/platforms.rb
CHANGED
|
@@ -118,6 +118,14 @@ module Pkg
|
|
|
118
118
|
signature_format: 'v4',
|
|
119
119
|
repo: true,
|
|
120
120
|
},
|
|
121
|
+
'8' => {
|
|
122
|
+
architectures: ['x86_64'],
|
|
123
|
+
source_architecture: 'SRPMS',
|
|
124
|
+
package_format: 'rpm',
|
|
125
|
+
source_package_formats: ['src.rpm'],
|
|
126
|
+
signature_format: 'v4',
|
|
127
|
+
repo: true,
|
|
128
|
+
}
|
|
121
129
|
},
|
|
122
130
|
|
|
123
131
|
'eos' => {
|
|
@@ -224,6 +232,11 @@ module Pkg
|
|
|
224
232
|
package_format: 'dmg',
|
|
225
233
|
repo: false,
|
|
226
234
|
},
|
|
235
|
+
'10.14' => {
|
|
236
|
+
architectures: ['x86_64'],
|
|
237
|
+
package_format: 'dmg',
|
|
238
|
+
repo: false,
|
|
239
|
+
},
|
|
227
240
|
},
|
|
228
241
|
|
|
229
242
|
'redhatfips' => {
|
|
@@ -26,7 +26,7 @@ describe 'Pkg::Platforms' do
|
|
|
26
26
|
|
|
27
27
|
describe '#versions_for_platform' do
|
|
28
28
|
it 'should return all supported versions for a given platform' do
|
|
29
|
-
expect(Pkg::Platforms.versions_for_platform('el')).to match_array(['5', '6', '7'])
|
|
29
|
+
expect(Pkg::Platforms.versions_for_platform('el')).to match_array(['5', '6', '7', '8'])
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
it 'should raise an error if given a nonexistent platform' do
|
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.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet Labs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-12-
|
|
11
|
+
date: 2018-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -228,27 +228,27 @@ signing_key:
|
|
|
228
228
|
specification_version: 4
|
|
229
229
|
summary: Puppet Labs' packaging automation
|
|
230
230
|
test_files:
|
|
231
|
-
- spec/lib/packaging/artifactory_spec.rb
|
|
232
|
-
- spec/lib/packaging/config_spec.rb
|
|
233
|
-
- spec/lib/packaging/deb/repo_spec.rb
|
|
234
|
-
- spec/lib/packaging/deb_spec.rb
|
|
235
231
|
- spec/lib/packaging/paths_spec.rb
|
|
236
|
-
- spec/lib/packaging/platforms_spec.rb
|
|
237
|
-
- spec/lib/packaging/repo_spec.rb
|
|
238
|
-
- spec/lib/packaging/retrieve_spec.rb
|
|
239
|
-
- spec/lib/packaging/rpm/repo_spec.rb
|
|
240
232
|
- spec/lib/packaging/sign_spec.rb
|
|
241
|
-
- spec/lib/packaging/
|
|
233
|
+
- spec/lib/packaging/config_spec.rb
|
|
242
234
|
- spec/lib/packaging/util/execution_spec.rb
|
|
243
|
-
- spec/lib/packaging/util/
|
|
235
|
+
- spec/lib/packaging/util/os_spec.rb
|
|
236
|
+
- spec/lib/packaging/util/version_spec.rb
|
|
244
237
|
- spec/lib/packaging/util/git_spec.rb
|
|
245
|
-
- spec/lib/packaging/util/git_tag_spec.rb
|
|
246
|
-
- spec/lib/packaging/util/gpg_spec.rb
|
|
247
238
|
- spec/lib/packaging/util/jenkins_spec.rb
|
|
248
|
-
- spec/lib/packaging/util/misc_spec.rb
|
|
249
|
-
- spec/lib/packaging/util/net_spec.rb
|
|
250
|
-
- spec/lib/packaging/util/os_spec.rb
|
|
251
239
|
- spec/lib/packaging/util/rake_utils_spec.rb
|
|
240
|
+
- spec/lib/packaging/util/gpg_spec.rb
|
|
241
|
+
- spec/lib/packaging/util/git_tag_spec.rb
|
|
242
|
+
- spec/lib/packaging/util/file_spec.rb
|
|
243
|
+
- spec/lib/packaging/util/net_spec.rb
|
|
244
|
+
- spec/lib/packaging/util/misc_spec.rb
|
|
252
245
|
- spec/lib/packaging/util/ship_spec.rb
|
|
253
|
-
- spec/lib/packaging/
|
|
246
|
+
- spec/lib/packaging/repo_spec.rb
|
|
247
|
+
- spec/lib/packaging/tar_spec.rb
|
|
248
|
+
- spec/lib/packaging/retrieve_spec.rb
|
|
249
|
+
- spec/lib/packaging/platforms_spec.rb
|
|
250
|
+
- spec/lib/packaging/deb_spec.rb
|
|
251
|
+
- spec/lib/packaging/deb/repo_spec.rb
|
|
252
|
+
- spec/lib/packaging/rpm/repo_spec.rb
|
|
253
|
+
- spec/lib/packaging/artifactory_spec.rb
|
|
254
254
|
- spec/lib/packaging_spec.rb
|