activeadmin-generator 0.0.1 → 0.0.2

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.
@@ -0,0 +1,26 @@
1
+ <% if @adapter == :mysql %>
2
+ development:
3
+ adapter: mysql2
4
+ encoding: utf8
5
+ reconnect: false
6
+ database: <%= @database %>
7
+ username: <%= @username %>
8
+ password: <%= @password %>
9
+ host: 127.0.0.1
10
+ pool: 5
11
+ <% elsif @adapter == :pg %>
12
+ development:
13
+ adapter: postgresql
14
+ encoding: unicode
15
+ database: <%= @database %>
16
+ username: <%= @username %>
17
+ password: <%= @password %>
18
+ host: 127.0.0.1
19
+ pool: 5
20
+ <% elsif @adapter == :sqlite %>
21
+ development:
22
+ adapter: sqlite3
23
+ database: db/development.sqlite3
24
+ pool: 5
25
+ timeout: 5000
26
+ <% end %>
@@ -1,6 +1,6 @@
1
1
  module ActiveAdmin
2
2
  module Generator
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -108,6 +108,7 @@ files:
108
108
  - lib/active_admin/generator/templates/app/views/layouts/application.html.slim
109
109
  - lib/active_admin/generator/templates/app/views/static/homepage.html.slim
110
110
  - lib/active_admin/generator/templates/config/active_admin_initializer.rb
111
+ - lib/active_admin/generator/templates/config/database.yml
111
112
  - lib/active_admin/generator/templates/config/initializers/active_admin.rb
112
113
  - lib/active_admin/generator/templates/config/initializers/dragonfly.rb
113
114
  - lib/active_admin/generator/templates/config/locales/it.yml