capistrano-unformatt 1.7 → 1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/capistrano-unformatt.gemspec +1 -1
- data/lib/capistrano/tasks/setup.rake +0 -8
- 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: 640fbe46e7ad4591c5313ec72dac5c3b15f9585d
|
4
|
+
data.tar.gz: de944c68f0537c545984badb387bc13faaaad1ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6a89403e456127948a3c055fed820563f33f4c234b191b1e95e8bdf3fef981dd12fd9ae9ebd3038f0b1d1dfcb2d6f70336f482480c05be949b533cf769cd477
|
7
|
+
data.tar.gz: 90e37c46e4e38b5db2f88ccc7479890d566c38cc6b3fc3ffc536d12194fdc089a440b6ff2cbf8218f13182f251230d16643bd5000fa3abf164201005468ed062
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "capistrano-unformatt"
|
7
|
-
spec.version = '1.
|
7
|
+
spec.version = '1.8'
|
8
8
|
spec.authors = ["unformatt"]
|
9
9
|
spec.email = ["unformatt@gmail.com"]
|
10
10
|
spec.description = "Custom recipes for Unformatt projects"
|
@@ -25,8 +25,6 @@ namespace :deploy do
|
|
25
25
|
template "#{daemon[:name]}.monit.erb", "#{shared_path}/tmp/#{daemon[:name]}.monit", 0644
|
26
26
|
execute "sudo mv -f #{shared_path}/tmp/#{daemon[:name]}.monit #{fetch(:monit_scripts_path)}/#{fetch(:application)}-#{daemon[:name]}"
|
27
27
|
end
|
28
|
-
|
29
|
-
execute "sudo service monit reload"
|
30
28
|
end
|
31
29
|
end
|
32
30
|
|
@@ -37,7 +35,6 @@ namespace :deploy do
|
|
37
35
|
template "nginx.conf.erb", "#{shared_path}/tmp/nginx.conf", 0644
|
38
36
|
execute "sudo mv -f #{shared_path}/tmp/nginx.conf #{fetch(:nginx_path)}/sites-available/#{fetch(:application)}"
|
39
37
|
execute "sudo ln -snf #{fetch(:nginx_path)}/sites-available/#{fetch(:application)} #{fetch(:nginx_path)}/sites-enabled/#{fetch(:application)}"
|
40
|
-
execute "sudo service nginx reload"
|
41
38
|
end
|
42
39
|
end
|
43
40
|
end
|
@@ -52,14 +49,9 @@ namespace :deploy do
|
|
52
49
|
execute "sudo rm -f /etc/monit/conf.d/#{fetch(:application)}-#{daemon[:name]}"
|
53
50
|
end
|
54
51
|
|
55
|
-
if fetch(:setup_daemons, []).any?
|
56
|
-
execute "sudo service monit reload", raise_on_non_zero_exit: false
|
57
|
-
end
|
58
|
-
|
59
52
|
if fetch(:setup_nginx, false) == true
|
60
53
|
execute "sudo rm -f /etc/nginx/sites_available/#{fetch(:application)}"
|
61
54
|
execute "sudo rm -f /etc/nginx/sites_enabled/#{fetch(:application)}"
|
62
|
-
execute "sudo service nginx reload", raise_on_non_zero_exit: false
|
63
55
|
end
|
64
56
|
|
65
57
|
if fetch(:erase_deploy_folder_on_uninstall, false) == true
|