lib/pinch_hitter/service/runner.rb in pinch_hitter-0.6.0 vs lib/pinch_hitter/service/runner.rb in pinch_hitter-0.7.0
- old
+ new
@@ -16,10 +16,10 @@
def start_service(host, port, timeout=10)
Thread.abort_on_exception = true
@app = PinchHitter::Service::ReplayWs.new
@app.settings.enable :no_cache if @no_cache
@replay_service = Thread.new do
- Rack::Handler::WEBrick.run @app, service_options(host, port)
+ Rack::Handler::WEBrick.run @app, **service_options(host, port)
end
wait_for_replay(timeout)
end
def service_options(host, port)