vagrant_abiquo 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d461bf448976ef18e83ed888c3076edd9220c8cd
4
- data.tar.gz: 1cf6170dece6158384db3e927c2c207064962dcd
3
+ metadata.gz: 9204419a82ee1a7ad3e2b447e2ae7cdc0be0ac34
4
+ data.tar.gz: 8ba5d4eacb15ee24ee8cbab7ac993244c10a523d
5
5
  SHA512:
6
- metadata.gz: be6cb2126b0565565633374490fb480fd10c3e3af8c1c7fb15bc1b97340bb175c83ca31e6d74f6f0ea384f845c7b6c9c66cf1fa1d0fc53b0794a717d2107ad14
7
- data.tar.gz: bc4eea900680ceba96f2518ea00f491c44d1ec39b317ba00daf5c41df17d50a86caa58a900756fd7350c99aa8860084c778c311bbbeaa6beda3c84e32b9c5da0
6
+ metadata.gz: b166481d7d44b0113d595693909bf28bfc409377458989796e6baf3283ea98606cfe4e0e706e750f7101ec47f284ed189fbfd2cb686bb448c6a01de07b1ea44b
7
+ data.tar.gz: 26132721e2f649d26c1f317e0e6785915d5364129c90983cab9c3180cb7ceca056c94d91d82ab5749408562001e9a3c8a8ce8e0f91a9d8b8089db723b97b3d60
data/Gemfile.lock CHANGED
@@ -24,7 +24,7 @@ GIT
24
24
  PATH
25
25
  remote: .
26
26
  specs:
27
- vagrant_abiquo (0.0.7)
27
+ vagrant_abiquo (0.0.8)
28
28
  abiquo-api (~> 0.1.2)
29
29
  log4r
30
30
 
@@ -48,13 +48,7 @@ module VagrantPlugins
48
48
 
49
49
  networks = []
50
50
  %w(privatenetworks network externalnetworks).each do |nettype|
51
- begin
52
- vdc.link(nettype.to_sym).get.each {|n| networks << n}
53
- rescue Exception => e
54
- @logger.debug "Exception retrieving '#{nettype}' networks."
55
- @logger.debug e.message
56
- @logger.debug e.backtrace
57
- end
51
+ vdc.link(nettype.to_sym).get.each {|n| networks << n} if vdc.link? nettype.to_sym
58
52
  end
59
53
  networks.select {|n| n.name == net_name }.first
60
54
  end
@@ -44,7 +44,7 @@ module VagrantPlugins
44
44
  return nil if state.id != :ON
45
45
  begin
46
46
  @ip ||= @vm.link(:nics).get.first.ip
47
- rescue Exception
47
+ rescue AbiquoAPIClient::NotFound
48
48
  return nil
49
49
  end
50
50
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Abiquo
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant_abiquo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Beneyto
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-05-02 00:00:00.000000000 Z
12
+ date: 2017-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: abiquo-api