capistrano3-puma 0.1.2 → 0.1.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 +4 -4
- data/README.md +3 -1
- data/capistrano-puma.gemspec +1 -1
- data/capistrano3-puma.gemspec +1 -1
- data/lib/capistrano/puma/version.rb +1 -1
- data/lib/capistrano/tasks/puma.cap +1 -4
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 97b2b38d3f27b9f9e5b7ec1555b0655b29500bdd
|
|
4
|
+
data.tar.gz: 3c4abf36536864ff091c5f22030e34b2c6711cbe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab49da7d03ece76ff6de0df71287e9ebce1c59e9edd4208e0974920b06274e4a17d986d27187379e50c36e47f3a416b9caea6c4edf1dfc2718d3fa4502c56690
|
|
7
|
+
data.tar.gz: 57d168024174874977ec129a90e5af9f3e834b1dc8d6cdb52f0ea41ae7c5758cc7fb3bef680f952d642c369309232a76ccb695ad941130214757d5486b3ebc04
|
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ In the current version the gem will expect a puma.rb in the shared directory, if
|
|
|
6
6
|
|
|
7
7
|
Add this line to your application's Gemfile:
|
|
8
8
|
|
|
9
|
-
gem '
|
|
9
|
+
gem 'capistrano3-puma', github: "seuros/capistrano-puma"
|
|
10
10
|
|
|
11
11
|
or:
|
|
12
12
|
|
|
@@ -22,6 +22,7 @@ And then execute:
|
|
|
22
22
|
|
|
23
23
|
require 'capistrano/puma'
|
|
24
24
|
require 'capistrano/puma/jungle' #if you need the jungle tasks
|
|
25
|
+
require 'capistrano/puma/monit' #if you need the monit tasks
|
|
25
26
|
```
|
|
26
27
|
|
|
27
28
|
|
|
@@ -50,6 +51,7 @@ Ensure that the following directories are shared (via ``linked_dirs``):
|
|
|
50
51
|
|
|
51
52
|
## Changelog
|
|
52
53
|
|
|
54
|
+
- 0.1.3: Capistrano 3.1 support
|
|
53
55
|
- 0.1.2: Gemfile are refreshed between deploys now
|
|
54
56
|
- 0.1.1: Initial support for Monit and configuration override added.
|
|
55
57
|
- 0.1.0: Phased restart will be used if puma is in cluster mode
|
data/capistrano-puma.gemspec
CHANGED
data/capistrano3-puma.gemspec
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
namespace :deploy do
|
|
2
|
-
after :finished, 'puma:smart_restart'
|
|
3
|
-
end
|
|
4
|
-
|
|
5
1
|
namespace :load do
|
|
6
2
|
task :defaults do
|
|
7
3
|
set :puma_role, :app
|
|
@@ -91,6 +87,7 @@ namespace :puma do
|
|
|
91
87
|
invoke 'puma:restart'
|
|
92
88
|
end
|
|
93
89
|
end
|
|
90
|
+
after 'deploy:finished', 'puma:smart_restart'
|
|
94
91
|
|
|
95
92
|
def puma_workers
|
|
96
93
|
fetch(:puma_workers) || 0
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano3-puma
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Abdelkader Boudih
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-01-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.0
|
|
19
|
+
version: '3.0'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 3.0
|
|
26
|
+
version: '3.0'
|
|
27
27
|
description: Puma integration for Capistrano 3
|
|
28
28
|
email:
|
|
29
29
|
- Terminale@gmail.com
|