Sha256: 21fff1300cab7b5dccaf087aeac1301fc0afd438e49d9d119e08b95e2467be59

Contents?: true

Size: 779 Bytes

Versions: 19

Compression:

Stored size: 779 Bytes

Contents

# frozen_string_literal: true

TEST_MYSQL_HOST = ENV['DOCKER_HOST'] ? ENV['DOCKER_HOST'].gsub(%r{\Atcp://|:\d+\z}, '') : '127.0.0.1'
TEST_MYSQL_PORT = ENV['MYSQL57'] == '1' ? 13_317 : 13_316
TEST_MYSQL_USER = 'root'
TEST_MYSQL_PASS = 'password'

MYSQL_CLI = "mysql -h #{TEST_MYSQL_HOST} -P #{TEST_MYSQL_PORT} -u #{TEST_MYSQL_USER} -p#{TEST_MYSQL_PASS} 2>/dev/null"

TEST_PG_HOST = ENV['DOCKER_HOST'] ? ENV['DOCKER_HOST'].gsub(%r{\Atcp://|:\d+\z}, '') : '127.0.0.1'
TEST_PG_PORT = 15_442
TEST_PG_USER = 'postgres'
TEST_PG_PASS = 'password'

PG_CLI_OPTS = "PGPASSWORD=#{TEST_PG_PASS} %s -h #{TEST_PG_HOST} -p #{TEST_PG_PORT} -U #{TEST_PG_USER}"
PG_PSQL = PG_CLI_OPTS % 'psql'
PG_CREATEDB = PG_CLI_OPTS % 'createdb'
PG_DUMP = PG_CLI_OPTS % 'pg_dump'

TEST_SCHEMA = 'ridgepole_test'

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
ridgepole-0.9.0 spec/spec_const.rb
ridgepole-0.8.13 spec/spec_const.rb
ridgepole-0.9.0.rc1 spec/spec_const.rb
ridgepole-0.9.0.beta spec/spec_const.rb
ridgepole-0.8.12 spec/spec_const.rb
ridgepole-0.8.11 spec/spec_const.rb
ridgepole-0.8.10 spec/spec_const.rb
ridgepole-0.8.9 spec/spec_const.rb
ridgepole-0.8.8 spec/spec_const.rb
ridgepole-0.8.7 spec/spec_const.rb
ridgepole-0.8.6 spec/spec_const.rb
ridgepole-0.8.5 spec/spec_const.rb
ridgepole-0.8.4 spec/spec_const.rb
ridgepole-0.8.3 spec/spec_const.rb
ridgepole-0.8.2 spec/spec_const.rb
ridgepole-0.8.1 spec/spec_const.rb
ridgepole-0.8.0 spec/spec_const.rb
ridgepole-0.8.0.rc2 spec/spec_const.rb
ridgepole-0.7.8 spec/spec_const.rb