eivo-rails 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 530faeb242e33f72665a863ae0f2a302f099db8ec6a185a0b63cb8957dfd7907
|
4
|
+
data.tar.gz: 982edb5f847159ba42ceeacb7dc477a24d070dd905a4a25842dc38f474bca2f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92d08ccef6a1a84a4d6954a52d704e11616db072a7a4ad91faffced551406974ffbe133f22742400b2e7128b15a5d70f892f524141c678a85ed6709d7150fcb6
|
7
|
+
data.tar.gz: fffcf55d40069cb83b60db3a9870d2bcaa8beb9d527ed63019acb8b4bce2d5b6dbc71d33d136ce307f8d6f76d0bb78bff3ccb738a8b0cccf171da21ddc55e552
|
data/eivo-rails.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
|
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
|
@@ -162,6 +162,7 @@ files:
|
|
162
162
|
- lib/generators/eivo/templates/app/controllers/application_controller.rb
|
163
163
|
- lib/generators/eivo/templates/config/application.rb
|
164
164
|
- lib/generators/eivo/templates/config/database.example.yml
|
165
|
+
- lib/generators/eivo/templates/config/database.local.yml
|
165
166
|
- lib/generators/eivo/templates/config/puma.rb
|
166
167
|
- lib/generators/eivo/templates/db/migrate/enable_btree_gin_extension.rb
|
167
168
|
- lib/generators/eivo/templates/db/migrate/enable_pg_stat_statements_extension.rb
|