sinatra/sinatra — pull request #431 by metakeule (2011-12-16 16:48:09+00:00)
Title: This patch changes Sinatra::Base#run! to look for :server_settings and pass them to the server

I had the problem that I wanted to test SSL without the need of a real webserver in front of sinatra.
The only solution seems to be WEBRick, but in order to use it, I need to pass options to the server.

I wondered why it isn't already possible and so I made this patch.
I think it's a very general problem so the solution should be as general as possible.
I did not write tests. because the server_settings hash is just passed around and it's a very simple patch.

I am working on an extension sinatra-ssl, that relies on the patch.