vagrant-multiprovider-snap 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.0.7 (October 23, 2013)
2
+
3
+ - Fixed bug preventing rollback on aborted VirtualBox VMs.
4
+
1
5
  ## 0.0.6 (September 24, 2013)
2
6
 
3
7
  - Fixed bug preventing rollback on halted Virtualbox VMs.
@@ -11,7 +11,8 @@ module VagrantPlugins
11
11
  end
12
12
 
13
13
  def snapshot_rollback(bootmode)
14
- if read_state != :poweroff # don't try to power off if we're already off
14
+ # don't try to power off if we're already off
15
+ unless [:poweroff, :aborted].include?(read_state)
15
16
  halt
16
17
  sleep 2 # race condition on locked VMs otherwise?
17
18
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Snap
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
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-09-24 00:00:00.000000000 Z
12
+ date: 2013-10-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Multi-provider snapshots for Vagrant
15
15
  email: