Sha256: 1cc2d9348c87677b53fd10549f971843ac28217422bde11eaa2e375d34a4456e

Contents?: true

Size: 523 Bytes

Versions: 108

Compression:

Stored size: 523 Bytes

Contents

require 'bundler/setup'
require 'pact_broker/tasks'

def create_connection
  require 'sequel'
  database_config = {adapter: "sqlite", database: "pact_broker_database.sqlite3", :encoding => 'utf8'}
  Sequel.connect(database_config)
end

PactBroker::DB::MigrationTask.new do | task |
  task.database_connection = create_connection
end

PactBroker::DB::VersionTask.new do | task |
  task.database_connection = create_connection
end

task 'pact_broker:version' do
  require 'pact_broker/version'
  puts PactBroker::VERSION
end

Version data entries

108 entries across 108 versions & 1 rubygems

Version Path
pact_broker-2.79.1 db/test/change_migration_strategy/Rakefile
pact_broker-2.79.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.78.1 db/test/change_migration_strategy/Rakefile
pact_broker-2.78.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.77.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.76.2 db/test/change_migration_strategy/Rakefile
pact_broker-2.76.1 db/test/change_migration_strategy/Rakefile
pact_broker-2.76.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.75.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.74.1 db/test/change_migration_strategy/Rakefile
pact_broker-2.74.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.73.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.72.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.71.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.70.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.69.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.68.1 db/test/change_migration_strategy/Rakefile
pact_broker-2.68.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.67.0 db/test/change_migration_strategy/Rakefile
pact_broker-2.66.0 db/test/change_migration_strategy/Rakefile