Sha256: 60d7fd0c66b8235c0d80b945bb1fdb6d9bad5cd35be927c617ecac1b8c9d6a00

Contents?: true

Size: 267 Bytes

Versions: 5

Compression:

Stored size: 267 Bytes

Contents

$options ||= {}

require 'clevic.rb'
require 'sequel'
host = ENV['PGHOST'] || 'localhost'

constring =
if RUBY_PLATFORM == 'java'
  "jdbc:postgresql://#{host}/times_test"
else
  "postgres://#{host}/times_test"
end

Sequel.connect constring

require 'times_models.rb'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
clevic-0.13.0.b11 models/times_psql_models.rb
clevic-0.13.0.b10 models/times_psql_models.rb
clevic-0.13.0.b9 models/times_psql_models.rb
clevic-0.13.0.b6 models/times_psql_models.rb
clevic-0.13.0.b5 models/times_psql_models.rb