vagrant-parallels 0.1.0 → 0.1.1

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.
@@ -9,7 +9,7 @@ module VagrantPlugins
9
9
  def call(env)
10
10
  tools_version = env[:machine].provider.driver.read_guest_tools_version
11
11
  if !tools_version
12
- env[:ui].warn I18n.t("vagrant.actions.vm.check_guest_tools.not_detected")
12
+ env[:ui].warn I18n.t("vagrant_parallels.actions.vm.check_guest_tools.not_detected")
13
13
  else
14
14
  pd_version = env[:machine].provider.driver.version
15
15
  unless pd_version.start_with? tools_version
@@ -39,7 +39,7 @@ module VagrantPlugins
39
39
  machine.ui.info(I18n.t("vagrant.actions.vm.share_folders.mounting"))
40
40
  folders.each do |id, data|
41
41
  if data[:guestpath]
42
- data[:guestpath] = data[:guestpath]
42
+ id = Pathname.new(id).to_s.split('/').drop_while{|i| i.empty?}.join('_')
43
43
 
44
44
  # Guest path specified, so mount the folder to specified point
45
45
  machine.ui.info(I18n.t("vagrant.actions.vm.share_folders.mounting_entry",
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Parallels
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
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: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-12 00:00:00.000000000 Z
12
+ date: 2013-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -167,7 +167,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
167
  version: '0'
168
168
  segments:
169
169
  - 0
170
- hash: 646482643972557885
170
+ hash: 1847333419594090375
171
171
  required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  none: false
173
173
  requirements: