vagrant-mcs 0.7.9 → 0.7.10

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: 5eafb04d7437442e528b182b120f670a5e1c498b
4
- data.tar.gz: 401999653fe55b4a4f87331d132b9ae08c019b39
3
+ metadata.gz: 2310d7250b06119d132ec4536640ddd5a5416466
4
+ data.tar.gz: f1367b30bf6d017a736ee039a900d254d6e7136f
5
5
  SHA512:
6
- metadata.gz: 02551669aa14c7e0c5156e46f892e240e18c0c4ddefcab630ea790ae9f601f0e93dacebc42836dd4f8909db8bc503b5be2b70dbac97337e630a53468b4635662
7
- data.tar.gz: 920e8a74d13bb85b65920ee44bb196d42199f870b2702b033a03704b2a24667a94d5458458665156ee627aaa88c72634d485861352efa300ab813052b2f97b74
6
+ metadata.gz: e5016747204bc3d83c93f2cb6614206a701f18322f88e40117ecc88e4147f62ced01a5c72c27f0af59e93e0a3298ba14a1b314149f632b9015b11f14b2db4eae
7
+ data.tar.gz: 4cbfbe75a7b5617c778107226bbb4f4695bf1e10576444018d9f57abb81340e78d92e9b776052054d336bd46a76edbf69560bf87b84b8a951b180f2d1e70631e
@@ -23,9 +23,9 @@ module VagrantPlugins
23
23
  # Find the machine
24
24
  #puts mcs
25
25
  #puts machine.id
26
- server = mcs.get.get(machine.id)
26
+ server = mcs.describe_instances(machine.id)
27
27
  #server = mcs.servers.get(machine.id)
28
- if server.nil? || [:"shutting-down", :terminated].include?(server.state.to_sym)
28
+ if server.nil? || [:"shutting-down", :terminated].include?(server["status"].to_sym)
29
29
  # The machine can't be found
30
30
  @logger.info("Machine not found or terminated, assuming it got destroyed.")
31
31
  machine.id = nil
@@ -33,7 +33,7 @@ module VagrantPlugins
33
33
  end
34
34
 
35
35
  # Return the state
36
- return server.state.to_sym
36
+ return server["status"].to_sym
37
37
  end
38
38
  end
39
39
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module MCS
3
- VERSION = '0.7.9'
3
+ VERSION = '0.7.10'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-mcs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mitchell Hashimoto