vagrant-parallels 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59cc5882980f59c4a61187d797eeec20196a07db
|
4
|
+
data.tar.gz: 01e32966ec0b3e3479cb899e3d4de0c0e6e28a6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c90fccd4bc5393b1c5fff1e6811e5f0797ef0473bf696c93c4a8799db456120627fc69989b9d4d6feb42808c03a3bbe838bc68425bad7d009f2a587141b4c56
|
7
|
+
data.tar.gz: a8f5be1fe10c4c93bcfd386e7a958a17d988fcec3e5f087530e2f99879e79f9f53a508848152f25599fdd20f8249f65f901f2025a1cd3a7a4e11ca8fdc5fb18a
|
@@ -185,8 +185,7 @@ module VagrantPlugins
|
|
185
185
|
|
186
186
|
b1.use Call, IsState, :running do |env2, b2|
|
187
187
|
if !env2[:result]
|
188
|
-
|
189
|
-
next
|
188
|
+
raise Vagrant::Errors::VMNotRunningError
|
190
189
|
end
|
191
190
|
|
192
191
|
b2.use SSHExec
|
@@ -207,8 +206,7 @@ module VagrantPlugins
|
|
207
206
|
|
208
207
|
b1.use Call, IsState, :running do |env2, b2|
|
209
208
|
if !env2[:result]
|
210
|
-
|
211
|
-
next
|
209
|
+
raise Vagrant::Errors::VMNotRunningError
|
212
210
|
end
|
213
211
|
|
214
212
|
b2.use SSHRun
|
@@ -308,7 +308,7 @@ module VagrantPlugins
|
|
308
308
|
|
309
309
|
def read_mac_addresses
|
310
310
|
macs = read_vm_option('mac').strip.split(' ')
|
311
|
-
Hash[macs.map.with_index{ |mac, ind| [ind
|
311
|
+
Hash[macs.map.with_index{ |mac, ind| [ind, mac.gsub(':', '')] }]
|
312
312
|
end
|
313
313
|
|
314
314
|
def read_network_interfaces
|
@@ -24,8 +24,6 @@ module VagrantPlugins
|
|
24
24
|
|
25
25
|
# Temporary disable automatically pre-configured forwarded ports
|
26
26
|
# for SSH, since it is working not so well [GH-146]
|
27
|
-
# TODO: Roll it back when forwarded ports will be completely
|
28
|
-
# fixed in Parallels Desktop 10
|
29
27
|
next if id == 'ssh'
|
30
28
|
|
31
29
|
mappings[host_port.to_s + protocol.to_s] =
|
@@ -187,8 +187,8 @@ shared_examples "parallels desktop driver" do |options|
|
|
187
187
|
describe "read_mac_addresses" do
|
188
188
|
it "returns MAC addresses of all network interface cards" do
|
189
189
|
subject.read_mac_addresses.should be_kind_of(Hash)
|
190
|
-
subject.read_mac_addresses.should include(
|
191
|
-
subject.read_mac_addresses[
|
190
|
+
subject.read_mac_addresses.should include(0)
|
191
|
+
subject.read_mac_addresses[0].should be_kind_of(String)
|
192
192
|
end
|
193
193
|
end
|
194
194
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-parallels
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikhail Zholobov
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|