capistrano-generals 0.1.4 → 0.1.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5cfafd2788270fa55b0f631c3a66da6621bdc50
|
4
|
+
data.tar.gz: 4a866226d9a0000ac70b7a2010276478059387d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdd94fba01c7372f6037742824a9daa6e86d2f819b05a4f7a5055e25164a56637d431aece1913f04a76a1cfb0e21ebbe418abca7f77e74549fdf302e4b84d965
|
7
|
+
data.tar.gz: fdd93d1e0f96671ae8911d8a88fb47e2a46b4955f93a8c98c55816a3c25b215124f4deaf12fc1281f9ed4694ae150a08388450bcfa5a3d03dd067aa286729589
|
@@ -17,6 +17,18 @@ module Capistrano
|
|
17
17
|
def puma_default_pid_file
|
18
18
|
shared_path.join('tmp/pids/puma.pid')
|
19
19
|
end
|
20
|
+
|
21
|
+
def puma_log_dir
|
22
|
+
shared_path.join('log')
|
23
|
+
end
|
24
|
+
|
25
|
+
def puma_log_file
|
26
|
+
puma_log_dir.join(fetch(:puma_log))
|
27
|
+
end
|
28
|
+
|
29
|
+
def puma_error_log_file
|
30
|
+
puma_log_dir.join(fetch(:puma_error_log))
|
31
|
+
end
|
20
32
|
end
|
21
33
|
end
|
22
34
|
end
|
@@ -50,6 +50,8 @@ namespace :load do
|
|
50
50
|
set :puma_preload_app, true
|
51
51
|
set :puma_pid, -> { puma_default_pid_file } # shared_path/tmp/pids/puma.pid
|
52
52
|
set :puma_config, -> { puma_default_config_file } # shared_path/config/puma.rb
|
53
|
+
set :puma_log, 'puma.log'
|
54
|
+
set :puma_error_log, 'puma.log'
|
53
55
|
set :puma_workers, 2
|
54
56
|
set :puma_worker_timeout, 30
|
55
57
|
set :puma_min_threads, 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-generals
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stef Schenkelaars
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|