rbbt-util 5.27.11 → 5.27.12
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/share/rbbt_commands/app/start +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96eabb01327f6e3f5facc629140375ee06c16d160f77788cf3cee63df1fe0a55
|
|
4
|
+
data.tar.gz: 3a30f619c73fb04003c7b6dd7d1a2d2a7f8f0fed2e503892c691280a02055af9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab7cd7746f19395bbc430cfb7b90bd3c6727d9a72069828c338f9abcb69c9776a52f8a6ceeb9244764ed55d9b1ad039739d32e3de27107a5edf7f01e22d10f34
|
|
7
|
+
data.tar.gz: a9f620db6b823d54560b201fe6d706be0c6db502d1cae49100322926011702ad59e7fcdece25dcc2df8ac7cb49cfde67fd432a392b4416e492a0b4eadbeda47c
|
|
@@ -15,6 +15,7 @@ $ rbbt app start [options]
|
|
|
15
15
|
-Ho--Host* Host name
|
|
16
16
|
-B--Bind* Bind IP
|
|
17
17
|
-p--port* TCP port
|
|
18
|
+
-w--workers* Number of workers for cluster mode (puma)
|
|
18
19
|
-s--server* Server type: thin, webrick, unicorn, etc
|
|
19
20
|
-f--finder Start server with finder functionality
|
|
20
21
|
-fs--file_server Activate file serving for resources
|
|
@@ -88,6 +89,8 @@ Misc.in_dir(app_dir) do
|
|
|
88
89
|
options.each do |k,v| fixed_options[k.to_sym] = v end
|
|
89
90
|
options = fixed_options
|
|
90
91
|
|
|
92
|
+
options[:workers] = options[:workers].to_i if options[:workers]
|
|
93
|
+
|
|
91
94
|
case server
|
|
92
95
|
when 'passenger'
|
|
93
96
|
system ENV, "env RBBT_LOG=0 passenger start -R '#{config_ru_file}' -p #{options[:Port] || "2887"}"
|
|
@@ -95,6 +98,7 @@ Misc.in_dir(app_dir) do
|
|
|
95
98
|
system ENV, "puma '#{config_ru_file}' -p #{options[:Port] || "2887"} -w 3 -t 8:32 --preload"
|
|
96
99
|
else
|
|
97
100
|
options[:config] = config_ru_file
|
|
101
|
+
options[:threads] = "8:8"
|
|
98
102
|
Rack::Server.start(options)
|
|
99
103
|
end
|
|
100
104
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rbbt-util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.27.
|
|
4
|
+
version: 5.27.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Miguel Vazquez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-07-
|
|
11
|
+
date: 2020-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|