eivo-rails-api 0.1.1 → 0.1.2
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/install_generator.rb +2 -0
- data/lib/generators/eivo/templates/.env.example +1 -2
- data/lib/generators/eivo/templates/Procfile +1 -1
- data/lib/generators/eivo/templates/config/database.example.yml +3 -10
- data/lib/generators/eivo/templates/config/puma.rb +1 -1
- 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: 45e9a81d9ab17fd835d7468253d88671965e90c81a7759afdfc225c6b62a8e08
|
4
|
+
data.tar.gz: 3d741d2d882848aac8fb8044ae13f940bf93f3ca789be6a6034dd1f799e3d633
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 328e6ab2f20813f38c7d6e2344b82e9f9f23d13f822dd738e98913b5072a82bf074ea825cd245ce3325d9ebc057ad70b098badd0a8ebb2cb3e23cdb99d651a91
|
7
|
+
data.tar.gz: 03fd6422987189d172e2d0beca75ce4a3a641113dc51c06979fa8b482a8d706d2d7443511e68d784890576a69235aa6e85a5e0212f9dfca7d83cba10b9ea319f
|
data/eivo-rails-api.gemspec
CHANGED
@@ -67,6 +67,7 @@ module EIVO
|
|
67
67
|
#!/usr/bin/env bash
|
68
68
|
export RACK_ENV="production"
|
69
69
|
export RAILS_ENV="production"
|
70
|
+
export RAILS_DAEMONIZE="true"
|
70
71
|
|
71
72
|
EIVO_COMMAND
|
72
73
|
|
@@ -74,6 +75,7 @@ module EIVO
|
|
74
75
|
#!/usr/bin/env bash
|
75
76
|
export RACK_ENV="staging"
|
76
77
|
export RAILS_ENV="staging"
|
78
|
+
export RAILS_DAEMONIZE="true"
|
77
79
|
|
78
80
|
EIVO_COMMAND
|
79
81
|
|
@@ -1 +1 @@
|
|
1
|
-
web: bundle exec
|
1
|
+
web: bundle exec rails s
|
@@ -1,24 +1,17 @@
|
|
1
1
|
default: &default
|
2
2
|
adapter: postgresql
|
3
3
|
encoding: unicode
|
4
|
-
pool:
|
5
|
-
|
6
|
-
|
7
|
-
variables:
|
8
|
-
statement_timeout: <%%= ENV.fetch('DB_STATEMENT_TIMEOUT') { 10000 } %>
|
9
|
-
|
4
|
+
pool: <%= ENV.fetch('DATABASE_POOL') { 5 } %>
|
5
|
+
url: <%= ENV['DATABASE_URL'] %>
|
6
|
+
|
10
7
|
development:
|
11
8
|
<<: *default
|
12
|
-
database: <%= @application.parameterize %>_development
|
13
9
|
|
14
10
|
test:
|
15
11
|
<<: *default
|
16
|
-
database: <%= @application.parameterize %>_test
|
17
12
|
|
18
13
|
staging:
|
19
14
|
<<: *default
|
20
|
-
database: <%= @application.parameterize %>_staging
|
21
15
|
|
22
16
|
production:
|
23
17
|
<<: *default
|
24
|
-
database: <%= @application.parameterize %>
|
@@ -10,7 +10,7 @@ if %w[production staging].include?(ENV['RAILS_ENV'])
|
|
10
10
|
bind 'unix://tmp/sockets/puma.sock'
|
11
11
|
pidfile 'tmp/pids/puma.pid'
|
12
12
|
state_path 'tmp/pids/puma.state'
|
13
|
-
daemonize
|
13
|
+
daemonize ENV['RAILS_DAEMONIZE'].present?
|
14
14
|
else
|
15
15
|
port ENV.fetch('PORT') { 3000 }
|
16
16
|
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.2
|
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-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|