vagrant-export 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-export/exporter.rb +6 -3
- data/lib/vagrant-export/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cec4005b9400267a35744c5496c94a2815ac0814
|
4
|
+
data.tar.gz: d505e26ea8b857b1fd61faef0664806b66fc463e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76e6ba5dfab103e50a7af71bef2551657e0d9e03aa994b7b8870e667b9699de04abb6069b6b64b989050ffb518990fc4ee983449317afcabe71b2cd83687a9ac
|
7
|
+
data.tar.gz: 5bb6347fa0242fd6d3e505ddb58b3cb9258decd6904f2d8c77bdc630ee92f05ac3e9cd7b50c3d0eddf09c86a4ed7ff4a1bcfb761daddef14713f0b06816448a8
|
@@ -19,6 +19,7 @@ module VagrantPlugins
|
|
19
19
|
# @param vm Vagrant::Machine
|
20
20
|
# @param fast Boolean
|
21
21
|
# @param bare Boolean
|
22
|
+
# @return string
|
22
23
|
def handle(vm, fast, bare)
|
23
24
|
@vm = vm
|
24
25
|
@did_run = false
|
@@ -36,6 +37,8 @@ module VagrantPlugins
|
|
36
37
|
return 1 unless files(bare)
|
37
38
|
|
38
39
|
finalize
|
40
|
+
|
41
|
+
@target_box
|
39
42
|
end
|
40
43
|
|
41
44
|
protected
|
@@ -180,9 +183,9 @@ module VagrantPlugins
|
|
180
183
|
# Rename the box file
|
181
184
|
if File.exist?(@box_file_name)
|
182
185
|
box_name = @vm.box.name.gsub('/', '_')
|
183
|
-
target_box = File.join(@env.cwd, box_name + '.box')
|
184
|
-
FileUtils.mv(@box_file_name, target_box)
|
185
|
-
@env.ui.info('Created ' + target_box)
|
186
|
+
@target_box = File.join(@env.cwd, box_name + '.box')
|
187
|
+
FileUtils.mv(@box_file_name, @target_box)
|
188
|
+
@env.ui.info('Created ' + @target_box)
|
186
189
|
end
|
187
190
|
|
188
191
|
# Remove the tmp files
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georg Großberger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Export boxes to .box files including the original Vagrantfile and some
|
14
14
|
cleanups inside the VM
|