Sha256: 135439f75c362b8b2a9c432c6d6f5203e642b02b5d887db747f3bb87c2f02d28

Contents?: true

Size: 395 Bytes

Versions: 6

Compression:

Stored size: 395 Bytes

Contents

default: &default
  adapter: mysql2
  encoding: utf8
  pool: 5
  <%= "username: #{@config[:db][:user]}" if @config[:db][:user].present? %>
  <%= "password: #{@config[:db][:password]}" if @config[:db][:password].present? %>
  socket: /tmp/mysql.sock

development:
  <<: *default
  database: <%= @config[:db][:name] %>_development

test:
  <<: *default
  database: <%= @config[:db][:name] %>_test

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cambium-0.3.0 lib/generators/cambium/templates/config/database.mysql2.yml.erb
cambium-0.2.2 lib/generators/cambium/templates/config/database.mysql2.yml.erb
cambium-0.2.1 lib/generators/cambium/templates/config/database.mysql2.yml.erb
cambium-0.2.0 lib/generators/cambium/templates/config/database.mysql2.yml.erb
cambium-0.0.2 lib/generators/cambium/templates/config/database.mysql2.yml.erb
cambium-0.0.1 lib/generators/cambium/templates/config/database.mysql2.yml.erb