Sha256: 4c210940fd7b80cb4d512262d37fb64ff6707034106ad1245e2681b0e2350311
Contents?: true
Size: 678 Bytes
Versions: 6
Compression:
Stored size: 678 Bytes
Contents
<% database_prefix = ENV['LIB_NAME'].presence || "solidus" %> <% case ENV['DB'] when 'mysql' %> test: adapter: mysql2 <% if ENV['TRAVIS'] %> username: root password: <% end %> database: <%= database_prefix %>_test encoding: utf8 <% when 'postgres', 'postgresql' %> <% db_host = ENV['DB_HOST'] %> test: adapter: postgresql database: <%= database_prefix %>_test username: postgres min_messages: warning <% unless db_host.blank? %> host: <%= db_host %> <% end %> <% when 'sqlite', '', nil %> test: adapter: sqlite3 database: db/<%= database_prefix %>_test.sqlite3 timeout: 10000 <% else %> <% raise "Invalid DB specified: #{ENV['DB']}" %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems