mina-puma 0.3.1 → 0.3.2

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: ec8d8e3d46e9330675e9e53626b41a05a92e6136
4
- data.tar.gz: 5cb6f6d8a4a79f1941b07db8ef2d32741a59d792
3
+ metadata.gz: af9f8cd34d7ef22a969cd570647da2f111327368
4
+ data.tar.gz: ac6df3fa3d29f4ff42e4fe9881dbcd999075e598
5
5
  SHA512:
6
- metadata.gz: b411b443e66c7eae0e5609245d205946a766f53471c51a407e1bb373abd884d385b036f70abf1b2e0b039f28a068e0a3750fb6473d3c538ff104dc5f624e8a82
7
- data.tar.gz: 4e366867bf5ecf8195b44a2cec285be6db7155506c47f8f6be2daa396e4b57c79bb1e81482f7ceb09d240a909397ba70eacad37b36de3532776a45ce30288102
6
+ metadata.gz: dfd33110d2af4e327bbd2ee9961bf2b1bd7e96833dbef50772cd18ab1efd68beb5ef2b9348b999248d1b577a885299501bbc1483085a7dc37e26adda94b25fdf
7
+ data.tar.gz: 69421ec3febad20a175e4e1e3c590433fdc731d7acc5128e3b2bb12c747132dbd69ce26a4bc66366559b3523ab119d6d163f248b32f87baa1ee27e23a31de319
@@ -16,6 +16,8 @@ namespace :puma do
16
16
 
17
17
  desc 'Start puma'
18
18
  task :start => :environment do
19
+ puma_port_option = "-p #{puma_port}" if puma_port
20
+
19
21
  queue! %[
20
22
  if [ -e '#{pumactl_socket}' ]; then
21
23
  echo 'Puma is already running!';
@@ -23,7 +25,7 @@ namespace :puma do
23
25
  if [ -e '#{puma_config}' ]; then
24
26
  cd #{deploy_to}/#{current_path} && #{puma_cmd} -q -d -e #{puma_env} -C #{puma_config}
25
27
  else
26
- cd #{deploy_to}/#{current_path} && #{puma_cmd} -q -d -e #{puma_env} -b 'unix://#{puma_socket}' -S #{puma_state} --pidfile #{puma_pid} --control 'unix://#{pumactl_socket}'
28
+ cd #{deploy_to}/#{current_path} && #{puma_cmd} -q -d -e #{puma_env} -b 'unix://#{puma_socket}' #{puma_port_option} -S #{puma_state} --pidfile #{puma_pid} --control 'unix://#{pumactl_socket}'
27
29
  fi
28
30
  fi
29
31
  ]
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Puma
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
data/mina-puma.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'mina'
21
+ spec.add_dependency 'mina', '< 1.0.0'
22
22
  spec.add_dependency 'puma', '>= 2.13'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.3'
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-puma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
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-06-07 00:00:00.000000000 Z
11
+ date: 2016-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mina
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.0.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: '0'
26
+ version: 1.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: puma
29
29
  requirement: !ruby/object:Gem::Requirement