vagrant-commit 0.6.1 → 0.6.2

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
  SHA256:
3
- metadata.gz: 29d259393ffcb220f7b9585d40ab8314279b9758fe6d4b1ab23299ac7c64fae0
4
- data.tar.gz: 9fd10897890403f3fed69e0557c62deccdb1b63cd4e083cbf9fbdb22428b87ae
3
+ metadata.gz: b3eb036a6543f9c1e507d42fa617c38e800dc39f540ab1d4b67bfccfeadd3678
4
+ data.tar.gz: '08a2191cb407e4c6b2e5efe7c6f0152929c4c29b6b4d2d43d158b311267a39dd'
5
5
  SHA512:
6
- metadata.gz: 5c94189424a37a506c6434156378442230fc25b1d5ec3b9639c53c12d0c1d1cee449e46c7c0e030edfc06bc62eb3d42ba8174f7487fa1db7a18a845a1ed1bd88
7
- data.tar.gz: ca8714dab547af8ac59c6dc8f70a224aaf1c2f79fb366f4d5b94129ef62b2dc2f4b6f951f9ccca0d1c117bef9d471c7898d4654a843b9494259fc4ded68e59cf
6
+ metadata.gz: 21ca5f113431fee0948d954b47f8fe1b8fe5e8e2a101d5c125252ad8ac40e693f394d7c3d4a1743a552f41e36ac29cb2bfd2d4d7dd64d468f78b79b716ac1612
7
+ data.tar.gz: fad492002deb493cd051be5e3992a66def10c79a7e4d766121944b52e0aa74c0d3c2205c2996ab42a26b3a75a911864fb13bc92cb743d3b147ac766e8bb7fe25
@@ -134,6 +134,10 @@ module Vagrant
134
134
  root_dir = @env.boxes_path
135
135
  version = "0"
136
136
  new_box_dir = root_dir.join(target_boxname).join(version).join(provider.to_s)
137
+ cont = @env.ui.ask("Box #{target_boxname} exists. Recreate? [y/n]")
138
+ if cont.strip.downcase != "y"
139
+ return 1
140
+ end
137
141
  new_box_dir.mkpath
138
142
  new_box_dir.join("metadata.json").open("w") do |f|
139
143
  f.write(metadata_json())
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Commit
3
- VERSION = "0.6.1"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-commit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vitalii Abetkin