Sha256: 4a27874651d2b025c0e12c9bce8502d00142b65123e2ee80444a65577dddc183

Contents?: true

Size: 1.46 KB

Versions: 6

Compression:

Stored size: 1.46 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

6 entries across 6 versions & 1 rubygems

Version Path
scoped_search-2.3.7 spec/database.yml
scoped_search-2.3.6 spec/database.yml
scoped_search-2.3.5 spec/database.yml
scoped_search-2.3.4 spec/database.yml
scoped_search-2.3.3 spec/database.yml
scoped_search-2.3.1 spec/database.yml