Sha256: 529658e9a64fdfadeef41ce7f46d02d12f03936e0b5fdbb84697990635ef5725

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

# rake spec will try to run the integration specs on all the following 
# database connections to test the different adapters.
#
# The syntax of this file is similar to the database.yml file in a
# Rails application. You can change these parameters to your setup,
# or comment them out if you have no such database connections available
# to you.


<% if Gem.available?('sqlite3-ruby') %>
sqlite3:
  adapter: "sqlite3"
  database: ":memory:"
<% end %>

<% if Gem.available?('mysql') %>
mysql:
  adapter: "mysql"
  host: "localhost"
  username: "root"
  password:
  database: "scoped_search_test"
<% end %>

<% if Gem.available?('postgresql') %>
postgresql:
  adapter: "postgresql"
  host: "localhost"
  username: "scoped_search"
  password: "scoped_search"
  database: "scoped_search_test"
<% end %>

<% if Gem.available?('activerecord-jdbcsqlite3-adapter') %>
jdbcsqlite3:
  adapter: "jdbcsqlite3"
  database: ":memory:"
<% end %>

<% if Gem.available?('activerecord-jdbcmysql-adapter') %>
jdbcmysql:
  adapter: "jdbcmysql"
  host: "localhost"
  username: "root"
  password:
  database: "scoped_search_test"
<% end %>

<% if Gem.available?('activerecord-jdbcpostgresql-adapter') %>
jdbcpostgresql:
  adapter: "jdbcpostgresql"
  host: "localhost"
  username: "scoped_search"
  password: "scoped_search"
  database: "scoped_search_test"
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scoped_search-2.2.1 spec/database.yml