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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf31b4a87091f449025baac69f4dd2d4d839be96
4
- data.tar.gz: fc06b239f0f5b4e8b3931ef2d921956cb901fea6
3
+ metadata.gz: 640fbe46e7ad4591c5313ec72dac5c3b15f9585d
4
+ data.tar.gz: de944c68f0537c545984badb387bc13faaaad1ae
5
5
  SHA512:
6
- metadata.gz: 36351bbe32175ba513da489554369ee55f5a8a463fccfae7cdf025d42c592831791def19826452135957dd5d71365617afe453a3e557b6dc6266e862594fc253
7
- data.tar.gz: ef5b66af1ff32e77c62e649a0c6b90448e2f553e37591ef5e664521846cdc04ac82faba70af0f97d39d01bd169bff598555be40f7f4e0a08c000fa297fdbd0ef
6
+ metadata.gz: a6a89403e456127948a3c055fed820563f33f4c234b191b1e95e8bdf3fef981dd12fd9ae9ebd3038f0b1d1dfcb2d6f70336f482480c05be949b533cf769cd477
7
+ data.tar.gz: 90e37c46e4e38b5db2f88ccc7479890d566c38cc6b3fc3ffc536d12194fdc089a440b6ff2cbf8218f13182f251230d16643bd5000fa3abf164201005468ed062
data/CHANGELOG.md CHANGED
@@ -53,3 +53,7 @@
53
53
  ## v1.7
54
54
 
55
55
  * Fix on plural for config on setup variable
56
+
57
+ ## v1.8
58
+
59
+ * Remove configuration reloads from setup
@@ -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'
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-unformatt
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.7'
4
+ version: '1.8'
5
5
  platform: ruby
6
6
  authors:
7
7
  - unformatt