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: 83c4774fa00109a8ac0e94b5e4835542c92ee190b6e32183a7984bab56564f86
4
- data.tar.gz: ff38154e2cefe90426bd08c03073896202b0692ff0fdb4e93f4f09cb5839775e
3
+ metadata.gz: 530faeb242e33f72665a863ae0f2a302f099db8ec6a185a0b63cb8957dfd7907
4
+ data.tar.gz: 982edb5f847159ba42ceeacb7dc477a24d070dd905a4a25842dc38f474bca2f6
5
5
  SHA512:
6
- metadata.gz: f9c3aa4170d18fa0fa306d5f50430b9e0aa52479c3de75996bd5460cd8b5b8bb6ea901040be3383d7ad6e41dccbe238b18d1bc716de11c257f245ba4dfae7ca8
7
- data.tar.gz: 4f72c7ed8859c9ff3edc2d1db152be487faa37e15b0c153ee3a8433b2ffbac5331ff9a7a07f73a2bb700329ef9baf96b16a293bf56e0813153260bbc1f77f662
6
+ metadata.gz: 92d08ccef6a1a84a4d6954a52d704e11616db072a7a4ad91faffced551406974ffbe133f22742400b2e7128b15a5d70f892f524141c678a85ed6709d7150fcb6
7
+ data.tar.gz: fffcf55d40069cb83b60db3a9870d2bcaa8beb9d527ed63019acb8b4bce2d5b6dbc71d33d136ce307f8d6f76d0bb78bff3ccb738a8b0cccf171da21ddc55e552
data/eivo-rails.gemspec CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'eivo-rails'
7
- spec.version = '0.1.3'
7
+ spec.version = '0.1.4'
8
8
  spec.authors = ['Jonathan VUKOVICH-TRIBOUHARET']
9
9
  spec.email = ['jonathan@eivo.co']
10
10
 
@@ -33,8 +33,8 @@ module EIVO
33
33
 
34
34
  template 'config/application.rb'
35
35
  copy_file 'config/puma.rb'
36
- template 'config/database.example.yml'
37
- template 'config/database.example.yml', 'config/database.yml', skip: true
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.3
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