vagrant-parallels 1.3.2 → 1.3.3.rc1

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: 6bdb95da989e46677cd7c63e85eabf039e464720
4
- data.tar.gz: 072e752e92233ce0e8f1da2431f1cf435872e66c
3
+ metadata.gz: b6645f57b00baa3c91a9ba71dbb5e9ba64c15d74
4
+ data.tar.gz: 833c375042ccbd5cfd21d3d277fc8f3ea1614489
5
5
  SHA512:
6
- metadata.gz: 652fd511add11eb4016615ed50848090003f40bedc94ab2df8d52f16a487b6f54981fbf0cb5c5af60fb341947d96917350fdaa6aa5327a848e507c0673f19847
7
- data.tar.gz: 43e877190dc0c166d3fd3922f04f9a71a675e4bac3b2343ec71b0f63ba6569cbc666a196a3aa81e95ac9a4fe5d7c8b773c77713235fbb70e35213a8135de44f8
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
- @lock.synchronize do
92
+ @@lock.synchronize do
93
93
  begin
94
94
  env[:machine].env.lock('parallels-network-adapters') do
95
95
  adapter = send("#{type}_adapter", config)
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Parallels
3
- VERSION = "1.3.2"
3
+ VERSION = "1.3.3.rc1"
4
4
  end
5
5
  end
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.2
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 00:00:00.000000000 Z
12
+ date: 2014-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler