Sha256: 4b9b0e53bbd8c417f9c99424a101e56a341a10413ff2a027ed72d5cd4fc278b4
Contents?: true
Size: 677 Bytes
Versions: 3
Compression:
Stored size: 677 Bytes
Contents
<% if ENV["DATABASE"] == "mysql" %> test: adapter: mysql2 database: gutentag username: <%= ENV.fetch("DB_USERNAME", "root") %> <% if ENV["DB_HOST"] %> host: <%= ENV["DB_HOST"] %> <% end %> <% if ENV["DB_PASSWORD"] %> password: <%= ENV["DB_PASSWORD"] %> <% end %> <% elsif ENV["DATABASE"] == "postgres" %> test: adapter: postgresql database: gutentag <% if ENV["DB_HOST"] %> host: <%= ENV["DB_HOST"] %> <% end %> <% if ENV["DB_USERNAME"] %> username: <%= ENV["DB_USERNAME"] %> <% end %> <% if ENV["DB_PASSWORD"] %> password: <%= ENV["DB_PASSWORD"] %> <% end %> <% else %> test: adapter: sqlite3 database: db/gutentag.sqlite <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gutentag-2.6.1 | spec/internal/config/database.yml |
gutentag-2.6.0 | spec/internal/config/database.yml |
gutentag-2.5.4 | spec/internal/config/database.yml |