deploify 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/deploify/recipes/passenger.rb +1 -1
- data/lib/deploify/recipes/thin.rb +1 -1
- data/lib/deploify/version.rb +1 -1
- metadata +4 -4
@@ -104,7 +104,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
104
104
|
|
105
105
|
task :symlink_and_activate_passengerctl, :roles => :app do
|
106
106
|
run "#{try_sudo} ln -sf #{deploy_to}/passenger/passengerctl /etc/init.d/passenger-#{application}"
|
107
|
-
if stage.eql?(:staging)
|
107
|
+
if exists?(:stage) && fetch(:stage).eql?(:staging)
|
108
108
|
run "#{try_sudo} update-rc.d -f passenger-#{application} remove"
|
109
109
|
else
|
110
110
|
run "#{try_sudo} update-rc.d passenger-#{application} defaults"
|
@@ -85,7 +85,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
85
85
|
|
86
86
|
task :symlink_and_activate_thinctl, :roles => :app do
|
87
87
|
run "#{try_sudo} ln -sf #{deploy_to}/thin/thinctl /etc/init.d/thin-#{application}"
|
88
|
-
if stage.eql?(:staging)
|
88
|
+
if exists?(:stage) && fetch(:stage).eql?(:staging)
|
89
89
|
run "#{try_sudo} update-rc.d -f thin-#{application} remove"
|
90
90
|
else
|
91
91
|
run "#{try_sudo} update-rc.d thin-#{application} defaults"
|
data/lib/deploify/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deploify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 9
|
10
|
+
version: 0.2.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Richard Riman
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-12-
|
18
|
+
date: 2012-12-17 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: bundler
|