mina-puma 1.0.0 → 1.0.1
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/lib/mina/puma/tasks.rake +6 -6
- data/lib/mina/puma/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f08818026116495dbc0e66ef41945be04d8262b8
|
|
4
|
+
data.tar.gz: 84f6a474eb6ca6122b1c7b0582ee31e3bccf840e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4729fc8a0722fd6f6edc2ceefe61e50207fc97fe18cfd41de5d97819731b444710d164247df9473768ec5f27b140b589c93b647ba4465ca371eda0ae659b698e
|
|
7
|
+
data.tar.gz: 45ffe7ee8e614d9f3c95c347649472650f0ecb86aa8c96746d3ee21510d51e709f5a5ee651b6561d96c276f32a21220a4c04fe7744d87691a3410d583fb0aacf
|
data/lib/mina/puma/tasks.rake
CHANGED
|
@@ -21,13 +21,13 @@ namespace :puma do
|
|
|
21
21
|
|
|
22
22
|
comment "Starting Puma..."
|
|
23
23
|
command %[
|
|
24
|
-
if [ -e
|
|
24
|
+
if [ -e "#{fetch(:pumactl_socket)}" ]; then
|
|
25
25
|
echo 'Puma is already running!';
|
|
26
26
|
else
|
|
27
|
-
if [ -e
|
|
27
|
+
if [ -e "#{fetch(:puma_config)}" ]; then
|
|
28
28
|
cd #{fetch(:puma_root_path)} && #{fetch(:puma_cmd)} -q -d -e #{fetch(:puma_env)} -C #{fetch(:puma_config)}
|
|
29
29
|
else
|
|
30
|
-
cd #{fetch(:puma_root_path)} && #{fetch(:puma_cmd)} -q -d -e #{fetch(:puma_env)} -b
|
|
30
|
+
cd #{fetch(:puma_root_path)} && #{fetch(:puma_cmd)} -q -d -e #{fetch(:puma_env)} -b "unix://#{fetch(:puma_socket)}" #{puma_port_option} -S #{fetch(:puma_state)} --pidfile #{fetch(:puma_pid)} --control 'unix://#{fetch(:pumactl_socket)}'
|
|
31
31
|
fi
|
|
32
32
|
fi
|
|
33
33
|
]
|
|
@@ -67,11 +67,11 @@ namespace :puma do
|
|
|
67
67
|
|
|
68
68
|
def pumactl_command(command)
|
|
69
69
|
cmd = %{
|
|
70
|
-
if [ -e
|
|
71
|
-
if [ -e
|
|
70
|
+
if [ -e "#{fetch(:pumactl_socket)}" ]; then
|
|
71
|
+
if [ -e "#{fetch(:puma_config)}" ]; then
|
|
72
72
|
cd #{fetch(:puma_root_path)} && #{fetch(:pumactl_cmd)} -F #{fetch(:puma_config)} #{command}
|
|
73
73
|
else
|
|
74
|
-
cd #{fetch(:puma_root_path)} && #{fetch(:pumactl_cmd)} -S #{fetch(:puma_state)} -C
|
|
74
|
+
cd #{fetch(:puma_root_path)} && #{fetch(:pumactl_cmd)} -S #{fetch(:puma_state)} -C "unix://#{fetch(:pumactl_socket)}" --pidfile #{fetch(:puma_pid)} #{command}
|
|
75
75
|
fi
|
|
76
76
|
else
|
|
77
77
|
echo 'Puma is not running!';
|
data/lib/mina/puma/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mina-puma
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Sandelius
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mina
|
|
@@ -102,9 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
104
|
rubyforge_project:
|
|
105
|
-
rubygems_version: 2.
|
|
105
|
+
rubygems_version: 2.6.8
|
|
106
106
|
signing_key:
|
|
107
107
|
specification_version: 4
|
|
108
108
|
summary: Puma tasks for Mina
|
|
109
109
|
test_files: []
|
|
110
|
-
has_rdoc:
|