vagrant-multiprovider-snap 0.0.4 → 0.0.5

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.5 (August 30, 2013)
2
+
3
+ - Fixed error when listing snapshots from un-created VMs
4
+
1
5
  ## 0.0.4 (July 26, 2013)
2
6
 
3
7
  - Handle ordering of plugin dependencies better - deprecate the 'zz' name component.
@@ -23,6 +23,8 @@ module VagrantSnap
23
23
 
24
24
  with_target_vms(argv) do |machine|
25
25
 
26
+ next if machine.state.id == :not_created
27
+
26
28
  results << "#{machine.name.to_s}"
27
29
 
28
30
  snaps = machine.provider.driver.snapshot_list
@@ -14,16 +14,12 @@ module VagrantSnap
14
14
  # Make sure the fusion plugin is installed, then
15
15
  # include the fusion providers.
16
16
 
17
- puts "require fusion"
18
-
19
17
  Vagrant.require_plugin("vagrant-vmware-fusion")
20
18
  require_relative "providers/vmware_fusion/action"
21
19
  require_relative "providers/vmware_fusion/driver/base"
22
20
 
23
21
  rescue Vagrant::Errors::PluginLoadError => e
24
22
 
25
- puts "oh noes"
26
-
27
23
  # If we can't load the fusion plugin, quietly ignore it
28
24
  # I'd like to log an info level message here, but I don't
29
25
  # think I can get at a ui object in this scope.
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Snap
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
data/locales/en.yml CHANGED
@@ -3,7 +3,7 @@ en:
3
3
  commands:
4
4
  list:
5
5
  output: |-
6
- Current available snapshots by VM:
6
+ Current available snapshots by created VM:
7
7
 
8
8
  %{snapshots}
9
9
 
@@ -9,6 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.authors = ["Jon Topper"]
10
10
  s.email = ["jon@scalefactory.com"]
11
11
  s.homepage = "http://github.com/scalefactory/vagrant-multiprovider-snap"
12
+ s.license = 'MIT'
12
13
 
13
14
  s.summary = %q{Multi-provider snapshots for Vagrant}
14
15
  s.description = %q{Multi-provider snapshots for Vagrant}
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
4
+ version: 0.0.5
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-07-26 00:00:00.000000000 Z
12
+ date: 2013-08-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Multi-provider snapshots for Vagrant
15
15
  email:
@@ -44,7 +44,8 @@ files:
44
44
  - locales/en.yml
45
45
  - vagrant-multiprovider-snap.gemspec
46
46
  homepage: http://github.com/scalefactory/vagrant-multiprovider-snap
47
- licenses: []
47
+ licenses:
48
+ - MIT
48
49
  post_install_message:
49
50
  rdoc_options: []
50
51
  require_paths: