deploify 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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"
@@ -1,7 +1,7 @@
1
1
  module Deploify
2
2
  MAJOR = 0
3
3
  MINOR = 2
4
- PATCH = 8
4
+ PATCH = 9
5
5
  BUILD = nil
6
6
 
7
7
  if BUILD.nil?
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: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 8
10
- version: 0.2.8
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-09 00:00:00 Z
18
+ date: 2012-12-17 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler