marcosgz-cap-recipe 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
15
15
|
namespace :create do
|
16
16
|
task :dirs, :roles => :app do
|
17
17
|
deploy.setup
|
18
|
-
commands = %w(config uploads backup bundle pids tmp/cache public/cache).map do |path|
|
18
|
+
commands = %w(config sockets uploads backup bundle pids tmp/cache public/cache).map do |path|
|
19
19
|
"if [ ! -d '#{path}' ]; then mkdir -p #{path}; fi;"
|
20
20
|
end
|
21
21
|
run "cd #{shared_path}; #{commands.join(' ')}"
|
@@ -19,12 +19,12 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
19
19
|
desc "Remove passenger config"
|
20
20
|
task :remove, :roles => :app, :except => { :no_release => true } do
|
21
21
|
passenger.disable
|
22
|
-
run "rm #{_passenger_available_vhost}"
|
22
|
+
run "if [ -e #{_passenger_available_vhost} ]; then rm #{_passenger_available_vhost}; fi"
|
23
23
|
end
|
24
24
|
|
25
25
|
desc "Disable passenger config"
|
26
26
|
task :disable, :roles => :app, :except => { :no_release => true } do
|
27
|
-
run "rm #{_passenger_enabled_vhost}"
|
27
|
+
run "if [ -e #{_passenger_enabled_vhost} ]; then rm #{_passenger_enabled_vhost}; fi"
|
28
28
|
end
|
29
29
|
|
30
30
|
desc "Enable passenger config"
|
data/marcosgz-cap-recipe.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "marcosgz-cap-recipe"
|
6
|
-
s.version = "0.0.
|
6
|
+
s.version = "0.0.11"
|
7
7
|
s.authors = ["Marcos G. Zimmermann"]
|
8
8
|
s.email = ["mgzmaster@gmail.com"]
|
9
9
|
s.homepage = "https://github.com/marcosgz/capistrano-recipe"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marcosgz-cap-recipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
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
|
+
date: 2013-06-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|