eivo-rails-api 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/eivo-rails-api.gemspec +1 -1
- data/lib/generators/eivo/templates/config/puma.rb +4 -4
- 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: 293a3f3bef35b46009f162831c7cac036911d95691acd7663de201201e77cf0b
|
4
|
+
data.tar.gz: 34cea63eec948fb39809de3556d828f736b88e64a68e5569ea840d04b6fd7263
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b825140beec644c8b2a3329624dfd6ede68869436fa788b998cd1f45e24388c5bcc5e467330fc587a06589612c39bddd20f80d05552304d6e9a2449a62a9839
|
7
|
+
data.tar.gz: 882e34dc80ec565cbab69571ad8e27e9f406f1ab33ec0cb193e945e9da6276139851c8b4ca9f8a2c7b1810a32b8bbd8634a4d11bc2c3a2e10f6b11152598957d
|
data/eivo-rails-api.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
workers ENV.fetch('WEB_CONCURRENCY') { 0 }
|
4
|
-
threads_count = ENV.fetch('RAILS_MAX_THREADS') { 5 }
|
3
|
+
workers ENV.fetch('WEB_CONCURRENCY') { 0 }.to_i
|
4
|
+
threads_count = ENV.fetch('RAILS_MAX_THREADS') { 5 }.to_i
|
5
5
|
threads threads_count, threads_count
|
6
6
|
|
7
7
|
environment ENV.fetch('RAILS_ENV') { 'development' }
|
@@ -9,7 +9,7 @@ environment ENV.fetch('RAILS_ENV') { 'development' }
|
|
9
9
|
if %w[production staging].include?(ENV['RAILS_ENV'])
|
10
10
|
pidfile 'tmp/pids/puma.pid'
|
11
11
|
state_path 'tmp/pids/puma.state'
|
12
|
-
daemonize ENV.fetch('RAILS_DAEMONIZE') { false }
|
12
|
+
daemonize ActiveModel::Type::Boolean.new.cast(ENV.fetch('RAILS_DAEMONIZE') { false })
|
13
13
|
|
14
14
|
if ENV['PORT']
|
15
15
|
bind "tcp://0.0.0.0:#{ENV['PORT']}"
|
@@ -17,7 +17,7 @@ if %w[production staging].include?(ENV['RAILS_ENV'])
|
|
17
17
|
bind 'unix://tmp/sockets/puma.sock'
|
18
18
|
end
|
19
19
|
else
|
20
|
-
port ENV.fetch('PORT') { 3000 }
|
20
|
+
port ENV.fetch('PORT') { 3000 }.to_i
|
21
21
|
end
|
22
22
|
|
23
23
|
before_fork do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eivo-rails-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan VUKOVICH-TRIBOUHARET
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|