vagrant-export 0.2.2 → 0.2.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9fbb7323d210e138893892223c9c3d365078f26
4
- data.tar.gz: 97d48bacd06af390438cf9b183ac82ae7881a6fc
3
+ metadata.gz: cec4005b9400267a35744c5496c94a2815ac0814
4
+ data.tar.gz: d505e26ea8b857b1fd61faef0664806b66fc463e
5
5
  SHA512:
6
- metadata.gz: dc2946cbc143254fa0fa195fe0c6ef1eba4d4ea317371543b03ddae672a22d0b7113c03a99f1dbde532f3522653b99e2586349c3f5163ccfc99c2b8ea2cb3f20
7
- data.tar.gz: 7348f51073cbffac5d0fe42eac50d21b041d88bb5c44c58598880ca171d719c6512dc6b2d73d932d85930f4c74d37673f2c60a7f1311caf59461d2c07a738260
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
@@ -5,6 +5,6 @@
5
5
 
6
6
  module VagrantPlugins
7
7
  module Export
8
- VERSION = '0.2.2'
8
+ VERSION = '0.2.3'
9
9
  end
10
10
  end
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.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-07 00:00:00.000000000 Z
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