diff --git a/pact_broker/Gemfile.lock b/pact_broker/Gemfile.lock index 0e382e8a..30871736 100644 --- a/pact_broker/Gemfile.lock +++ b/pact_broker/Gemfile.lock @@ -46,7 +46,7 @@ GEM haml (5.0.4) temple (>= 0.8.0) tilt - httparty (0.16.1) + httparty (0.16.2) multi_xml (>= 0.5.2) i18n (1.0.0) concurrent-ruby (~> 1.0) @@ -56,7 +56,7 @@ GEM multi_xml (0.6.0) mustermann (1.0.2) mysql2 (0.5.0) - pact-support (1.5.2) + pact-support (1.6.0) awesome_print (~> 1.1) find_a_port (~> 1.0.1) json @@ -64,7 +64,7 @@ GEM rspec (>= 2.14) term-ansicolor (~> 1.0) thor - pact_broker (2.17.1) + pact_broker (2.18.0) dry-types (~> 0.10.3) dry-validation (~> 0.10.5) haml (~> 5.0) @@ -88,7 +88,7 @@ GEM sinatra (>= 2.0.0) thor (~> 0.18) padrino-support (0.14.3) - passenger (5.2.2) + passenger (5.2.3) rack rake (>= 0.8.1) pg (1.0.0) @@ -121,7 +121,7 @@ GEM rspec-support (~> 3.7.0) rspec-support (3.7.1) semver2 (3.4.2) - sequel (5.6.0) + sequel (5.7.1) sinatra (2.0.1) mustermann (~> 1.0) rack (~> 2.0) diff --git a/pact_broker/Rakefile b/pact_broker/Rakefile new file mode 100644 index 00000000..a57419b2 --- /dev/null +++ b/pact_broker/Rakefile @@ -0,0 +1,14 @@ +require_relative 'pact_broker/database_connection' +require 'logger' + +PactBroker::DB::MigrationTask.new do | task | + task.database_connection = create_database_connection(Logger.new($stdout)) +end + +PactBroker::DB::VersionTask.new do | task | + task.database_connection = create_database_connection(Logger.new($stdout)) +end + +PactBroker::DB::CleanTask.new do | task | + task.database_connection = create_database_connection(Logger.new($stdout)) +end