Sha256: bcf4395872c3cc3488868d776749a76939dabb01c80bacc0a52146aa7ab20b70

Contents?: true

Size: 532 Bytes

Versions: 2

Compression:

Stored size: 532 Bytes

Contents

def report_turducken(results, performance_results)
  stuffing[:log_files] = { "#{File.basename @logger.log_file_location}" =>
    File.read(@logger.log_file_location).gsub(/(?<f><)(?<q>\/)?(?<w>\w)/,
      '\k<f>!\k<q>\k<w>') }.merge remote_logs

  begin
    Stuffer.login(@config[:turducken_server], @config[:turducken_username],
      @config[:turducken_password])
    suite_result_url = Stuffer.stuff(stuffing)
  rescue Errno::ECONNREFUSED
    @logger.error "Unable to connect to Turducken server!"
  end

  suite_result_url
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tailor-1.0.1 m.rb
tailor-1.0.0 m.rb