Sha256: b6a37ba703e1cf373d43ed89fbf42ea7d2084c9836f2dcfb1e742f687dea078c
Contents?: true
Size: 513 Bytes
Versions: 46
Compression:
Stored size: 513 Bytes
Contents
module Excon module Test module Plugin module Server module Puma def start(app_str = app, bind_uri = bind) open_process('puma', '-b', bind_uri.to_s, app_str) line = '' until line =~ /Use Ctrl-C to stop/ line = read.gets fatal_time = elapsed_time > timeout raise 'puma server has taken too long to start' if fatal_time end true end end end end end end
Version data entries
46 entries across 43 versions & 4 rubygems