vanagon 0.35.0 → 0.35.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/vanagon/platform/deb.rb +5 -5
  3. metadata +32 -32
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f8772f1446c288009a4909d14a0443687fa83ed0013062b5110bf87dd07bdf4
4
- data.tar.gz: 63412e68e08b5a2d4eb4f39bc04ac2840373127ab2869a9aa7a9842298abe2b8
3
+ metadata.gz: c0e47adaef0a7b1631ea3cfa95cc9bce3c32fd2fe7b8a2dc199e242efeb8c8c8
4
+ data.tar.gz: 525c694918d53d4c01bfc49bdc313f5cd4097c7b69d4285597508d2457ee489f
5
5
  SHA512:
6
- metadata.gz: 8777b1881b31ea9c3f34a97730a5cd5f4fd136de88364ccc8efabdbf55507b11b0302859d56dec8ef9b3a9bf0dad115cf271a81e895bade588b1394bf941246f
7
- data.tar.gz: bf3bc5fdeb639925bcfe284aa5e088bff53fe2ec581a60ba01cb971690256b31ff627d78aa5153f39bef4324ca93a8457d514479e1cf6adbc1a719ff89106a85
6
+ metadata.gz: 03ce3c524acaddc76e4a98eb8e5cb353a76e99a0daa67ebd640a94a19027ae4c711d149592e90df413029fd9d3b704cc04dce9208580ce1066c893935adecf38
7
+ data.tar.gz: cfe7808f4138b2de2e4f5c197e9d63c131604079c315a65e85674be18725d0dbc32be0115a49faddf450b8e872c672ec77e5d2737a9d41dd22c983da7adf975e
@@ -7,11 +7,11 @@ class Vanagon
7
7
  # @return [Array] list of commands required to build a debian package for the given project from a tarball
8
8
  def generate_package(project) # rubocop:disable Metrics/AbcSize
9
9
  target_dir = project.repo ? output_dir(project.repo) : output_dir
10
- if project.source_artifacts
11
- copy_extensions = '*.{deb,build,tar.gz,changes,dsc}'
12
- else
13
- copy_extensions = '*.deb'
14
- end
10
+ copy_extensions = if project.source_artifacts
11
+ '*.{deb,buildinfo,tar.gz,changes,dsc}'
12
+ else
13
+ '*.deb'
14
+ end
15
15
  pkg_arch_opt = project.noarch ? "" : "-a#{@architecture}"
16
16
  pkg_arch_opt = '-aarm64' if pkg_arch_opt == '-aaarch64'
17
17
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.35.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-14 00:00:00.000000000 Z
11
+ date: 2023-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt
@@ -330,42 +330,42 @@ signing_key:
330
330
  specification_version: 3
331
331
  summary: All of your packages will fit into this van with this one simple trick.
332
332
  test_files:
333
- - spec/lib/vanagon/project_spec.rb
334
- - spec/lib/vanagon/utilities_spec.rb
335
- - spec/lib/vanagon/common/pathname_spec.rb
336
- - spec/lib/vanagon/common/user_spec.rb
333
+ - spec/lib/git/rev_list_spec.rb
334
+ - spec/lib/makefile_spec.rb
337
335
  - spec/lib/vanagon/platform_spec.rb
336
+ - spec/lib/vanagon/extensions/ostruct/json_spec.rb
338
337
  - spec/lib/vanagon/extensions/string_spec.rb
339
338
  - spec/lib/vanagon/extensions/set/json_spec.rb
340
- - spec/lib/vanagon/extensions/ostruct/json_spec.rb
341
- - spec/lib/vanagon/engine/ec2_spec.rb
342
- - spec/lib/vanagon/engine/docker_spec.rb
343
- - spec/lib/vanagon/engine/hardware_spec.rb
344
- - spec/lib/vanagon/engine/pooler_spec.rb
345
- - spec/lib/vanagon/engine/local_spec.rb
346
- - spec/lib/vanagon/engine/always_be_scheduling_spec.rb
347
- - spec/lib/vanagon/engine/base_spec.rb
348
- - spec/lib/vanagon/component/source_spec.rb
349
- - spec/lib/vanagon/component/source/git_spec.rb
350
- - spec/lib/vanagon/component/source/http_spec.rb
351
- - spec/lib/vanagon/component/source/local_spec.rb
352
- - spec/lib/vanagon/component/source/rewrite_spec.rb
353
- - spec/lib/vanagon/component/rules_spec.rb
354
- - spec/lib/vanagon/component/dsl_spec.rb
339
+ - spec/lib/vanagon/utilities/shell_utilities_spec.rb
340
+ - spec/lib/vanagon/utilities/extra_files_signer_spec.rb
341
+ - spec/lib/vanagon/project/dsl_spec.rb
342
+ - spec/lib/vanagon/platform/rpm/aix_spec.rb
355
343
  - spec/lib/vanagon/platform/rpm_spec.rb
344
+ - spec/lib/vanagon/platform/solaris_10_spec.rb
345
+ - spec/lib/vanagon/platform/dsl_spec.rb
356
346
  - spec/lib/vanagon/platform/osx_spec.rb
357
- - spec/lib/vanagon/platform/windows_spec.rb
358
- - spec/lib/vanagon/platform/rpm/aix_spec.rb
359
347
  - spec/lib/vanagon/platform/deb_spec.rb
360
- - spec/lib/vanagon/platform/solaris_10_spec.rb
361
348
  - spec/lib/vanagon/platform/solaris_11_spec.rb
362
- - spec/lib/vanagon/platform/dsl_spec.rb
363
- - spec/lib/vanagon/component_spec.rb
364
- - spec/lib/vanagon/environment_spec.rb
349
+ - spec/lib/vanagon/platform/windows_spec.rb
365
350
  - spec/lib/vanagon/driver_spec.rb
366
- - spec/lib/vanagon/utilities/extra_files_signer_spec.rb
367
- - spec/lib/vanagon/utilities/shell_utilities_spec.rb
351
+ - spec/lib/vanagon/common/user_spec.rb
352
+ - spec/lib/vanagon/common/pathname_spec.rb
353
+ - spec/lib/vanagon/utilities_spec.rb
368
354
  - spec/lib/vanagon/cli_spec.rb
369
- - spec/lib/vanagon/project/dsl_spec.rb
370
- - spec/lib/git/rev_list_spec.rb
371
- - spec/lib/makefile_spec.rb
355
+ - spec/lib/vanagon/environment_spec.rb
356
+ - spec/lib/vanagon/component_spec.rb
357
+ - spec/lib/vanagon/component/dsl_spec.rb
358
+ - spec/lib/vanagon/component/rules_spec.rb
359
+ - spec/lib/vanagon/component/source/http_spec.rb
360
+ - spec/lib/vanagon/component/source/local_spec.rb
361
+ - spec/lib/vanagon/component/source/rewrite_spec.rb
362
+ - spec/lib/vanagon/component/source/git_spec.rb
363
+ - spec/lib/vanagon/component/source_spec.rb
364
+ - spec/lib/vanagon/engine/pooler_spec.rb
365
+ - spec/lib/vanagon/engine/local_spec.rb
366
+ - spec/lib/vanagon/engine/always_be_scheduling_spec.rb
367
+ - spec/lib/vanagon/engine/docker_spec.rb
368
+ - spec/lib/vanagon/engine/ec2_spec.rb
369
+ - spec/lib/vanagon/engine/hardware_spec.rb
370
+ - spec/lib/vanagon/engine/base_spec.rb
371
+ - spec/lib/vanagon/project_spec.rb