changelog ========= ### 0.1.22 9 sep 2014 * handle bad/malformed requests better ### 0.1.21 10 aug 2014 * add forward for SSE stash from Server for tasks ### 0.1.19 10 aug 2014 * fix crash on unsupported HTTP request types * more info in debug messages from sockets/stashes ### 0.1.18 9 aug 2014 * handle more errors during ws read task ### 0.1.17 9 aug 2014 * add Base#send_data * add ability to pass options to Mustermann instances ### 0.1.16 8 aug 2014 * recursively symhash JSON POST bodies * add options route builder ### 0.1.15 24 jul 2014 * WebsocketResponder -> Responder::Websocket * add Responder::Eventsource * split Stash into module with Websocket and SSE classes * add SSE eventsource route builder and helper * add #event and #message to Stash::SSE * add .sse_event and .sse_message to Base ### 0.1.14 3 jul 2014 * add send_file with disposition support * remove disposition header from static file serving ### 0.1.13 19 jun 2014 * add log level settings * make response logging default to :info level * catch SystemCallError, IOError in Stash#each\* methods ### 0.1.12 17 jun 2014 * before and after blocks now wrap websocket routes * add :js content_type ### 0.1.11 13 jun 2014 * add halt method and handling ### 0.1.10 12 jun 2014 * add RequestError and handling ### 0.1.9 5 jun 2014 * make Mustermann::RouteMap not descend from Hash * replace WebsocketsArray < Array with Stash * fix WebsocketRepsonder.close_socket ### 0.1.8 6 may 2014 * leave RSpec for Minitest * fix for Reel::Connection::StateError -> Reel::StateError * rename "socket" route definition to "websocket" ### 0.1.7 17 apr 2014 * reel 0.5.0 support (Reel::Server -> Reel::Server::HTTP) ### 0.1.6 2 apr 2014 * better testing of Responder#headers * better handling of Responder#redirect * add Base#request_headers helper * rename Base.async -> Base.task, add Base#future ### 0.1.5 31 mar 2014 * add WebsocketsArray#all * fix websockets pinging to ping all connected sockets * add Responder#redirect ### 0.1.4 26 mar 2014 * add Base.async, Base.on_pong, and Base#async * fix websockets context handling, removal * add ping task to reactor ### 0.1.3 24 mar 2014 * better testing of websockets * slightly better handling of socket errors * static file content type fix ### 0.1.2 5 mar 2014 burnout, denial * basic static file support (i.e. /public files) * basic ETag/If-None-Match support ### 0.1.1 3 mar 2014 * fix for params with no Content-Type header ### 0.1.0 24 feb 2014 * fix for socket paths with mustermann * sorta common log-ish-ness ### 0.0.9 20 feb 2014 * memoize params * slight changes for mustermann * add '-o addr' bind to address cmd line option * add '-p port' bind to port cmd line option ### 0.0.8 5 nov 2013 gunpowder treason * add mustermann support ### 0.0.7 5 nov 2013 * fix gemspec * add codename * travis ### 0.0.6 5 nov 2013 * rspec and tests! * lots of fixing broken that testing found * contextualized websockets helper ### 0.0.5 31 oct 2013 SPOOOOKEEEE * add Base.content_type * Responder#content_type= -> Responder#content_type * properly delegated to Responder ### 0.0.4 30 oct 2013 * inadvertent yank of 0.0.3 ### 0.0.3 30 oct 2013 * added tilt/erb * added before/after * added content_type/headers * better websockets error handling ### 0.0.2 29 oct 2013 * added websockets helper ### 0.0.1 28 oct 2013 * initial release * get/post/put/delete/options support * socket support