eivo-rails 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/eivo-rails.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: 83c4774fa00109a8ac0e94b5e4835542c92ee190b6e32183a7984bab56564f86
|
4
|
+
data.tar.gz: ff38154e2cefe90426bd08c03073896202b0692ff0fdb4e93f4f09cb5839775e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9c3aa4170d18fa0fa306d5f50430b9e0aa52479c3de75996bd5460cd8b5b8bb6ea901040be3383d7ad6e41dccbe238b18d1bc716de11c257f245ba4dfae7ca8
|
7
|
+
data.tar.gz: 4f72c7ed8859c9ff3edc2d1db152be487faa37e15b0c153ee3a8433b2ffbac5331ff9a7a07f73a2bb700329ef9baf96b16a293bf56e0813153260bbc1f77f662
|
data/eivo-rails.gemspec
CHANGED
@@ -70,6 +70,7 @@ module EIVO
|
|
70
70
|
export RACK_ENV="production"
|
71
71
|
export RAILS_ENV="production"
|
72
72
|
export NODE_ENV="production"
|
73
|
+
export RAILS_DAEMONIZE="true"
|
73
74
|
|
74
75
|
EIVO_COMMAND
|
75
76
|
|
@@ -78,6 +79,7 @@ module EIVO
|
|
78
79
|
export RACK_ENV="staging"
|
79
80
|
export RAILS_ENV="staging"
|
80
81
|
export NODE_ENV="production"
|
82
|
+
export RAILS_DAEMONIZE="true"
|
81
83
|
|
82
84
|
EIVO_COMMAND
|
83
85
|
|
@@ -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
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
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
|