crapapult 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/crapapult.rb +2 -5
  3. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.6
data/lib/crapapult.rb CHANGED
@@ -200,11 +200,8 @@ Capistrano::Configuration.instance(:must_exist).load do
200
200
  end
201
201
 
202
202
  task :restart, :role => :app, :max_hosts => 1 do
203
- puts "> Stopping #{application_name}"
204
- run "#{sudo} stop #{application_name} || true"
205
- puts "> Starting #{application_name}"
206
- run "#{sudo} start #{application_name}"
207
- run "sleep 10"
203
+ puts "> Restarting #{application_name}"
204
+ run "#{sudo} stop #{application_name} ; #{sudo} start #{application_name} ; sleep 10"
208
205
  end
209
206
  end
210
207
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crapapult
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Coda Hale
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-25 00:00:00 -07:00
18
+ date: 2011-05-09 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency