vanagon 0.15.7 → 0.15.8

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/project.rb +7 -4
  3. metadata +31 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4336ec3a1ac6ab79828d52af974690dbeedcfe99
4
- data.tar.gz: 73c7603edc4fd846c4342bf663d8bf72d5325c72
3
+ metadata.gz: b888b83c086532fafab1b26a95612b9aec0c1449
4
+ data.tar.gz: 0f83ce37ec9de2f7a2d300a39c4c13be2fa31e5e
5
5
  SHA512:
6
- metadata.gz: 4822d6e213a8b76ebf7ff5815b9dfa9c2d3ad33f67da339709a9dd2b1e81926c847c915980f319c20640fc71aeeba9b43605618f8b62b77f98851f464e739f07
7
- data.tar.gz: ae5344f15540d70bda07160ab8988c37f7fd27525bfea99b9c8a8ca14a4c6e72ed6a86ed7f94156883780a6b4113d227b59c40df9b79047f28e6621c5a622d02
6
+ metadata.gz: cb032a8851cf6ca13d90d6b68093d91fc0bd0b9bb3750f426a77d34471697cee71f98cffa8783da7bf91180e814f4ac0fbb4b821585e02c4802353a3d5b6e09e
7
+ data.tar.gz: 50c1814cc34f4be7182b4cce7b41c8852041de4b8a9fa7c8c9775195287e70db9ae9d3557a4605f82d38bebcbba6e4b2cc791264004b6c9034bf979a9907ea30
@@ -524,14 +524,17 @@ class Vanagon
524
524
  # for the project
525
525
  #
526
526
  # @return [Array] all the files and directories that should be included in the tarball
527
- def get_tarball_files
528
- files = ['bill-of-materials']
527
+ def get_tarball_files # rubocop:disable Metrics/AbcSize
528
+ # It is very important that 'file-list' remains the first element in this
529
+ # array, lest the tar command be malformed and the package creation fail
530
+ files = ['file-list']
529
531
 
530
532
  if bill_of_materials
531
- files = ["#{bill_of_materials.path}/bill-of-materials"]
533
+ files.push "#{bill_of_materials.path}/bill-of-materials"
534
+ else
535
+ files.push 'bill-of-materials'
532
536
  end
533
537
 
534
- files.push 'file-list'
535
538
  files.push get_files.map(&:path)
536
539
  files.push get_configfiles.map(&:path)
537
540
  if @platform.is_windows?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vanagon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.7
4
+ version: 0.15.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
@@ -259,46 +259,46 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
259
  version: '0'
260
260
  requirements: []
261
261
  rubyforge_project:
262
- rubygems_version: 2.6.10
262
+ rubygems_version: 2.2.5
263
263
  signing_key:
264
264
  specification_version: 3
265
265
  summary: All of your packages will fit into this van with this one simple trick.
266
266
  test_files:
267
- - spec/lib/git/rev_list_spec.rb
268
- - spec/lib/makefile_spec.rb
269
- - spec/lib/vanagon/common/pathname_spec.rb
270
- - spec/lib/vanagon/common/user_spec.rb
271
- - spec/lib/vanagon/component/dsl_spec.rb
272
- - spec/lib/vanagon/component/rules_spec.rb
273
- - spec/lib/vanagon/component/source/git_spec.rb
274
- - spec/lib/vanagon/component/source/http_spec.rb
275
- - spec/lib/vanagon/component/source/local_spec.rb
276
- - spec/lib/vanagon/component/source/rewrite_spec.rb
277
- - spec/lib/vanagon/component/source_spec.rb
278
267
  - spec/lib/vanagon/component_spec.rb
268
+ - spec/lib/vanagon/project_spec.rb
269
+ - spec/lib/vanagon/optparse_spec.rb
279
270
  - spec/lib/vanagon/driver_spec.rb
280
- - spec/lib/vanagon/engine/always_be_scheduling_spec.rb
281
- - spec/lib/vanagon/engine/base_spec.rb
282
- - spec/lib/vanagon/engine/docker_spec.rb
283
- - spec/lib/vanagon/engine/ec2_spec.rb
284
- - spec/lib/vanagon/engine/hardware_spec.rb
285
- - spec/lib/vanagon/engine/local_spec.rb
286
- - spec/lib/vanagon/engine/pooler_spec.rb
287
271
  - spec/lib/vanagon/environment_spec.rb
288
- - spec/lib/vanagon/extensions/ostruct/json_spec.rb
289
- - spec/lib/vanagon/extensions/set/json_spec.rb
290
- - spec/lib/vanagon/extensions/string_spec.rb
291
- - spec/lib/vanagon/optparse_spec.rb
292
- - spec/lib/vanagon/platform/deb_spec.rb
272
+ - spec/lib/vanagon/platform/windows_spec.rb
273
+ - spec/lib/vanagon/platform/solaris_11_spec.rb
274
+ - spec/lib/vanagon/platform/solaris_10_spec.rb
293
275
  - spec/lib/vanagon/platform/dsl_spec.rb
294
276
  - spec/lib/vanagon/platform/osx_spec.rb
295
- - spec/lib/vanagon/platform/rpm/aix_spec.rb
277
+ - spec/lib/vanagon/platform/deb_spec.rb
296
278
  - spec/lib/vanagon/platform/rpm_spec.rb
297
- - spec/lib/vanagon/platform/solaris_10_spec.rb
298
- - spec/lib/vanagon/platform/solaris_11_spec.rb
299
- - spec/lib/vanagon/platform/windows_spec.rb
300
- - spec/lib/vanagon/platform_spec.rb
279
+ - spec/lib/vanagon/platform/rpm/aix_spec.rb
280
+ - spec/lib/vanagon/component/source/rewrite_spec.rb
281
+ - spec/lib/vanagon/component/source/git_spec.rb
282
+ - spec/lib/vanagon/component/source/local_spec.rb
283
+ - spec/lib/vanagon/component/source/http_spec.rb
284
+ - spec/lib/vanagon/component/dsl_spec.rb
285
+ - spec/lib/vanagon/component/source_spec.rb
286
+ - spec/lib/vanagon/component/rules_spec.rb
287
+ - spec/lib/vanagon/extensions/string_spec.rb
288
+ - spec/lib/vanagon/extensions/set/json_spec.rb
289
+ - spec/lib/vanagon/extensions/ostruct/json_spec.rb
301
290
  - spec/lib/vanagon/project/dsl_spec.rb
302
- - spec/lib/vanagon/project_spec.rb
303
291
  - spec/lib/vanagon/utilities/shell_utilities_spec.rb
304
292
  - spec/lib/vanagon/utilities_spec.rb
293
+ - spec/lib/vanagon/common/pathname_spec.rb
294
+ - spec/lib/vanagon/common/user_spec.rb
295
+ - spec/lib/vanagon/platform_spec.rb
296
+ - spec/lib/vanagon/engine/always_be_scheduling_spec.rb
297
+ - spec/lib/vanagon/engine/docker_spec.rb
298
+ - spec/lib/vanagon/engine/ec2_spec.rb
299
+ - spec/lib/vanagon/engine/hardware_spec.rb
300
+ - spec/lib/vanagon/engine/local_spec.rb
301
+ - spec/lib/vanagon/engine/base_spec.rb
302
+ - spec/lib/vanagon/engine/pooler_spec.rb
303
+ - spec/lib/makefile_spec.rb
304
+ - spec/lib/git/rev_list_spec.rb