vagrant-parallels 1.2.1 → 1.2.2

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: 1a13c25bcdb28367ff315b90af6afc37eb8788e3
4
- data.tar.gz: f0b172f3e8ba722ec295fa2216db182cfcdc769a
3
+ metadata.gz: 5f3bf1ad034ff3a2348dd22548ffb3d28659a88b
4
+ data.tar.gz: 87d833100c9d729fce001d72797e482a06702e1d
5
5
  SHA512:
6
- metadata.gz: 813e9edbabbffb8d4b913d549f8808298d3e2c8e1aa0e63f88a92eb9ff331bfc19251abe4ec5d63ef7842b77f85cb6ff90af7517957d175b5cb811b14b35908c
7
- data.tar.gz: 75a2ee142077fa988267656c4613d97f270ae2310381481c499993707ffa9f0ebbc02ec6978c438be77682e01bd80862375cf620fc30b1c43596cd44c3e8a265
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 9
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, except the next:
19
- **"Forwarded ports" configuration is not available yet**.
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 helping this project stand on its feet, thank you
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
- # Port Forwarding feature is available only with PD >= 10
14
- if !env[:machine].provider.pd_version_satisfies?('>= 10')
15
- return @app.call(env)
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
- # Call the builtin action
19
- super
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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Parallels
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
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.2.1
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-21 00:00:00.000000000 Z
12
+ date: 2014-08-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler