bib-vagrant 0.1.4 → 0.1.5
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 +4 -3
- data/lib/bib/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6aaebacbe528115aeabe0118f64d0b29141e9fad
|
4
|
+
data.tar.gz: 83c0e1c0239a8d67e34e79dc8414c6fa35844423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4744974e04266db09b7db103c42a53aaf56ac6c23499bdddaa7f97f38d7064cda41796f583398e4e62b8c7b63a63feea24e1df67bd23f12c9365ff142bb7f621
|
7
|
+
data.tar.gz: b92a5dc7f89eb01087ee4a0690f9b4cc7b4a1d28b00627f8201104ac2af944c31baea46b24af39ff59b4535acb7d161c0ad8e4c7ea2f3b46e2c4f3e8d3ed7a18
|
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(
|
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
@@ -77,7 +77,8 @@ module Bib
|
|
77
77
|
'vagrant-hosts' => 'https://github.com/adrienthebo/vagrant-hosts',
|
78
78
|
'vagrant-faster' => 'https://github.com/rdsubhas/vagrant-faster#how-much-does-it-allocate',
|
79
79
|
'vagrant-cachier' => 'https://github.com/easybib/issues/wiki/Knowledgebase:-Global-Vagrant-setup#enable-vagrant-cachier-globally',
|
80
|
-
'bib-vagrant' => 'See https://github.com/easybiblabs/bib-vagrant/blob/master/README.md'
|
80
|
+
'bib-vagrant' => 'See https://github.com/easybiblabs/bib-vagrant/blob/master/README.md',
|
81
|
+
'vagrant-logs' => 'See https://github.com/easybiblabs/vagrant-logs/blob/master/README.md'
|
81
82
|
}
|
82
83
|
end
|
83
84
|
|
@@ -125,11 +126,11 @@ module Bib
|
|
125
126
|
dna
|
126
127
|
end
|
127
128
|
|
128
|
-
def prepare_app_settings(vagrantconfig, machine, dna, applicationlist = 'applications')
|
129
|
+
def prepare_app_settings(vagrantconfig, machine, dna, host_folder_root, applicationlist = 'applications')
|
129
130
|
dna = add_composertoken_to_dna(dna, vagrantconfig)
|
130
131
|
dna['vagrant'][applicationlist].each do |app, app_config|
|
131
132
|
vagrant_share = File.expand_path(app_config['app_root_location'])
|
132
|
-
host_folder = "
|
133
|
+
host_folder = host_folder_root + "/#{app}"
|
133
134
|
if vagrantconfig['nfs']
|
134
135
|
machine.vm.synced_folder host_folder, vagrant_share, type: 'nfs', mount_options: ['nolock,vers=3,udp,noatime,actimeo=1']
|
135
136
|
elsif vagrantconfig['rsync']
|
data/lib/bib/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +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.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
7
|
+
- tillk,
|
8
|
+
- fh,
|
9
|
+
- gilleyj,
|
10
|
+
- seppsepp
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
date: 2016-02-
|
14
|
+
date: 2016-02-12 00:00:00.000000000 Z
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: thor
|
@@ -169,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
170
|
version: '0'
|
170
171
|
requirements: []
|
171
172
|
rubyforge_project:
|
172
|
-
rubygems_version: 2.
|
173
|
+
rubygems_version: 2.5.1
|
173
174
|
signing_key:
|
174
175
|
specification_version: 4
|
175
176
|
summary: Centralize configuration and setup
|