Sha256: 66cc010bb3ed2d428b4dfb3662745af70b4937c20da60d6ad59a4fb03377f1cc

Contents?: true

Size: 750 Bytes

Versions: 2

Compression:

Stored size: 750 Bytes

Contents

<%- case ENV["DB"] when "mysql" -%>
default: &default
  adapter: mysql2
  encoding: utf8

development:
  <<: *default
  database: archangel_<%= options[:lib_name] %>_development

test:
  <<: *default
  database: archangel_<%= options[:lib_name] %>_test
<%- when "postgres" -%>
default: &default
  adapter: postgresql
  username: postgres

development:
  <<: *default
  database: archangel_<%= options[:lib_name] %>_development

test:
  <<: *default
  database: archangel_<%= options[:lib_name] %>_test
<%- else -%>
default: &default
  adapter: sqlite3

development:
  <<: *default
  database: db/archangel_<%= options[:lib_name] %>_development.sqlite3

test:
  <<: *default
  database: db/archangel_<%= options[:lib_name] %>_test.sqlite3
<%- end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
archangel-0.0.7 lib/generators/archangel/dummy/templates/config/database.yml
archangel-0.0.6 lib/generators/archangel/dummy/templates/config/database.yml