Sha256: 781f70e2eb8145601e156229456a879ae2804b622975c6cf7f02a8cee81eebe7

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 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?('mysql2') %>
mysql2:
  adapter: "mysql2"
  host: "localhost"
  username: "root"
  password:
  database: "scoped_search_test"
<% elsif 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.3.0 spec/database.yml