Sha256: 37fda69f7dc5f3018483dcb4a3a0b04180b568ec214bb4e8e05413f192379941

Contents?: true

Size: 752 Bytes

Versions: 3

Compression:

Stored size: 752 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 "postgresql" -%>
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

3 entries across 3 versions & 1 rubygems

Version Path
archangel-0.4.0 lib/generators/archangel/dummy/templates/config/database.yml
archangel-0.3.0 lib/generators/archangel/dummy/templates/config/database.yml
archangel-0.0.8 lib/generators/archangel/dummy/templates/config/database.yml