Sha256: da76a69346122164ec890a310e576ab6211a42327fd73c5a032307a32468d36d

Contents?: true

Size: 687 Bytes

Versions: 4

Compression:

Stored size: 687 Bytes

Contents

test:
  adapter: "<%= ENV["TEST_ADAPTER"] || "postgresql" %>"
  database: "<%= ENV["TEST_DATABASE"] || "sequel_rails_test" %>"
  host: "<%= ENV["TEST_DATABASE_HOST"] %>"
  <% if ENV['TEST_ADAPTER'] != 'sqlite3' %>
  owner: "<%= ENV["TEST_OWNER"] || ENV["USER"] %>"
  user: "<%= ENV["TEST_USERNAME"] || ENV["USER"] %>"
  password: "<%= ENV["TEST_PASSWORD"] %>"
  <% end %>
  <% if ENV['TEST_ADAPTER'] =~ /mysql/ %>
  encoding: "<%= ENV["TEST_ENCODING"] || "utf8" %>"
  port: "<%= ENV["TEST_DATABASE_PORT"] || "3306" %>"
  <% elsif ENV['TEST_ADAPTER'] =~ /postgres/ %>
  encoding: "<%= ENV["TEST_ENCODING"] || "unicode" %>"
  port: "<%= ENV["TEST_DATABASE_PORT"] || "5432" %>"
  <% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sequel-rails-1.2.3 spec/internal/config/database.yml
sequel-rails-1.2.2 spec/internal/config/database.yml
sequel-rails-1.2.1 spec/internal/config/database.yml
sequel-rails-1.2.0 spec/internal/config/database.yml