bib-vagrant 0.1.5 → 0.1.6

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: 6aaebacbe528115aeabe0118f64d0b29141e9fad
4
- data.tar.gz: 83c0e1c0239a8d67e34e79dc8414c6fa35844423
3
+ metadata.gz: e100d5c38097671e84e3e15c7ad176fc23b7a394
4
+ data.tar.gz: 65923f29cb2f012982bc04960828e74a11132195
5
5
  SHA512:
6
- metadata.gz: 4744974e04266db09b7db103c42a53aaf56ac6c23499bdddaa7f97f38d7064cda41796f583398e4e62b8c7b63a63feea24e1df67bd23f12c9365ff142bb7f621
7
- data.tar.gz: b92a5dc7f89eb01087ee4a0690f9b4cc7b4a1d28b00627f8201104ac2af944c31baea46b24af39ff59b4535acb7d161c0ad8e4c7ea2f3b46e2c4f3e8d3ed7a18
6
+ metadata.gz: bab827e69f73dbe1d0d1aeeac3209ac1269278729431f2fb5d6886567292b5b7a47878e6ceb8a6e2327662414ab8193e8f97636bb64697c17e834fda7c8dc04d
7
+ data.tar.gz: 42369fea4b76236165dd9b7c01d9854f5344baae079e0631d774a66e9a7e102bfb38d0a552a0e40021c47d61c3d7ba002a799bed4cb884031406839afe2e57b7
data/bib-vagrant.gemspec CHANGED
@@ -6,7 +6,7 @@ require 'bib/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'bib-vagrant'
8
8
  spec.version = Bib::Vagrant::VERSION
9
- spec.authors = %w(tillk, fh, gilleyj, seppsepp)
9
+ spec.authors = %w(tillk fh gilleyj seppsepp)
10
10
  spec.email = ['till@php.net']
11
11
  spec.description = "A rubygem to centralize configuration and setup in every project's Vagrantfile"
12
12
  spec.summary = 'Centralize configuration and setup'
@@ -130,7 +130,11 @@ module Bib
130
130
  dna = add_composertoken_to_dna(dna, vagrantconfig)
131
131
  dna['vagrant'][applicationlist].each do |app, app_config|
132
132
  vagrant_share = File.expand_path(app_config['app_root_location'])
133
- host_folder = host_folder_root + "/#{app}"
133
+ if dna['vagrant'][applicationlist].count > 1
134
+ host_folder = host_folder_root + "/#{app}"
135
+ else
136
+ host_folder = host_folder_root
137
+ end
134
138
  if vagrantconfig['nfs']
135
139
  machine.vm.synced_folder host_folder, vagrant_share, type: 'nfs', mount_options: ['nolock,vers=3,udp,noatime,actimeo=1']
136
140
  elsif vagrantconfig['rsync']
data/lib/bib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Bib
2
2
  module Vagrant
3
- VERSION = '0.1.5'
3
+ VERSION = '0.1.6'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bib-vagrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
- - tillk,
8
- - fh,
9
- - gilleyj,
7
+ - tillk
8
+ - fh
9
+ - gilleyj
10
10
  - seppsepp
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-02-12 00:00:00.000000000 Z
14
+ date: 2016-02-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor