eivo-rails-api 0.1.3 → 0.1.4
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 +7 -2
- 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: 6eb8fb502dfece3bbee217a7ad9b0cc1ec3addf89006a76cf5b0dc95cd4512b2
|
4
|
+
data.tar.gz: 2708e0777b8c6ff61c316c204a5008c2640d7a98f43b99427af2a22dcc728216
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 707f5dc1d2a49d3b82ad1a35788275302cad5da6295200dbe3d8e06bfae37acd5586db50fbb371b085d8d701a9831a91217e9f6cafee02dc1e1b11ab0c6cb308
|
7
|
+
data.tar.gz: 193ed57465548b16a7876ac1bdc5f34dbf816d26fb5c41c0b0ac63329cf212246a1ae9d13a0e75e0f7853cb9e7df410b6c2baaa52301e1ff3c0ff13f2fd858bb
|
data/eivo-rails-api.gemspec
CHANGED
@@ -7,10 +7,15 @@ threads threads_count, threads_count
|
|
7
7
|
environment ENV.fetch('RAILS_ENV') { 'development' }
|
8
8
|
|
9
9
|
if %w[production staging].include?(ENV['RAILS_ENV'])
|
10
|
-
bind 'unix://tmp/sockets/puma.sock'
|
11
10
|
pidfile 'tmp/pids/puma.pid'
|
12
11
|
state_path 'tmp/pids/puma.state'
|
13
|
-
daemonize ENV['RAILS_DAEMONIZE'].
|
12
|
+
daemonize !ENV['RAILS_DAEMONIZE'].nil?
|
13
|
+
|
14
|
+
if ENV['PORT']
|
15
|
+
bind "tcp://0.0.0.0:#{ENV['PORT']}"
|
16
|
+
else
|
17
|
+
bind 'unix://tmp/sockets/puma.sock'
|
18
|
+
end
|
14
19
|
else
|
15
20
|
port ENV.fetch('PORT') { 3000 }
|
16
21
|
end
|
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.4
|
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-
|
11
|
+
date: 2020-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|