vagrant-parallels 1.2.1 → 1.2.2
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 +4 -4
- data/README.md +5 -14
- data/lib/vagrant-parallels/action/handle_forwarded_port_collisions.rb +11 -5
- 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: 5f3bf1ad034ff3a2348dd22548ffb3d28659a88b
|
|
4
|
+
data.tar.gz: 87d833100c9d729fce001d72797e482a06702e1d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4bddae6096c51c901b09c06b7cadc0e276de1ee1d7324bc1f74e8ebb28a4ce0fbd7eddf1e744594e7d62cf282240a6254e23613b10cbe47e275f0d88dbb16811
|
|
7
|
+
data.tar.gz: 3f830fd2bb2b74d2fa1ae312ae7c233f34aaf3e8e4b9328482d86e366a149f9be386f020157391c4b05fd6e6886bf3e9c6d3c50eecdcb435b188e1b62310f8b6
|
data/README.md
CHANGED
|
@@ -8,18 +8,16 @@ allowing to power [Parallels Desktop for Mac](http://www.parallels.com/downloads
|
|
|
8
8
|
based virtual machines.
|
|
9
9
|
|
|
10
10
|
### Requirements
|
|
11
|
-
- Parallels Desktop for Mac 8 or
|
|
11
|
+
- Parallels Desktop for Mac 8 or higher
|
|
12
12
|
- Vagrant v1.5 or higher
|
|
13
13
|
|
|
14
14
|
If you're just getting started with Vagrant, it is highly recommended that you
|
|
15
15
|
read the official [Vagrant documentation](http://docs.vagrantup.com/v2/) first.
|
|
16
16
|
|
|
17
17
|
## Features
|
|
18
|
-
The Parallels provider supports all basic Vagrant features,
|
|
19
|
-
|
|
18
|
+
The Parallels provider supports all basic Vagrant features, but "Forwarded ports"
|
|
19
|
+
configuration is available only if you are using Parallels Desktop **10** for Mac.
|
|
20
20
|
|
|
21
|
-
It might be implemented in the future, after the next release of Parallels
|
|
22
|
-
Desktop for Mac.
|
|
23
21
|
|
|
24
22
|
## Installation
|
|
25
23
|
First, make sure that you have [Parallels Desktop for Mac](http://www.parallels.com/products/desktop/)
|
|
@@ -53,13 +51,6 @@ please report it on the [IssueTracker](https://github.com/Parallels/vagrant-para
|
|
|
53
51
|
Great thanks to *Youssef Shahin* `@yshahin` for having initiated the development
|
|
54
52
|
of this provider. You've done a great job, Youssef!
|
|
55
53
|
|
|
56
|
-
Also, thanks to the people who are
|
|
57
|
-
|
|
58
|
-
* Mikhail Zholobov `@legal90`
|
|
59
|
-
* Kevin Kaland `@wizonesolutions`
|
|
60
|
-
* Konstantin Nazarov `@racktear`
|
|
61
|
-
* Dmytro Vasylenko `@odi-um`
|
|
62
|
-
* Thomas Koschate `@koschate`
|
|
63
|
-
|
|
64
|
-
and to all the people who are using and testing this provider.
|
|
54
|
+
Also, thanks to the people [who are contributing](https://github.com/Parallels/vagrant-parallels/graphs/contributors)
|
|
55
|
+
to our provider.
|
|
65
56
|
|
|
@@ -10,13 +10,19 @@ module VagrantPlugins
|
|
|
10
10
|
# This middleware just wraps the builtin action and allows to skip it if
|
|
11
11
|
# port forwarding is not supported for current Parallels Desktop version.
|
|
12
12
|
def call(env)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
if env[:machine].provider.pd_version_satisfies?('>= 10')
|
|
14
|
+
super
|
|
15
|
+
else
|
|
16
|
+
# Just continue if port forwarding is not supporting
|
|
17
|
+
@app.call(env)
|
|
16
18
|
end
|
|
19
|
+
end
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
def recover(env)
|
|
22
|
+
if env[:machine].provider.pd_version_satisfies?('>= 10')
|
|
23
|
+
super
|
|
24
|
+
end
|
|
25
|
+
# Do nothing if port forwarding is not supporting
|
|
20
26
|
end
|
|
21
27
|
end
|
|
22
28
|
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.2.
|
|
4
|
+
version: 1.2.2
|
|
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-08-
|
|
12
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|