vagrant-multiprovider-snap 0.0.7 → 0.0.8
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
data/README.md
CHANGED
@@ -76,3 +76,13 @@ are handled.
|
|
76
76
|
License
|
77
77
|
-------
|
78
78
|
vagrant-multiprovider-snap is licensed under the MIT license.
|
79
|
+
|
80
|
+
|
81
|
+
Thanks
|
82
|
+
------
|
83
|
+
|
84
|
+
Many thanks to the following people for contributing to vagrant-multiprovider-snap:
|
85
|
+
|
86
|
+
- Reid Vandewiele
|
87
|
+
- James Sweeny
|
88
|
+
- Steven De Coeyer
|
@@ -16,7 +16,7 @@ module VagrantPlugins
|
|
16
16
|
halt
|
17
17
|
sleep 2 # race condition on locked VMs otherwise?
|
18
18
|
end
|
19
|
-
execute("snapshot", @uuid, "restore", snapshot_list.
|
19
|
+
execute("snapshot", @uuid, "restore", snapshot_list.last)
|
20
20
|
start(bootmode)
|
21
21
|
end
|
22
22
|
|
@@ -24,11 +24,11 @@ module VagrantPlugins
|
|
24
24
|
info = execute("showvminfo", @uuid, "--machinereadable")
|
25
25
|
snapshots = []
|
26
26
|
info.split("\n").each do |line|
|
27
|
-
if line =~ /^SnapshotName
|
27
|
+
if line =~ /^SnapshotName[^=]*="(vagrant-snap-.+?)"$/
|
28
28
|
snapshots << $1.to_s
|
29
29
|
end
|
30
30
|
end
|
31
|
-
snapshots
|
31
|
+
snapshots.sort
|
32
32
|
end
|
33
33
|
|
34
34
|
def has_snapshot?
|
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.
|
4
|
+
version: 0.0.8
|
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:
|
12
|
+
date: 2014-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Multi-provider snapshots for Vagrant
|
15
15
|
email:
|
@@ -69,3 +69,4 @@ signing_key:
|
|
69
69
|
specification_version: 3
|
70
70
|
summary: Multi-provider snapshots for Vagrant
|
71
71
|
test_files: []
|
72
|
+
has_rdoc:
|