eivo-rails-api 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98d59893bb4d0085ea41ba1f79ec8490449a9f833fcd12df40e7eed270fcc136
|
4
|
+
data.tar.gz: 88393475fe971a0c9e2155398531d27d02b84bdb5069d559cb3e5121262390d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7569e7eebca7deb164ec7ef4f11760dd9fd8c9a1e7d6013ba286246c3904770d6504f275ac6bfc83ebeb6e5110b60da90357e7949692b03d68753c3afe496469
|
7
|
+
data.tar.gz: 42488d944d04b958398ca5d07e21f9fb6d22905c42046670c3ae91d1a28ca7237c612fe0b10b1693be489f89d9c6cec7b775cadc59c41318ded16e147036f280
|
data/eivo-rails-api.gemspec
CHANGED
@@ -33,8 +33,8 @@ module EIVO
|
|
33
33
|
|
34
34
|
template 'config/application.rb'
|
35
35
|
copy_file 'config/puma.rb'
|
36
|
-
|
37
|
-
template 'config/database.
|
36
|
+
copy_file 'config/database.example.yml'
|
37
|
+
template 'config/database.local.yml', 'config/database.yml', skip: true
|
38
38
|
|
39
39
|
copy_file 'app/controllers/application_controller.rb'
|
40
40
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
default: &default
|
2
|
+
adapter: postgresql
|
3
|
+
encoding: unicode
|
4
|
+
pool: <%%= ENV.fetch('DATABASE_POOL') { 5 } %>
|
5
|
+
host: db
|
6
|
+
username: postgres
|
7
|
+
|
8
|
+
development:
|
9
|
+
<<: *default
|
10
|
+
database: <%= @application.parameterize %>_development
|
11
|
+
|
12
|
+
test:
|
13
|
+
<<: *default
|
14
|
+
database: <%= @application.parameterize %>_test
|
15
|
+
|
16
|
+
staging:
|
17
|
+
<<: *default
|
18
|
+
database: <%= @application.parameterize %>_staging
|
19
|
+
|
20
|
+
production:
|
21
|
+
<<: *default
|
22
|
+
database: <%= @application.parameterize %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan VUKOVICH-TRIBOUHARET
|
@@ -192,6 +192,7 @@ files:
|
|
192
192
|
- lib/generators/eivo/templates/app/controllers/application_controller.rb
|
193
193
|
- lib/generators/eivo/templates/config/application.rb
|
194
194
|
- lib/generators/eivo/templates/config/database.example.yml
|
195
|
+
- lib/generators/eivo/templates/config/database.local.yml
|
195
196
|
- lib/generators/eivo/templates/config/puma.rb
|
196
197
|
- lib/generators/eivo/templates/db/migrate/enable_btree_gin_extension.rb
|
197
198
|
- lib/generators/eivo/templates/db/migrate/enable_pg_stat_statements_extension.rb
|