capistrano-simple-unicorn 0.0.2 → 0.0.3

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: b16978f11e24cc60f9ab882e327f48e5f17dc6c8
4
- data.tar.gz: 17ec68058675a32d8364441f8fd2931c8b52ba51
3
+ metadata.gz: 173d6e2cc08eb091bd7de0caba182a0263e0e1bc
4
+ data.tar.gz: 594ce78db0f933fca210e6c58d3b934ecf76d9c7
5
5
  SHA512:
6
- metadata.gz: c82f651a8440fb02141162faa6c1432ea115efb3e893ef1bb174d4d24de9f8dc3efd2d5b9439ce2f7a8930bb0ddd3ef90ad3d365aee8b110d8e806c999d13a43
7
- data.tar.gz: 6bcdc1f29d4a867cbe04cd58f5a069c520b1a01222e605ae9e9de5051f363cf62f67769be28be94d07f5b811ab49b204af7535972d198c735615a3189a2106c2
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")
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module SimpleUnicorn
3
- VERSION = '0.0.2'.freeze
3
+ VERSION = '0.0.3'.freeze
4
4
  end
5
5
  end
@@ -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.2
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: Capistrano deploy rails app with unicorn zero downtime.
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: []