capistrano-simple-unicorn 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 173d6e2cc08eb091bd7de0caba182a0263e0e1bc
|
|
4
|
+
data.tar.gz: 594ce78db0f933fca210e6c58d3b934ecf76d9c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52787d263bbbc18ddebd5a437acfd3f55d19a87f1d6d445163e9003ceeff9fce2a901fb46456041b9138516d0a7378bf13f610cd171718304c2381b24b28bba5
|
|
7
|
+
data.tar.gz: f1e5e91d90678137041af9f2608f54a3f3ed6adf260c8acf305b01efc1604c9ad528f1a7a24367ae9ded03f989fa756224fb445a9afbb2d001818c0699f17630
|
|
@@ -15,7 +15,6 @@ Gem::Specification.new do |s|
|
|
|
15
15
|
Support for Ubuntu server and Centos, EC2... server same fedora, .
|
|
16
16
|
This gem customize from https://github.com/bruno-/capistrano-unicorn-nginx
|
|
17
17
|
EOF
|
|
18
|
-
s.description = "Capistrano deploy rails app with unicorn zero downtime."
|
|
19
18
|
s.authors = ["truongkma"]
|
|
20
19
|
s.email = 'nd.truong1902@gmail.com'
|
|
21
20
|
s.files = `git ls-files`.split("\n")
|
|
@@ -42,6 +42,15 @@ namespace :unicorn do
|
|
|
42
42
|
end
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
%w[start stop restart reload].each do |action|
|
|
46
|
+
desc "#{action} unicorn"
|
|
47
|
+
task action do
|
|
48
|
+
on roles :app do
|
|
49
|
+
sudo :service, fetch(:unicorn_service), action
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
45
54
|
desc 'restart unicorn'
|
|
46
55
|
task 'restart' do
|
|
47
56
|
on roles :app do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-simple-unicorn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- truongkma
|
|
@@ -52,7 +52,12 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
-
description:
|
|
55
|
+
description: |
|
|
56
|
+
Capistrano tasks for automatic and sensible unicorn configuration
|
|
57
|
+
Work *only* with Capistrano 3+
|
|
58
|
+
Enable Zero downtime deployments of rails application.
|
|
59
|
+
Support for Ubuntu server and Centos, EC2... server same fedora, .
|
|
60
|
+
This gem customize from https://github.com/bruno-/capistrano-unicorn-nginx
|
|
56
61
|
email: nd.truong1902@gmail.com
|
|
57
62
|
executables: []
|
|
58
63
|
extensions: []
|