vagabund 0.0.23 → 0.0.24

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ba9d13234d139dc29e778e85e99eaa00e0bdf4a
4
- data.tar.gz: 37d4bbe691e8acfc36a7e0f3673b64ebe3d7257a
3
+ metadata.gz: 14759fb852b929c914bb54aeb151448cca174a8b
4
+ data.tar.gz: 0f69d2d25a5fb6923c2f6e7c357315ab45d311f4
5
5
  SHA512:
6
- metadata.gz: e85a5b09ede5c53688f442421443dd0f707d9fe9572e068bd4a3cb0646b51b8a7233af48d3101d839d6e3db71e969565ad4db22937ad80aee851ba31b2ec0829
7
- data.tar.gz: 604ff475faf3226dda5f028c202cabecf77c2f4d5eb84bb4e24f403923620efe58901bbd2c559f5291c604d5beeb47a7dda3d00c8ae82f9e613484e3ac2428e8
6
+ metadata.gz: 0ad84215bec39a99e79a72f105b8878024b2bcf55f06bf0e2197a7483d51c38deaa4fd7bc55d4aed4462342e4f851096933b770ac9e6b0e6ea376632417e3bcb
7
+ data.tar.gz: 1bdae238da0a0f159f2abf4c586c9c5f31eab46fe350a3d56d8836641881de6fb5ee6b8c6a9a5b9d774346c44cd6555a8cad52572c9a67b04d4848fb0bb09835
@@ -81,8 +81,13 @@ module Vagabund
81
81
  exit
82
82
  end
83
83
 
84
- @env.ui.info "==> #{vm_name}: Packaging VirtualBox VM '#{vm_name}' into #{File.basename(box_file)}", bold: true
85
- system "vagrant package --base #{vm_name} --output #{box_file}"
84
+ @env.ui.info "==> #{vm_name || machine.name}: Packaging VirtualBox VM '#{vm_name || machine.name}' into #{File.basename(box_file)}", bold: true
85
+
86
+ if vm_name.nil?
87
+ system "vagrant package #{machine.name} --output #{box_file}"
88
+ else
89
+ system "vagrant package --base #{vm_name} --output #{box_file}"
90
+ end
86
91
  end
87
92
 
88
93
  def package_aws(machine, box_name, box_file=nil)
@@ -1,3 +1,3 @@
1
1
  module Vagabund
2
- VERSION = "0.0.23"
2
+ VERSION = "0.0.24"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagabund
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rebec