capistrano3-puma 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -2
- data/capistrano3-puma.gemspec +1 -1
- data/lib/capistrano/puma/jungle.rb +1 -1
- data/lib/capistrano/puma/monit.rb +1 -1
- data/lib/capistrano/puma/version.rb +1 -1
- data/lib/capistrano/puma/workers.rb +1 -1
- data/lib/capistrano/tasks/jungle.cap +1 -1
- data/lib/capistrano/tasks/monit.cap +1 -1
- data/lib/capistrano/tasks/workers.cap +1 -1
- data/lib/capistrano/templates/puma-rpm.erb +2 -2
- metadata +17 -4
- data/capistrano-puma.gemspec +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72adcf17b7df644935888f2db4d54f8768fa37e3
|
4
|
+
data.tar.gz: 6339c8ae779638584d8bd2cf5cb58f53979504bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a72c7686a9d3b45c02b7a20a88f444cddf9f9eabb0efca4367e5b31d5130cd686004a9a681157d90a79afd132c4fff8600ffb230e897500169c35a8efc0c443
|
7
|
+
data.tar.gz: 10d90221ff1886edab8ce24e3f5347d5cb3899eded6ef36a87b14c018a20fb7418ad94f86195bf04dc8c64cfd5984e430cc17e4ce2131086a29fc759088ea4e6
|
data/README.md
CHANGED
@@ -8,7 +8,7 @@ Add this line to your application's Gemfile:
|
|
8
8
|
|
9
9
|
or:
|
10
10
|
|
11
|
-
gem 'capistrano3-puma'
|
11
|
+
gem 'capistrano3-puma' , group: :development
|
12
12
|
|
13
13
|
And then execute:
|
14
14
|
|
@@ -47,11 +47,26 @@ For Jungle tasks (beta), these options exist:
|
|
47
47
|
set :puma_jungle_conf, '/etc/puma.conf'
|
48
48
|
set :puma_run_path, '/usr/local/bin/run-puma'
|
49
49
|
```
|
50
|
+
|
51
|
+
Multi-bind can be set with an array in the puma_bind variable
|
52
|
+
```ruby
|
53
|
+
set :puma_bind, %w(tcp://0.0.0.0:9292 unix:///tmp/puma.sock)
|
54
|
+
```
|
55
|
+
* Listening on tcp://0.0.0.0:9220
|
56
|
+
* Listening on unix:///tmp/puma.sock
|
57
|
+
|
58
|
+
|
59
|
+
For ActiveRecord the following line to your deploy.rb
|
60
|
+
```ruby
|
61
|
+
set :puma_init_active_record, true
|
62
|
+
```
|
63
|
+
|
50
64
|
Ensure that the following directories are shared (via ``linked_dirs``):
|
51
65
|
|
52
66
|
tmp/pids tmp/sockets log
|
53
67
|
|
54
68
|
## Changelog
|
69
|
+
- 0.5.0: Bugs fixes
|
55
70
|
- 0.4.2: Fix monit template to support chruby
|
56
71
|
- 0.4.1: Fix puma jungle (debian)
|
57
72
|
- 0.4.0: Multi-bind support
|
@@ -82,7 +97,7 @@ Ensure that the following directories are shared (via ``linked_dirs``):
|
|
82
97
|
- [molfar](https://github.com/molfar)
|
83
98
|
- [ayaya](https://github.com/ayamomiji)
|
84
99
|
- [Shane O'Grady](https://github.com/shaneog)
|
85
|
-
|
100
|
+
- [Jun Lin](https://github.com/linjunpop)
|
86
101
|
|
87
102
|
## Contributing
|
88
103
|
|
data/capistrano3-puma.gemspec
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# Load jungle tasks
|
2
2
|
load File.expand_path('../../tasks/jungle.cap', __FILE__)
|
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# Load monit tasks
|
2
2
|
load File.expand_path('../../tasks/monit.cap', __FILE__)
|
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# Load monit tasks
|
2
2
|
load File.expand_path('../../tasks/workers.cap', __FILE__)
|
@@ -8,11 +8,11 @@
|
|
8
8
|
# processname: puma
|
9
9
|
# config: /etc/puma.conf
|
10
10
|
# pidfile: /home/stanislaw/apps/micro-apps/puma/puma.pid
|
11
|
-
# Author: Darío Javier Cravero <dario@exordo.com>
|
11
|
+
# Author: Darío Javier Cravero <'dario@exordo.com'>
|
12
12
|
#
|
13
13
|
# Do NOT "set -e"
|
14
14
|
# Original script https://github.com/puma/puma/blob/master/tools/jungle/puma
|
15
|
-
# It was modified here by Stanislaw Pankevich <s.pankevich@gmail.com>
|
15
|
+
# It was modified here by Stanislaw Pankevich <'s.pankevich@gmail.com'>
|
16
16
|
# to run on CentOS 5.5 boxes.
|
17
17
|
# Script works perfectly on CentOS 5: script uses its native daemon().
|
18
18
|
# Puma is being stopped/restarted by sending signals, control app is not used.
|
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.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abdelkader Boudih
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: puma
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.6'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.6'
|
27
41
|
description: Puma integration for Capistrano 3
|
28
42
|
email:
|
29
43
|
- Terminale@gmail.com
|
@@ -36,7 +50,6 @@ files:
|
|
36
50
|
- LICENSE.txt
|
37
51
|
- README.md
|
38
52
|
- Rakefile
|
39
|
-
- capistrano-puma.gemspec
|
40
53
|
- capistrano3-puma.gemspec
|
41
54
|
- lib/capistrano-puma.rb
|
42
55
|
- lib/capistrano/puma.rb
|
@@ -73,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
86
|
version: '0'
|
74
87
|
requirements: []
|
75
88
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.
|
89
|
+
rubygems_version: 2.0.3
|
77
90
|
signing_key:
|
78
91
|
specification_version: 4
|
79
92
|
summary: Puma integration for Capistrano
|
data/capistrano-puma.gemspec
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
# This file is kept for backward compatibility only.
|
3
|
-
lib = File.expand_path('../lib', __FILE__)
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'capistrano/puma/version'
|
6
|
-
|
7
|
-
Gem::Specification.new do |spec|
|
8
|
-
spec.name = 'capistrano-puma'
|
9
|
-
spec.version = Capistrano::Puma::VERSION
|
10
|
-
spec.authors = ['Abdelkader Boudih']
|
11
|
-
spec.email = ['Terminale@gmail.com']
|
12
|
-
spec.description = %q{Puma integration for Capistrano 3}
|
13
|
-
spec.summary = %q{Puma integration for Capistrano}
|
14
|
-
spec.homepage = 'https://github.com/seuros/capistrano-puma'
|
15
|
-
spec.license = 'MIT'
|
16
|
-
|
17
|
-
spec.required_ruby_version = '>= 1.9.3'
|
18
|
-
|
19
|
-
spec.files = `git ls-files`.split($/)
|
20
|
-
spec.require_paths = ['lib']
|
21
|
-
|
22
|
-
spec.add_dependency 'capistrano', '~> 3.0'
|
23
|
-
# spec.add_dependency 'puma' , '~> 0'
|
24
|
-
|
25
|
-
end
|