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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffb5c8a885cccb123942b259db41dd99aa613d77
4
- data.tar.gz: f389dafb16b8d3027861c2496f46143166eed20c
3
+ metadata.gz: f08818026116495dbc0e66ef41945be04d8262b8
4
+ data.tar.gz: 84f6a474eb6ca6122b1c7b0582ee31e3bccf840e
5
5
  SHA512:
6
- metadata.gz: 37d58ac13d159452dbb392816b9a8e0379b4a48785bb80ebe525835119df348845ef3c8ab8a94127a88c96899fb4ee52557ef00268a3e41b9653c2ccaa4216aa
7
- data.tar.gz: f71195b5edca9e1ae111a6fcdeffd31ce9582f0484181e66649a11bdd3d47dbd5ffc54b3c1db91f3e62d93cf6d8f93c8c3f675b5b6b928f36709cb1c4eb37b4a
6
+ metadata.gz: 4729fc8a0722fd6f6edc2ceefe61e50207fc97fe18cfd41de5d97819731b444710d164247df9473768ec5f27b140b589c93b647ba4465ca371eda0ae659b698e
7
+ data.tar.gz: 45ffe7ee8e614d9f3c95c347649472650f0ecb86aa8c96746d3ee21510d51e709f5a5ee651b6561d96c276f32a21220a4c04fe7744d87691a3410d583fb0aacf
@@ -21,13 +21,13 @@ namespace :puma do
21
21
 
22
22
  comment "Starting Puma..."
23
23
  command %[
24
- if [ -e '#{fetch(:pumactl_socket)}' ]; then
24
+ if [ -e "#{fetch(:pumactl_socket)}" ]; then
25
25
  echo 'Puma is already running!';
26
26
  else
27
- if [ -e '#{fetch(:puma_config)}' ]; then
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 'unix://#{fetch(:puma_socket)}' #{puma_port_option} -S #{fetch(:puma_state)} --pidfile #{fetch(:puma_pid)} --control 'unix://#{fetch(:pumactl_socket)}'
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 '#{fetch(:pumactl_socket)}' ]; then
71
- if [ -e '#{fetch(:puma_config)}' ]; then
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 'unix://#{fetch(:pumactl_socket)}' --pidfile #{fetch(:puma_pid)} #{command}
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!';
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Puma
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
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.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: 2016-12-05 00:00:00.000000000 Z
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.4.5.1
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: