vagrant-symfony 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -20,9 +20,12 @@ module VagrantSymfony
|
|
20
20
|
folder = root + '/' + folder
|
21
21
|
end
|
22
22
|
file = vm.config.symfony.nginxHostfile
|
23
|
-
vm.
|
24
|
-
|
25
|
-
|
23
|
+
communicator = vm.communicate
|
24
|
+
if communicator.ready?
|
25
|
+
env[:ui].info "Updating web directory and reloading config..."
|
26
|
+
vm.communicate.sudo "sed -i 's@root .*;@root #{folder};@g' #{file}"
|
27
|
+
vm.communicate.sudo "service nginx reload"
|
28
|
+
end
|
26
29
|
end
|
27
30
|
end
|
28
31
|
end
|
@@ -9,7 +9,7 @@ module VagrantSymfony
|
|
9
9
|
|
10
10
|
def build_command(vm)
|
11
11
|
command = Shellwords.join(@argv)
|
12
|
-
command = '--ansi ' + command if support_color
|
12
|
+
# command = '--ansi ' + command if support_color
|
13
13
|
name = vm.config.symfony.commandName
|
14
14
|
in_working_directory(vm, "#{name} #{command}")
|
15
15
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-symfony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -43,7 +43,7 @@ files:
|
|
43
43
|
- lib/vagrant-symfony/version.rb
|
44
44
|
- lib/vagrant-symfony/which.rb
|
45
45
|
- lib/vagrant-symfony.rb
|
46
|
-
- pkg/vagrant-symfony-0.1.
|
46
|
+
- pkg/vagrant-symfony-0.1.1.gem
|
47
47
|
- Rakefile
|
48
48
|
- vagrant-symfony.gemspec
|
49
49
|
- .gitignore
|
@@ -62,7 +62,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
version: '0'
|
63
63
|
segments:
|
64
64
|
- 0
|
65
|
-
hash:
|
65
|
+
hash: 3937921216718911002
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
none: false
|
68
68
|
requirements:
|