vagrant-multiprovider-snap 0.0.5 → 0.0.6

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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.0.6 (September 24, 2013)
2
+
3
+ - Fixed bug preventing rollback on halted Virtualbox VMs.
4
+
1
5
  ## 0.0.5 (August 30, 2013)
2
6
 
3
7
  - Fixed error when listing snapshots from un-created VMs
@@ -11,8 +11,10 @@ module VagrantPlugins
11
11
  end
12
12
 
13
13
  def snapshot_rollback(bootmode)
14
- halt
15
- sleep 2 # race condition on locked VMs otherwise?
14
+ if read_state != :poweroff # don't try to power off if we're already off
15
+ halt
16
+ sleep 2 # race condition on locked VMs otherwise?
17
+ end
16
18
  execute("snapshot", @uuid, "restore", snapshot_list.first)
17
19
  start(bootmode)
18
20
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Snap
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-multiprovider-snap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-30 00:00:00.000000000 Z
12
+ date: 2013-09-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Multi-provider snapshots for Vagrant
15
15
  email: