vagrant-vbox-snapshot 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/LICENSE +21 -0
- data/lib/vagrant-vbox-snapshot/commands/list.rb +7 -2
- data/lib/vagrant-vbox-snapshot/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f5697ed4cc9a5098074e816fba4ddc0b98a4fe0
|
4
|
+
data.tar.gz: ac257a20df8ac544797565d9c3f4e6b85bacab3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50dc4b43b9c86153eb1ab851ab06b0dca923afbbfc9f4592fc7304853670913b6cd0d558d910f1050c7de19ab25940e09aa87e465b4a67d0f3f84f3bcd97fc19
|
7
|
+
data.tar.gz: 1dd9996540e99465b35b544a9161bda82eb99e9ea6450e9083c88aa4b6c971cd3562e90ebdbf5fce0cb3533554aaf4097ee55de892bf5a198d0b345700ed83ad
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## [0.0.6](https://github.com/dergachev/vagrant-vbox-snapshot/compare/v0.0.5...v0.0.6) (October 6, 2014)
|
2
|
+
|
3
|
+
IMPROVEMENTS:
|
4
|
+
|
5
|
+
- suppress 'snapshot list' error when no snapshots [#17](https://github.com/dergachev/vagrant-vbox-snapshot/issues/17)
|
6
|
+
|
1
7
|
## [0.0.5](https://github.com/dergachev/vagrant-vbox-snapshot/compare/v0.0.4...v0.0.5) (June 7, 2014)
|
2
8
|
|
3
9
|
IMPROVEMENTS:
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2014 Alex Dergachev
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
@@ -17,8 +17,13 @@ module VagrantPlugins
|
|
17
17
|
with_target_vms(argv, single_target: true) do |machine|
|
18
18
|
puts "Listing snapshots for '#{machine.name}':"
|
19
19
|
|
20
|
-
|
21
|
-
machine.
|
20
|
+
begin
|
21
|
+
res = machine.provider.driver.execute("snapshot", machine.id, "list", "--details") do |type, data|
|
22
|
+
@suppress_error = TRUE if data == "This machine does not have any snapshots\n"
|
23
|
+
machine.env.ui.info(data, :color => :green) if (type == :stdout)
|
24
|
+
end
|
25
|
+
rescue Vagrant::Errors::VBoxManageError => e
|
26
|
+
raise e unless @suppress_error
|
22
27
|
end
|
23
28
|
end
|
24
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vbox-snapshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Dergachev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06
|
11
|
+
date: 2014-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -48,6 +48,7 @@ files:
|
|
48
48
|
- CHANGELOG.md
|
49
49
|
- DEVNOTES.md
|
50
50
|
- Gemfile
|
51
|
+
- LICENSE
|
51
52
|
- README.md
|
52
53
|
- Rakefile
|
53
54
|
- Vagrantfile
|