module Pact

def self.default_configuration

def self.default_configuration
  c = Configuration.new
  c.pact_dir = File.expand_path('./spec/pacts')
  c.tmp_dir = File.expand_path('./tmp/pacts')
  c.log_dir = default_log_dir
  c.logger = default_logger c.log_path
  c.pactfile_write_mode = is_rake_running? ? :overwrite : :update
  c.reports_dir = File.expand_path('./reports/pacts')
  c
end