atech_cloud 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/atech_cloud/deploy.rb +3 -3
  2. metadata +3 -3
@@ -104,19 +104,19 @@ Capistrano::Configuration.instance(:must_exist).load do
104
104
  ## ==================================================================
105
105
  desc 'Restart the whole remote application'
106
106
  task :restart, :roles => :app do
107
- unicorn.restart
107
+ unicorn.restart unless fetch(:skip_unicorn, false)
108
108
  workers.restart if respond_to?(:workers)
109
109
  end
110
110
 
111
111
  desc 'Stop the whole remote application'
112
112
  task :stop, :roles => :app do
113
- unicorn.stop
113
+ unicorn.stop unless fetch(:skip_unicorn, false)
114
114
  workers.stop if respond_to?(:workers)
115
115
  end
116
116
 
117
117
  desc 'Start the whole remote application'
118
118
  task :start, :roles => :app do
119
- unicorn.start
119
+ unicorn.start unless fetch(:skip_unicorn, false)
120
120
  workers.start if respond_to?(:workers)
121
121
  end
122
122
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atech_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.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: 2011-11-06 00:00:00.000000000Z
12
+ date: 2013-01-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: adam@atechmedia.com
@@ -40,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
40
40
  version: '0'
41
41
  requirements: []
42
42
  rubyforge_project:
43
- rubygems_version: 1.8.10
43
+ rubygems_version: 1.8.23
44
44
  signing_key:
45
45
  specification_version: 3
46
46
  summary: The RubyGem for the aTech Cloud