biola_deploy 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/biola_deploy/version.rb +1 -1
- data/lib/tasks/deploy.rake +2 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2c6f0ab4aea07277832c8334eabe58f40348dd6
|
4
|
+
data.tar.gz: 3d94a21eaac08e503f27289979b9e83e28909008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df0362a270ab25a15d76618af08dba13d64175c675ecce225f7911c95387a1827694b42040b6adb5c373e469a2a1da81c634e5ae5a54a751ea20ce3327b6f220
|
7
|
+
data.tar.gz: 98b5b5313a19b9e5c7d0b0b1a5d3fd49b423a686956c8058ea70e5b646c9b26c09ce3e0754da2fd30b466af153babfd235a83891c0fb6bb6a89d9ba9906c348e
|
data/lib/biola_deploy/version.rb
CHANGED
data/lib/tasks/deploy.rake
CHANGED
@@ -45,11 +45,10 @@ namespace :deploy do
|
|
45
45
|
desc 'Trigger an application restart'
|
46
46
|
task :restart_app do
|
47
47
|
if_rails_loads 'application restart' do
|
48
|
-
restart_file = 'tmp/restart.txt'
|
49
48
|
|
50
49
|
Dir.chdir(app_dir) do
|
51
|
-
if
|
52
|
-
FileUtils.touch
|
50
|
+
if Dir.exists? 'tmp'
|
51
|
+
FileUtils.touch 'tmp/restart.txt'
|
53
52
|
end
|
54
53
|
end
|
55
54
|
end
|