vagrant-parallels 1.3.2 → 1.3.3.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-parallels/action/network.rb +2 -2
- data/lib/vagrant-parallels/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6645f57b00baa3c91a9ba71dbb5e9ba64c15d74
|
4
|
+
data.tar.gz: 833c375042ccbd5cfd21d3d277fc8f3ea1614489
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bed0a6f5ed6c94689f2c6d4286be0537eb5d1ccce39dfa8f5a6a227bdba155cf9655f75ccb5dee09274304384518bcd4e3e12bacbac3b8f969ec7d706b15bceb
|
7
|
+
data.tar.gz: 88915f0f4daac12afd1051e4bb1550c289e439f9993a38889b28f4c8555471ee11074ff98b11561aa9516ee6b4cf338c0128861ce1402f7c3992b77f7c02336b
|
@@ -16,6 +16,7 @@ module VagrantPlugins
|
|
16
16
|
class Network
|
17
17
|
include Vagrant::Util::NetworkIP
|
18
18
|
include Vagrant::Util::ScopedHashOverride
|
19
|
+
@@lock = Mutex.new
|
19
20
|
|
20
21
|
def initialize(app, env)
|
21
22
|
@app = app
|
@@ -24,7 +25,6 @@ module VagrantPlugins
|
|
24
25
|
|
25
26
|
def call(env)
|
26
27
|
@env = env
|
27
|
-
@lock = Mutex.new
|
28
28
|
|
29
29
|
# Get the list of network adapters from the configuration
|
30
30
|
network_adapters_config = env[:machine].provider_config.network_adapters.dup
|
@@ -89,7 +89,7 @@ module VagrantPlugins
|
|
89
89
|
# Get the virtual network adapter configuration
|
90
90
|
# We wrap this in locks to avoid race conditions between multiple
|
91
91
|
# Vagrant threads and/or processes.
|
92
|
-
|
92
|
+
@@lock.synchronize do
|
93
93
|
begin
|
94
94
|
env[:machine].env.lock('parallels-network-adapters') do
|
95
95
|
adapter = send("#{type}_adapter", config)
|
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.3.rc1
|
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: 2014-10-
|
12
|
+
date: 2014-10-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|