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 +4 -4
- data/bib-vagrant.gemspec +1 -1
- data/lib/bib/bib_vagrant.rb +5 -1
- data/lib/bib/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e100d5c38097671e84e3e15c7ad176fc23b7a394
|
4
|
+
data.tar.gz: 65923f29cb2f012982bc04960828e74a11132195
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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'
|
data/lib/bib/bib_vagrant.rb
CHANGED
@@ -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
|
-
|
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
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.
|
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-
|
14
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: thor
|