vagrant-list 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,7 @@ module Vagrant
18
18
  def read_vms(type = :vms)
19
19
  results = []
20
20
  execute("list", type.to_s, :retryable => true).split("\n").each do |line|
21
+ next if line =~ /\A"<inaccessible>"/
21
22
  if vm = line[/^".+?" \{(.+?)\}$/, 1]
22
23
  results << vm
23
24
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module List
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
data/lib/vagrant-list.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require "vagrant-list/version"
2
+ require "vagrant/ext/driver/driver_overrides"
2
3
  require "vagrant/vm_info"
3
4
  require "vagrant"
4
5
  require "pp"
@@ -23,4 +24,5 @@ module Vagrant
23
24
  end
24
25
  end
25
26
 
27
+ Vagrant::Driver::VirtualBox_4_1.send(:include, Vagrant::Ext::Driver::DriverOverrides)
26
28
  Vagrant.commands.register(:list) { Vagrant::List::All }
data/lib/vagrant_init.rb CHANGED
@@ -1,4 +1,2 @@
1
1
  require 'vagrant-list'
2
- require 'vagrant/ext/driver/driver_overrides.rb'
3
2
 
4
- Vagrant::Driver::VirtualBox_4_1.send(:include, Vagrant::Ext::Driver::DriverOverrides)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
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: 2012-07-12 00:00:00.000000000 Z
12
+ date: 2012-09-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vagrant
@@ -95,7 +95,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  segments:
97
97
  - 0
98
- hash: 738696425748107712
98
+ hash: 2079562314018200063
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  none: false
101
101
  requirements:
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  segments:
106
106
  - 0
107
- hash: 738696425748107712
107
+ hash: 2079562314018200063
108
108
  requirements: []
109
109
  rubyforge_project:
110
110
  rubygems_version: 1.8.24