2015-10-01 Michael Granger * .gems: Update gemset to latest versions [23b8eb49ae8f] [tip] 2015-03-25 Michael Granger * Rakefile, cert/ged.pem, mongrel2.gemspec: Add gem-signing cert, update gemspec. [96ebb5bc8842] * History.rdoc, lib/mongrel2.rb: Bump the patch version, update history. [d86faeea99f6] [github/master] * lib/mongrel2/constants.rb: Remove some duplicated constant [85071d5a6e4c] * .gems, .rvm.gems, .rvmrc, .travis.yml, mongrel2.gemspec: Update build info/metadata [1a7418ecaea7] 2015-02-27 Michael Granger * README.rdoc: Update README copyright date [df7a087db39a] * Rakefile, mongrel2.gemspec: Update some more build stuff [7b403211aaf3] * .rvm.gems: Update the gemset [feb6b5965c9e] * .hgignore, .rvmrc, .travis.yml, Gemfile, Rakefile, mongrel2.gemspec: Prep for travis-ci builds [466b050ae437] 2014-12-17 Michael Granger * .hgtags: Added tag v0.43.0 for changeset 6ccc672a1e21 [654293091c6f] * .hgsigs: Added signature for changeset dfce5a80c5bf [6ccc672a1e21] [v0.43.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [dfce5a80c5bf] * lib/mongrel2/config/route.rb, lib/mongrel2/request.rb, spec/mongrel2/request_spec.rb: Add a Mongrel2::Request#server_chroot Used to qualify filesystem paths relative to Mongrel's chroot for sendfile, async upload, etc. [804d47dcfc31] 2014-08-27 Michael Granger * .hgtags: Added tag v0.42.0 for changeset 4e4bb9e3f183 [62d0426be7ef] * .hgsigs: Added signature for changeset b8be09d1fd14 [4e4bb9e3f183] [v0.42.0] * History.rdoc, Manifest.txt, lib/mongrel2.rb: Bump minor version, update history. [b8be09d1fd14] * lib/mongrel2/connection.rb: Fix trailing whitespace [6ec2281fc759] 2014-06-27 Michael Granger * examples/Procfile, examples/config.rb, examples/run, examples/sendfile.rb, lib/mongrel2/connection.rb, lib/mongrel2/httpresponse.rb, lib/mongrel2/response.rb, spec/helpers.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/handler_spec.rb, spec/mongrel2/response_spec.rb: Add support for sending extended replies [3f69a81fdff9] 2014-02-03 Michael Granger * README.rdoc: Fix a few things in the README [dbdf2b174c6a] 2014-02-02 Michael Granger * .hgtags: Added tag v0.41.0 for changeset 3bb618a3996c [9bacd8a069f8] * .hgsigs: Added signature for changeset 2915d3c8a0e3 [3bb618a3996c] [v0.41.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [2915d3c8a0e3] * .rvm.gems, Gemfile, Rakefile, lib/mongrel2.rb, lib/mongrel2/connection.rb, lib/mongrel2/control.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/control_spec.rb, spec/mongrel2/handler_spec.rb: Convert back to rbczmq for modern mongrel2s [6a193623272b] 2014-01-15 Michael Granger * .rvm.gems, .simplecov, Manifest.txt, Rakefile, lib/mongrel2/config.rb, lib/mongrel2/handler.rb, spec/helpers.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/server_spec.rb, spec/mongrel2/config_spec.rb, spec/mongrel2/handler_spec.rb, spec/mongrel2/httpresponse_spec.rb, spec/mongrel2/table_spec.rb: Config introspection and cleanup. - Add Mongrel2::Config.mimetypes for fetching Mongrel2's mime-types table. - Add more config introspection to the Mongrel2::Handler class. - Fix spec syntax deprecated in RSpec 3. [d0e689f9de52] * lib/mongrel2/xmlrequest.rb, spec/mongrel2/xmlrequest_spec.rb: Use LibXML instead of Nokogiri for XML request type [243c94859e5f] 2013-11-08 Michael Granger * .hgtags: Added tag v0.40.0 for changeset aadd49593b0f [91e4453b14ca] * .hgsigs: Added signature for changeset 1d6f5f4d6b60 [aadd49593b0f] [v0.40.0] * History.rdoc, lib/mongrel2.rb: Bump minor version, update history. [1d6f5f4d6b60] 2013-10-31 Michael Granger * .rvm.gems, Gemfile, Rakefile, lib/mongrel2.rb, lib/mongrel2/connection.rb, lib/mongrel2/control.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/control_spec.rb, spec/mongrel2/handler_spec.rb: Revert d55e67969b87: move back to the zmq library [a463a301914c] 2013-10-11 Michael Granger * data/mongrel2/config.sql: Drop the xrequest table when creating the config DB. Thanks to mahlon@martini.nu for spotting this! [ba164dea6bb6] 2013-09-25 Michael Granger * .hgtags: Added tag v0.39.0 for changeset 0dff8f45e583 [2c791af90d0d] * .hgsigs: Added signature for changeset 36202f7a03c9 [0dff8f45e583] [v0.39.0] * History.rdoc, lib/mongrel2.rb: Bump minor version and update history. [36202f7a03c9] * .rvm.gems, Rakefile: Update deps to sequel 4.2.x [012c74e1d21a] 2013-09-20 Michael Granger * lib/mongrel2/connection.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/handler_spec.rb: In ZMQ 3, PUB sockets can't have ZMQ_IDENTITY [09cf99e4baaa] * lib/mongrel2/handler.rb: Don't try to close the context if it doesn't need it [a2f00dc38fdb] * Gemfile, Rakefile, lib/mongrel2.rb: Move dependencies over to rbczmq. [14bad384503a] * Manifest.txt, spec/constants.rb, spec/helpers.rb, spec/lib/constants.rb, spec/lib/helpers.rb, spec/lib/matchers.rb, spec/matchers.rb, spec/mongrel2/config/directory_spec.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/filter_spec.rb, spec/mongrel2/config/handler_spec.rb, spec/mongrel2/config/host_spec.rb, spec/mongrel2/config/log_spec.rb, spec/mongrel2/config/proxy_spec.rb, spec/mongrel2/config/route_spec.rb, spec/mongrel2/config/server_spec.rb, spec/mongrel2/config/setting_spec.rb, spec/mongrel2/config/statistic_spec.rb, spec/mongrel2/config/xrequest_spec.rb, spec/mongrel2/config_spec.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/constants_spec.rb, spec/mongrel2/control_spec.rb, spec/mongrel2/handler_spec.rb, spec/mongrel2/httprequest_spec.rb, spec/mongrel2/httpresponse_spec.rb, spec/mongrel2/request_spec.rb, spec/mongrel2/response_spec.rb, spec/mongrel2/table_spec.rb, spec/mongrel2/websocket_spec.rb, spec/mongrel2_spec.rb: Convert specs to new RSpec 'expect' syntax. [070611cc1b20] * .rvm.gems, lib/mongrel2/connection.rb, lib/mongrel2/control.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/control_spec.rb, spec/mongrel2/handler_spec.rb: Replace stagnant zmq library with rbczmq. [d55e67969b87] 2013-09-18 Michael Granger * Manifest.txt, data/mongrel2/config.sql, lib/mongrel2/config.rb, lib/mongrel2/config/server.rb, lib/mongrel2/config/xrequest.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/xrequest_spec.rb: Add support for 1.8.1's "X-Requests" [ce2c1f560e76] * .hgtags: Added tag v0.38.0 for changeset 94a931fa3c89 [2e7bb3f05151] * .hgsigs: Added signature for changeset 0ea16429b0cf [94a931fa3c89] [v0.38.0] * History.rdoc, README.rdoc, lib/mongrel2.rb: Bump minor version, update README and History. [0ea16429b0cf] * .hgignore, .rvm.gems, Gemfile, Rakefile: Update dependencies, add Gemfile. [a116fb6d0301] * data/mongrel2/config.sql, data/mongrel2/mimetypes.sql, lib/mongrel2/config/server.rb, spec/mongrel2/config/dsl_spec.rb: Update to Mongrel2 1.8.1 config schema. [df7f08063108] 2013-09-13 Michael Granger * .hgtags: Added tag v0.37.0 for changeset 9691a05249a8 [6f18f139b1e6] * .hgsigs: Added signature for changeset cf053ff6b34f [9691a05249a8] [v0.37.0] * History.rdoc, lib/mongrel2.rb: Bump minor version, update history. [cf053ff6b34f] * lib/mongrel2/config.rb, lib/mongrel2/config/host.rb, lib/mongrel2/config/route.rb, lib/mongrel2/connection.rb, lib/mongrel2/control.rb, lib/mongrel2/httpresponse.rb, lib/mongrel2/jsonrequest.rb, lib/mongrel2/request.rb, spec/lib/constants.rb, spec/lib/helpers.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/httpresponse_spec.rb, spec/mongrel2/websocket_spec.rb: Make explicitly-set 'nil' body also a bodiless response. [21c8b5722a51] 2013-08-09 Michael Granger * .rvm.gems: Update rvm gemset versions [b1ca9f2d0588] 2013-07-01 Michael Granger * spec/mongrel2/config/dsl_spec.rb: Fix the specs for Sequel 4 [70b5368ae3c2] 2013-03-01 Michael Granger * .hgtags: Added tag v0.36.0 for changeset efad0a884ae4 [c9d025adcf94] * .hgsigs: Added signature for changeset c7c83589ab0f [efad0a884ae4] [v0.36.0] * History.rdoc, lib/mongrel2.rb: Bump minor version, update history. [c7c83589ab0f] 2013-02-28 Michael Granger * lib/mongrel2/connection.rb, lib/mongrel2/httpresponse.rb, lib/mongrel2/websocket.rb: Fixes for Ruby 2. [9921720f8b32] * .rvm.gems, Rakefile: Update dependencies [b1d4c925d3e1] 2013-02-25 Michael Granger * .rvmrc: Test under Ruby 2.0.0 by default. [2740789dcd23] 2013-02-23 Michael Granger * lib/mongrel2/httpresponse.rb, spec/mongrel2/httpresponse_spec.rb: Fix status line for responses that have an explicit content-length. This is so HEAD responses, for example, don't get reset to '204 No Content' just because their body is empty. [7ed6ee34fdba] * .tm_properties: Try to make tm_properties honor indent settings [3e872676b0bb] * lib/mongrel2.rb, lib/mongrel2/config/directory.rb, lib/mongrel2/config/filter.rb, lib/mongrel2/config/handler.rb, lib/mongrel2/config/host.rb, lib/mongrel2/config/log.rb, lib/mongrel2/config/mimetype.rb, lib/mongrel2/config/proxy.rb, lib/mongrel2/config/route.rb, lib/mongrel2/config/server.rb, lib/mongrel2/config/setting.rb, lib/mongrel2/config/statistic.rb, lib/mongrel2/handler.rb, lib/mongrel2/request.rb: Documentation/comment fixes for Mongrel2 1.8.0 [d5eb336974ab] * lib/mongrel2/config/server.rb: Convert ::for_uuid to a introspection-friendly dataset method. [95efe72cc036] 2013-02-06 Michael Granger * .tm_properties: Set indent settings for RSpec too [ad33b0c00c21] * lib/mongrel2/request.rb: Only log if wrapping a non-String body in a StringIO [71eacd47e2b7] 2013-01-11 Michael Granger * .rvm.gems, Rakefile, lib/mongrel2.rb, lib/mongrel2/config/handler.rb, lib/mongrel2/config/server.rb: Updated Config model dataset declarations for Sequel versions > 3.42. [d1e574e548fb] 2012-12-21 Michael Granger * bin/m2sh.rb: Fix the 'start' subcommand of m2sh.rb. [4462a9d4f889] 2012-12-14 Michael Granger * .hgtags: Added tag v0.35.0 for changeset e2c0f9b4cf4b [9dd24d2824a1] * .hgsigs: Added signature for changeset d19a29e2ca5f [e2c0f9b4cf4b] [v0.35.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [d19a29e2ca5f] * lib/mongrel2/websocket.rb, spec/lib/constants.rb, spec/mongrel2/websocket_spec.rb: Allow opcodes to be set on WebSocket frames numerically. [1a69ea26da95] 2012-12-11 Michael Granger * lib/mongrel2/connection.rb, lib/mongrel2/websocket.rb, spec/mongrel2/websocket_spec.rb: Add a #socket_id method to all WebSocket frame types. * Created a Mongrel2::WebSocket::Methods mixin with the implementation of the method. * Included the new mixin in WebSocket::Frame, WebSocket::ClientHandshake, and WebSocket::ServerHandshake [8e34ca93f26f] 2012-12-04 Michael Granger * History.rdoc, lib/mongrel2.rb: Bump the patch version, update history. [20d86c77d502] * lib/mongrel2/handler.rb: Ensure the ZMQ context is closed when #run exits. [840f17c017f7] 2012-10-17 Michael Granger * .hgtags: Added tag v0.34.0 for changeset ca784c919dd4 [d4446ae7d890] * .hgsigs: Added signature for changeset 0c87b34361e7 [ca784c919dd4] [v0.34.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [0c87b34361e7] * lib/mongrel2/httprequest.rb, spec/mongrel2/httprequest_spec.rb: Fall back to 'http' scheme if running under a Mongrel2 that doesn't set the url-scheme header. [b3ed74c32541] * bin/m2sh.rb: 'Fix the multiple-server case in 'm2sh.rb start' [8aeffd89cdbb] 2012-10-16 Michael Granger * lib/mongrel2/httprequest.rb, spec/mongrel2/httprequest_spec.rb: Add support for the new (edge) 'url-scheme' header ...and build the #ssl? predicate on top of that. [5f76d0a567fc] * examples/config.rb, examples/run: Try to make examples more tolerant of being run from other directories [05317bf262be] * lib/mongrel2/testing.rb: Add (1.8.0ish) url-scheme header to the defaults in mongrel2/testing [035b536da40d] 2012-10-03 Michael Granger * lib/mongrel2/httpresponse.rb: Remove some more chatty debug logging. [4afe501d5125] 2012-10-02 Michael Granger * .hgtags: Added tag v0.33.0 for changeset fcfe03af49a6 [b79abaa5e19f] * .hgsigs: Added signature for changeset 4c64666f4255 [fcfe03af49a6] [v0.33.0] * History.rdoc, data/mongrel2/bootstrap.html, examples/async- upload.rb: Update the examples. [4c64666f4255] * lib/mongrel2.rb, lib/mongrel2/handler.rb, spec/mongrel2/handler_spec.rb: Add deferred signal-handling to Mongrel2::Handler. [8703559eacf1] * lib/mongrel2/connection.rb: Whitespace fix [1dbd2c6523aa] 2012-09-21 Michael Granger * spec/lib/helpers.rb: Use Loggability's spec helpers [36f9259ea9aa] * lib/mongrel2/request.rb: Don't log the whole damn request in debugging [6767558cf718] 2012-09-18 Michael Granger * .hgtags: Added tag v0.32.0 for changeset 784babdfb85c [d7f1ccc8c130] * .hgsigs: Added signature for changeset ebfb060e8c65 [784babdfb85c] [v0.32.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [ebfb060e8c65] * .hgignore: Ignore foreman settings files [16b910708f91] * bin/m2sh.rb: Add a settings command for showing "expert" settings [09884906b249] * .rvm.gems, Rakefile: Updating dependencies [7a901c95b004] 2012-08-20 Michael Granger * .hgtags: Added tag v0.31.1 for changeset 54464cda5795 [933a499629d1] * .hgsigs: Added signature for changeset a66bb80de490 [54464cda5795] [v0.31.1] * History.rdoc, lib/mongrel2.rb: Bump the patch version. [a66bb80de490] * bin/m2sh.rb: Fix an error message in m2sh.rb. [ad92bd336353] 2012-07-30 Michael Granger * .hgtags: Added tag v0.31.0 for changeset b58221438f3a [c268a5309eee] * .hgsigs: Added signature for changeset 6e11a9a95c81 [b58221438f3a] [v0.31.0] * .hgignore: Add top-level var/ to the ignorefile [6e11a9a95c81] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [11f88c736464] * bin/m2sh.rb, examples/Procfile, examples/config.rb, lib/mongrel2/config/server.rb, lib/mongrel2/control.rb, spec/mongrel2/config/server_spec.rb, spec/mongrel2/control_spec.rb: Look a little harder when trying to find the control socket, and error if not successful. [a42ca1a2963c] 2012-07-27 Michael Granger * .hgtags: Added tag v0.30.1 for changeset 01750f74082c [8208fbbc6641] * .hgsigs: Added signature for changeset 4ebef57dc78c [01750f74082c] [v0.30.1] * History.rdoc, lib/mongrel2.rb: Bump the patch version, update history. [4ebef57dc78c] * Rakefile: Depend on sqlite3 instead of amalgalite until (https://github.com/copiousfreetime/amalgalite/pull/22) is fixed. [9244ea0f0a1c] * README.rdoc: Fixing URLs [6d4a90ec1980] * .hgtags: Added tag v0.30.0 for changeset 2a049832e502 [3ba5c68433bf] * .hgsigs: Added signature for changeset 560f4524ebb0 [2a049832e502] [v0.30.0] * History.rdoc, lib/mongrel2.rb: Bump minor version, update history. [560f4524ebb0] * Manifest.txt, Rakefile, bin/m2sh.rb, data/mongrel2/index.html.in: Add some quickstart niceties. - Add a static index page to the quickstart Dir directory. - Make the failure to find a mongrel2 binary friendlier. [b1d49912af4d] 2012-07-18 Michael Granger * lib/mongrel2/config/handler.rb: Fix parameter name of ::by_send_ident for auto-mapping by the rest service. [b24be0f1aa72] 2012-07-13 Michael Granger * .hgtags: Added tag v0.29.0 for changeset b8cf89311fb4 [667c5c23df4e] * .hgsigs: Added signature for changeset cc6fcfdf3335 [b8cf89311fb4] [v0.29.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [cc6fcfdf3335] * bin/m2sh.rb, lib/mongrel2/config.rb, lib/mongrel2/config/log.rb, lib/mongrel2/config/server.rb, spec/mongrel2/config/log_spec.rb: Finish work on the event log. - Make m2sh.rb write events for modifying actions - Add a --why option to m2sh.rb to allow reasons for actions to be logged. - Add a convenience delegator to Mongrel2::Config for logging an action. - Finish Mongrel2::Config::Log method documentation - Remove RDoc sections from Mongrel2::Config::Server, as they made stuff more difficult to find. - Add Mongrel2::Config::Server#to_s - Make stringified Log events only include parens if the event has a 'why' field. [be803763277b] 2012-07-12 Michael Granger * bin/m2sh.rb: Remove extraneous message from m2sh.rb's quickstart subcommand [f61d11f41fd5] * .hgtags: Added tag v0.28.0 for changeset 87ce465f7115 [fbe30eb8facb] * .hgsigs: Added signature for changeset 511f5e29f0a0 [87ce465f7115] [v0.28.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [511f5e29f0a0] * lib/mongrel2/config/server.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/server_spec.rb: Make Config::Server path methods variants instead of overrides. [348e208d3fc8] * lib/mongrel2/config/server.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/server_spec.rb: Return Pathname objects from Mongrel2::Config::Server's path attributes. [eacf9ac21a43] 2012-07-11 Michael Granger * bin/m2sh.rb: Show the server's URL at startup [2d666bba472c] * lib/mongrel2/config/server.rb: Finish Config::Server API docs and add a predicate method for use_ssl [fc283cc7a9f5] 2012-07-03 Michael Granger * bin/m2sh.rb: Remove shell mode from m2sh.rb. [d6c7fbd1142c] * Manifest.txt: Don't distribute my Foreman env for the examples [c54940c0c1c8] 2012-07-02 Michael Granger * .hgtags: Added tag v0.27.0 for changeset 8883019d3299 [b85c576e5fb1] * .hgsigs: Added signature for changeset 6de3cbe2409c [8883019d3299] [v0.27.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [6de3cbe2409c] * README.rdoc, lib/mongrel2/config.rb, lib/mongrel2/connection.rb, lib/mongrel2/control.rb, lib/mongrel2/testing.rb: Updating API documentation. [cfac9894f2ec] 2012-06-30 Michael Granger * Manifest.txt, README.rdoc, bin/m2sh.rb, data/mongrel2/config.rb.in, lib/mongrel2/config.rb, lib/mongrel2/constants.rb: Adding 'bootstrap' and 'quickstart' commands to m2sh.rb. Also adding documentation for them to the README, and moved the DATA_DIR constants into mongrel2/constants. [2f2b9b4bc86f] 2012-06-27 Michael Granger * examples/.env, examples/Procfile, examples/config.rb, examples/ws- echo.rb, lib/mongrel2/handler.rb, lib/mongrel2/httpresponse.rb, lib/mongrel2/testing.rb, lib/mongrel2/websocket.rb, spec/lib/constants.rb, spec/lib/helpers.rb, spec/mongrel2/handler_spec.rb, spec/mongrel2/httpresponse_spec.rb, spec/mongrel2/websocket_spec.rb: Updating websocket support for recent Mongrel2 changes [c17bbae10985] 2012-06-26 Michael Granger * .hgtags: Added tag v0.26.0 for changeset 7fb25e6e09bc [1cf11a8e5402] * .hgsigs: Added signature for changeset c2eac469ca66 [7fb25e6e09bc] [v0.26.0] * History.rdoc, lib/mongrel2.rb, spec/lib/helpers.rb, spec/mongrel2/handler_spec.rb, spec/mongrel2/request_spec.rb: Fix the specs broken by the async upload changes, bump minor version, update history. [c2eac469ca66] * lib/mongrel2/config/handler.rb, lib/mongrel2/config/host.rb, lib/mongrel2/config/route.rb, lib/mongrel2/config/server.rb, lib/mongrel2/connection.rb, lib/mongrel2/handler.rb, lib/mongrel2/httprequest.rb, lib/mongrel2/request.rb, spec/mongrel2/handler_spec.rb, spec/mongrel2/httprequest_spec.rb, spec/mongrel2/request_spec.rb: Fix the async upload body path [782174dcba2e] 2012-06-21 Michael Granger * .hgtags: Added tag v0.25.0 for changeset 79bf424c93cd [0cb15359e25b] * .hgsigs: Added signature for changeset 893e0493be04 [79bf424c93cd] [v0.25.0] * History.rdoc, lib/mongrel2.rb, lib/mongrel2/request.rb: Bumped minor version, updated history [893e0493be04] * lib/mongrel2/httprequest.rb, lib/mongrel2/request.rb, lib/mongrel2/response.rb, spec/mongrel2/httprequest_spec.rb, spec/mongrel2/request_spec.rb: Make similar stream adjustments to request as had previously been done to response. [9f061f269db6] * spec/mongrel2/response_spec.rb: Fix spelling [7fcb08e469ae] * lib/mongrel2/response.rb, spec/mongrel2/response_spec.rb: Don't try to wrap objects that don't support #to_str in a StringIO. [22f3d1c88c37] 2012-06-20 Michael Granger * examples/request-dumper.rb, examples/request-dumper.tmpl, lib/mongrel2/connection.rb, lib/mongrel2/request.rb, spec/mongrel2/request_spec.rb: Add support for Content-type charset to Mongrel2::Request. [dae4f2b16ef7] * lib/mongrel2/request.rb: Set the body on Mongrel2::Request if constructed with an IO, too. [8721f2abc3c0] * examples/async-upload.rb, examples/config.rb, lib/mongrel2/httprequest.rb, lib/mongrel2/request.rb, lib/mongrel2/testing.rb, spec/mongrel2/httprequest_spec.rb, spec/mongrel2/request_spec.rb: Hook up the async uploaded entity body to the request [349c0049a4a1] 2012-06-19 Michael Granger * examples/Procfile, examples/async-upload.rb, examples/config.rb, examples/ws-echo.rb, lib/mongrel2/websocket.rb, spec/mongrel2/websocket_spec.rb: Fixes for the websocket frame class for the stream API, fixed some examples. [4202d9942c16] * lib/mongrel2/connection.rb, lib/mongrel2/httpresponse.rb, lib/mongrel2/request.rb, lib/mongrel2/response.rb, lib/mongrel2/websocket.rb, spec/mongrel2/httpresponse_spec.rb, spec/mongrel2/response_spec.rb, spec/mongrel2/websocket_spec.rb: Convert to an IO-based request/response body [96edda5cdb69] 2012-06-08 Mahlon E. Smith * lib/mongrel2/constants.rb: Add a few newer-rfc HTTP error codes. [8e125eaf25ce] 2012-05-31 Michael Granger * .hgtags: Added tag v0.24.0 for changeset d2b1df5fc74d [dbe3504c63ad] * .hgsigs: Added signature for changeset 3ed1175a2f9e [d2b1df5fc74d] [v0.24.0] * History.rdoc, lib/mongrel2.rb: Bumping minor version, updating history. [3ed1175a2f9e] 2012-05-29 Mahlon E. Smith * lib/mongrel2/table.rb: Take immediate objects into account when dup/cloning a Mongrel2::Table. [f10cba1487ea] 2012-05-20 Michael Granger * .rvm.gems: Comment out amalgalite rvmrc gem until https://github.com/copiousfreetime/amalgalite/pull/22 is fixed [b872e092ed92] 2012-05-21 Michael Granger * Manifest.txt, examples/.env, examples/async-upload.rb, examples/config.rb, lib/mongrel2/config.rb, lib/mongrel2/httprequest.rb, spec/mongrel2/config_spec.rb: Change Config.settings to a Table, small fixups for async upload. [e2384875455d] * .tm_properties, data/mongrel2/bootstrap.html, examples/.env, examples/Procfile, examples/async-upload.rb, examples/config.rb, examples/run, lib/mongrel2/exceptions.rb, lib/mongrel2/httprequest.rb, spec/mongrel2/httprequest_spec.rb: Add support for async uploads [0b20bfda9eea] 2012-05-18 Michael Granger * .rvm.gems: Bumping Loggability dependency for inheritance bugfix [0c8cef0e6065] 2012-05-17 Michael Granger * .hgtags: Added tag v0.23.0 for changeset 644f1ddbfbd1 [82d6cd587b0a] * .hgsigs: Added signature for changeset 7d768d6e98ab [644f1ddbfbd1] [v0.23.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [7d768d6e98ab] * lib/mongrel2/connection.rb, lib/mongrel2/handler.rb, spec/mongrel2/handler_spec.rb: Add a convenience method to Mongrel2::Handler for fetching its associated config object. [30af037aa0be] * bin/m2sh.rb: Fix typos in m2sh.rb's exception handler [b7c5ca68fe74] 2012-05-10 Michael Granger * .rvm.gems, Rakefile: Bumping dependency on Loggability to 0.2. [b98ed24dfb83] 2012-05-07 Michael Granger * .hgtags: Added tag v0.22.1 for changeset ab969af3bf2c [142eade04d61] * .hgsigs: Added signature for changeset c68ca662121f [ab969af3bf2c] [v0.22.1] * .rvm.gems, History.rdoc, Rakefile, lib/mongrel2.rb: Fix loggability dependency version; bump patch version. [c68ca662121f] * .hgtags: Added tag v0.22.0 for changeset 82e0a3ed6dc5 [666e8d88a6d7] * .hgsigs: Added signature for changeset e25ffaab1897 [82e0a3ed6dc5] [v0.22.0] * History.rdoc, Manifest.txt, lib/mongrel2.rb: Bump the minor version, update history and manifest. [e25ffaab1897] * .rvm.gems, Rakefile, bin/m2sh.rb, examples/helloworld-handler.rb, examples/request-dumper.rb, examples/ws-echo.rb, experiments/endtoend.rb, experiments/xmlhandler.rb, lib/mongrel2.rb, lib/mongrel2/config.rb, lib/mongrel2/config/dsl.rb, lib/mongrel2/config/host.rb, lib/mongrel2/config/server.rb, lib/mongrel2/connection.rb, lib/mongrel2/control.rb, lib/mongrel2/handler.rb, lib/mongrel2/httprequest.rb, lib/mongrel2/httpresponse.rb, lib/mongrel2/jsonrequest.rb, lib/mongrel2/logging.rb, lib/mongrel2/mixins.rb, lib/mongrel2/request.rb, lib/mongrel2/response.rb, lib/mongrel2/table.rb, lib/mongrel2/testing.rb, lib/mongrel2/websocket.rb, lib/mongrel2/xmlrequest.rb, spec/lib/helpers.rb, spec/mongrel2/handler_spec.rb, spec/mongrel2/logging_spec.rb, spec/mongrel2/mixins_spec.rb, spec/mongrel2_spec.rb: Convert to Loggability for logging. [0da53476f796] 2012-04-25 Michael Granger * bin/m2sh.rb: Add an option to m2sh.rb to set the m2 port on the fly [0a0238b4c238] 2012-04-23 Michael Granger * .hgtags: Added tag v0.21.0 for changeset 84fe60846300 [bb658253dfe9] * .hgsigs: Added signature for changeset d7c540c7a114 [84fe60846300] [v0.21.0] * .rvm.gems: Bumped hoe-deveiate in the dev gemset [d7c540c7a114] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [0ecd9e4d21ee] * Rakefile: Activate deveiate Hoe plugin [4b74d9363949] * lib/mongrel2/handler.rb: Log the request at INFO, too. [b6f11e532b29] 2012-04-18 Michael Granger * lib/mongrel2/config.rb: Rename the defaults for Mongrel2::Config. This was changed to conform with Configurability's defaults API. The old name was aliased to the new for backward-compatibility. [c3bd7b10d758] 2012-04-12 Mahlon E. Smith * lib/mongrel2/httprequest.rb, spec/mongrel2/httprequest_spec.rb: Add a Mongrel2::HTTPRequest#remote_ip method. This should support both the current Mongrel (1.7.5) and the future plan for appended X -Forwarded-For headers. [4a241cca71d5] 2012-04-12 Michael Granger * .hgtags: Added tag v0.20.3 for changeset ea27cb7efdd5 [5e35f7001c58] * .hgsigs: Added signature for changeset e27a161d2009 [ea27cb7efdd5] [v0.20.3] * History.rdoc, lib/mongrel2.rb: Bump the patch version and update history. [e27a161d2009] * lib/mongrel2/testing.rb: Fix a require in mongrel2/testing. [081cc06dd255] 2012-04-11 Michael Granger * lib/mongrel2/config.rb: Assume paths passed to configure( :configdb ) should use SQLite. This makes it possible to configure with a path again, and the Config class will choose the right adapter for you. [47450781e385] * README.rdoc: Move the "other implementations" section to the bottom of the README. [bab5ef6854d2] 2012-04-10 Michael Granger * README.rdoc, Rakefile: Set docs to fivefish [551a2111a045] * .hgtags: Added tag v0.20.2 for changeset 2101ab88fa3c [29667a22cb1c] * .hgsigs: Added signature for changeset 7417a035001a [2101ab88fa3c] [v0.20.2] * History.rdoc, lib/mongrel2.rb: Bump the patch version and update history. [7417a035001a] * bin/m2sh.rb, lib/mongrel2.rb, lib/mongrel2/config.rb, spec/mongrel2/config_spec.rb: Fix Mongrel2::Config.dbname. [c2ca8db8b888] 2012-04-06 Michael Granger * .hgtags: Added tag v0.20.1 for changeset fdb45f9db05e [b04446f11762] * .hgsigs: Added signature for changeset 55a458211cb9 [fdb45f9db05e] [v0.20.1] * History.rdoc, lib/mongrel2.rb: Bump patch version, update history. [55a458211cb9] * .rvm.gems, Rakefile, spec/mongrel2/config_spec.rb: Update rvm environment, fix dependencies and a spec. [032791d245cd] * .hgtags: Added tag v0.20.0 for changeset 08e5e34841fb [1dfa4f30a839] * .hgsigs: Added signature for changeset 3cd69c7b76c6 [08e5e34841fb] [v0.20.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [3cd69c7b76c6] * lib/mongrel2/config.rb, spec/lib/helpers.rb, spec/mongrel2/config/route_spec.rb, spec/mongrel2/config_spec.rb: Fix the config DB for Sequel 3.34. Note: This fix includes several API changes - Mongrel2::Config.adapter_method is now .sqlite_adapter, and just returns the name of the appropriate adapter instead of a Method object that returns a Sequel::Database. - Mongrel2::Config.pathname is now .dbname, and returns either a URI or a String, depending on how the database handle was created. These changes also will make it easier to use alternative configuration databases, e.g., when I get the PostgreSQL config module working, it'll be easier to point the config model at it. [ca190c8046c2] 2012-03-28 Michael Granger * .hgtags: Added tag v0.19.0 for changeset ddf2ba151fdc [fc05d13761c5] * .hgsigs: Added signature for changeset a0a3115eb782 [ddf2ba151fdc] [v0.19.0] * History.rdoc, lib/mongrel2.rb: Bump minor version, update history. [a0a3115eb782] * lib/mongrel2/httpresponse.rb, spec/mongrel2/httpresponse_spec.rb: Make HTTPResponse default to a 200 status if there's a body. If there's a body, and the status hasn't yet been set, assume that it's supposed to be 200 OK. If the body is nil or empty and the status hasn't been set, assume it's a 204 No content. [f1c2834b6d59] * .hgtags: Added tag v0.18.0 for changeset 4624c640343e [a800fe3db4b1] * .hgsigs: Added signature for changeset 1d4e3af69f25 [4624c640343e] [v0.18.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [1d4e3af69f25] * lib/mongrel2/config/host.rb: Make the 'handler' DSL directive replace any existing handler with its send_ident. [2b625f2615a1] * lib/mongrel2/config/handler.rb, spec/mongrel2/config/handler_spec.rb: Add a validation to ensure that handler configs have unique send/recv specs and IDs. [93f7ad7c43f7] 2012-03-18 Michael Granger * .hgtags: Added tag v0.17.0 for changeset 525f7288759e [95d268db56c0] * .hgsigs: Added signature for changeset 023114cc92af [525f7288759e] [v0.17.0] * History.rdoc, lib/mongrel2.rb: Bump minor version, update history. [023114cc92af] 2012-03-10 Michael Granger * lib/mongrel2/config.rb: Squelch logging of expected SQL errors. Errors are normal during Mongrel2::Config.db= and .database_initialized?, so add a new .without_sql_logging method for temporarily disabling SQL logging, and wrap that around the methods in quesion. [6b62343b4e5a] * .rvm.gems, Rakefile: Add simplecov to dev dependencies [437f797ea469] * lib/mongrel2/websocket.rb: Fix documentation for WebSocket#validate_control_frame [195e8f3a0be9] * .hgtags: Added tag v0.16.0 for changeset 7d02d330c25c [7345807a6db7] * .hgsigs: Added signature for changeset 4fc45a463af8 [7d02d330c25c] [v0.16.0] * History.rdoc, Manifest.txt, lib/mongrel2.rb: Update history, manifest, and bump minor version. [4fc45a463af8] * lib/mongrel2/config/server.rb: Fix missing constant bug in the Server config class [88460d4d7ada] * bin/m2sh.rb: Close the control socket after using it in m2sh.rb [6d7262ef2a91] * examples/config.rb: Oops, no trailing $ in the ws route in the examples config [17522b5d958a] 2012-03-07 Michael Granger * README.rdoc, data/mongrel2/bootstrap.html, data/mongrel2/css/master.css, data/mongrel2/js/websock-test.js, data/mongrel2/websock-test.html, examples/config.rb, examples/ws- echo.rb, lib/mongrel2/connection.rb, lib/mongrel2/handler.rb, lib/mongrel2/websocket.rb: Finished up WebSocket implementation. - Added the class to API docs. - Cleaned up and fixed a couple of bugs in the websocket echo server backend. - Fixed issues with encoding of incoming frame payloads. - Added frame validation methods [fea3cd02d23c] 2012-03-05 Michael Granger * data/mongrel2/bootstrap.html, data/mongrel2/css/master.css, data/mongrel2/websock-test.html, examples/config.rb, examples/ws- echo.rb, lib/mongrel2.rb, lib/mongrel2/handler.rb, lib/mongrel2/request.rb, lib/mongrel2/testing.rb, lib/mongrel2/websocket.rb, spec/lib/constants.rb, spec/mongrel2/httprequest_spec.rb, spec/mongrel2/request_spec.rb, spec/mongrel2/websocket_spec.rb: Adding WebSocket (RFC6455) support [0db6f3808f5a] 2012-03-02 Michael Granger * lib/mongrel2/handler.rb: Log the method for unknown request types [1de6b0f28ee6] * examples/config.rb: Remove the null filter from the examples config [bbafaa425b68] * .hgtags: Added tag v0.15.1 for changeset 2bb88b311d68 [e6e61577d110] * .hgsigs: Added signature for changeset e943c9068b73 [2bb88b311d68] [v0.15.1] * History.rdoc, lib/mongrel2.rb: Bump patch version and update history. [e943c9068b73] 2012-03-01 Michael Granger * lib/mongrel2/connection.rb: Fix some comments/debug statements in Connection [16a888bc7999] * lib/mongrel2/config/host.rb: Make sure host deletes cascade to their routes [b0f642f12cec] * lib/mongrel2/config/dsl.rb: Init the database outside of the transaction in the "server" DSL method [9ebc726b8fd1] * examples/request-dumper.rb: Remove the SAFE test from the request-dumper example [e7fe8c9f32a5] * bin/m2sh.rb: Correct the line number of errors in configs loaded from m2sh.rb [7c22054835a0] * lib/mongrel2/config.rb: Log SQL to the logger at DEBUG level [06fa58a7eb4a] 2012-02-27 Michael Granger * .hgtags: Added tag v0.15.0 for changeset ed540a27e271 [dc3dafb80ae0] * .hgsigs: Added signature for changeset 43a5d2cb1865 [ed540a27e271] [v0.15.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [43a5d2cb1865] * lib/mongrel2/config/server.rb: Fix the Mongrel2::Config::Server.by_uuid dataset method Return a dataset instead of the instance. [59a7fc6abae2] * .hgtags: Added tag v0.14.0 for changeset 5a2a21415dff [aa9c635b978f] * .hgsigs: Added signature for changeset e50e20d73e34 [5a2a21415dff] [v0.14.0] * History.rdoc, README.rdoc, data/mongrel2/bootstrap.html, lib/mongrel2.rb: Update copyright dates, bump version, update history [e50e20d73e34] * lib/mongrel2/httpresponse.rb, lib/mongrel2/request.rb: Add an alias for #headers -> #header to Mongrel2::Request and Mongrel2::HTTPResponse. [209d7f923328] * lib/mongrel2/testing.rb: Add an OPTIONS request factory method to the RequestFactory [5140dd4f5dc4] 2012-02-24 Michael Granger * .hgtags: Added tag v0.13.0 for changeset e71a3b89bd85 [8747d72ce480] * .hgsigs: Added signature for changeset 612156a7bc00 [e71a3b89bd85] [v0.13.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [612156a7bc00] * lib/mongrel2/connection.rb, spec/mongrel2/connection_spec.rb: Fix the ZMQ socket identifier used by Connection. [5cc36193325e] * lib/mongrel2/httpresponse.rb: Whitespace fix [2825344a0497] * lib/mongrel2/config/server.rb, spec/mongrel2/config/server_spec.rb: Add missing slash in the control socket URI [f76172f3a314] * examples/helloworld-handler.rb: Add an argument so the helloworld handler can use another config DB [edfcfa826e72] 2012-02-20 Michael Granger * .tm_properties, lib/mongrel2/httpresponse.rb, spec/mongrel2/httpresponse_spec.rb: Fix handling of NO CONTENT (204) responses. - Don't set a Content-type header - Omit the body even if there is one - Set the content-length to 0 [cdb39968287a] 2012-02-17 Michael Granger * .hgtags: Added tag v0.12.0 for changeset 9c29d703bd31 [45f70e1856f2] * .hgsigs: Added signature for changeset 7cd687a35c4c [9c29d703bd31] [v0.12.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version, update history. [7cd687a35c4c] * lib/mongrel2/constants.rb, lib/mongrel2/httpresponse.rb, spec/mongrel2/httpresponse_spec.rb: Add bodiless response predicate to Mongrel2::HTTPResponse. [a0739bccbc8d] * .rvmrc: Update rvmrc [9e873265cdab] * lib/mongrel2/testing.rb: Add #put and #delete factory methods to the Mongrel2::RequestFactory. [5773b09ae5fc] * examples/admin.rb: Remove the admin example config [54fe52624b71] * .rvmrc: Remove patchlevel from gemset spec [fc0c896f4bb1] 2012-02-15 Michael Granger * README.rdoc, lib/mongrel2/config/filter.rb: Flesh out docs for the Filter config class. [67e37e22865a] * examples/config.rb: Merge with github/master [d37994025a31] 2012-02-06 Michael Granger * bin/m2sh.rb, examples/admin.rb, examples/config.rb, lib/mongrel2/config/dsl.rb, lib/mongrel2/config/server.rb: Make the DSL declarations destructive. [f2edffaa7e40] 2012-02-15 Michael Granger * .hgtags: Added tag v0.11.0 for changeset a0e0b4af6b13 [b00b1f48853a] * .hgsigs: Added signature for changeset 5d438ea6037a [a0e0b4af6b13] [v0.11.0] * History.rdoc, lib/mongrel2.rb: Bump the minor version and update History. [5d438ea6037a] * lib/mongrel2/httprequest.rb, spec/mongrel2/httprequest_spec.rb: Add some more convenience methods to the HTTPRequest class [3cd4a2a9ac08] * DSL.rdoc, Manifest.txt, Rakefile, lib/mongrel2/config/dsl.rb: Finish up the DSL documentation. [a3e959af5272] 2012-02-10 Michael Granger * examples/config.rb, lib/mongrel2/config/dsl.rb: Start work on detailed docs for the config DSL [fd35a1c88881] 2012-02-06 Michael Granger * .rvm.gems, .rvmrc, .tm_properties, bin/m2sh.rb, examples/config.rb, lib/mongrel2/config.rb, lib/mongrel2/config/dsl.rb, lib/mongrel2/config/server.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config_spec.rb: Make the DSL declarations destructive. [8c065a2dcebc] * .hgtags: Added tag v0.10.0 for changeset 1e9885cbcafd [d3f06f6344ad] * .hgsigs: Added signature for changeset 948877fd6c9d [1e9885cbcafd] [v0.10.0] * Manifest.txt: Updating the manifest [948877fd6c9d] * .hgsigs: Added signature for changeset 2fcffa9c789b [457375acdf50] * History.rdoc: Updated the date in the History file [2fcffa9c789b] 2012-01-25 Michael Granger * .tm_properties, History.rdoc, data/mongrel2/config.sql, examples/config.rb, lib/mongrel2/config.rb, lib/mongrel2/config/dsl.rb, lib/mongrel2/config/filter.rb, lib/mongrel2/config/server.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/filter_spec.rb, spec/mongrel2/config/route_spec.rb: Updating config database schema/classes for Mongrel 1.8. [6d2608b23873] * examples/config.rb: Move the example server back to port 8113 [05d301010931] * History.rdoc, lib/mongrel2.rb: Bumped minor version, updated history. [b3ed6f931afa] * .rvm.gems, .rvmrc, Rakefile, bin/m2sh.rb, lib/mongrel2/config.rb, lib/mongrel2/config/server.rb, lib/mongrel2/constants.rb, spec/mongrel2/config/server_spec.rb, spec/mongrel2/config_spec.rb: Adding the rest of the m2sh commands to the ruby analog [23ec891231d3] 2012-01-11 Michael Granger * .pryrc: Adding a .pryrc [08d0aad8c902] 2012-01-09 Michael Granger * History.rdoc, lib/mongrel2.rb: Bumped patch version; updated history file [e05d8ed6d64b] * bin/m2sh.rb: Adding a "sudo" option to m2sh.rb to start the server as root [a03146c94124] 2012-01-05 Michael Granger * .rvm.gems, Rakefile: Add rvm gemset, update dependencies. [492faafc9c10] 2011-12-29 Michael Granger * examples/config.rb: Modified values to be a bit more like the Mongrel2 example [12866b0f1910] * .tm_properties: Adding my TextMate2 properties file [7ad85509639e] 2011-12-07 Michael Granger * .rvmrc: Use a gemset in the .rvmrc. [0faddd8ecca1] 2011-11-21 Michael Granger * lib/mongrel2/config.rb: Enable the json_serializer plugin for the config ORM classes [95702dafbe39] 2011-10-17 Michael Granger * README.rdoc, lib/mongrel2/httpresponse.rb, lib/mongrel2/response.rb, lib/mongrel2/table.rb: Backing out the change to HTTPResponse to use the @body ivar: changed the negotiation plugin to use the #to_s method instead. [989199eb3731] 2011-10-12 Michael Granger * .hgtags: Added tag v0.9.2 for changeset 4b86af172b1c [cb02d92719e6] * .hgsigs: Added signature for changeset c0a5ad8a50f7 [4b86af172b1c] [v0.9.2] * History.rdoc, lib/mongrel2.rb: Bump the patch version, update history. [c0a5ad8a50f7] * lib/mongrel2/httpresponse.rb: Bugfix: dup instead of clone to get rid of frozen status. [d721f3550aa6] * .hgtags: Added tag v0.9.1 for changeset c4bcdadb0ea8 [a0fde2550745] * .hgsigs: Added signature for changeset f8aa9d64dbd4 [c4bcdadb0ea8] [v0.9.1] * History.rdoc, lib/mongrel2.rb: Bump the patch version, update history. [f8aa9d64dbd4] * lib/mongrel2/httpresponse.rb: Bugfix: don't use the default content type string constant directly. [d82673c8c1ae] * .hgtags: Added tag v0.9.0 for changeset 990255c9d9b2 [ef6f05d42f79] * .hgsigs: Added signature for changeset 180ebbaeb4a0 [990255c9d9b2] [v0.9.0] * History.rdoc, lib/mongrel2.rb: Bumped minor version, updated history. [180ebbaeb4a0] * lib/mongrel2/table.rb, spec/mongrel2/table_spec.rb: Fix Mongrel2::Table not duping/cloning its internal values. [34cb2a0bfee6] * lib/mongrel2/httpresponse.rb, spec/mongrel2/httpresponse_spec.rb: Set a default Content-type header in HTTP responses [a9914061817c] * .hgtags: Added tag v0.8.0 for changeset 27d84902263b [51ad37ddc1cd] * .hgsigs: Added signature for changeset 986182bd469e [27d84902263b] [v0.8.0] * History.rdoc, lib/mongrel2.rb: Bump minor version, update the History file. [986182bd469e] * Rakefile, lib/mongrel2/httpresponse.rb, lib/mongrel2/response.rb: Split out the normalization of HTTP response headers into two methods for overriding. [16f4f041876d] 2011-10-11 Michael Granger * lib/mongrel2/httprequest.rb: Reorganized instance/class methods in httprequest.rb [d0b82daf744e] 2011-10-10 Michael Granger * .hgtags: Adding semver tag to v0.0.1 [9f04d730e1a4] 2011-10-09 Michael Granger * .hgtags: Added tag v0.7.0 for changeset c20d38b9cd67 [db86ba6a709e] * .hgsigs: Added signature for changeset 297e73f3ad7a [c20d38b9cd67] [v0.7.0] * History.rdoc, lib/mongrel2.rb: Bumped minor version, updated History. [297e73f3ad7a] * lib/mongrel2/response.rb, spec/mongrel2/response_spec.rb: Add an optional #request parameter to Mongrel2::Response and make Response.from_request set it. This is to make things like content- negotiation less of a pain in the ass. [4fb3017de357] 2011-10-05 Michael Granger * lib/mongrel2/handler.rb: Log request and response both at INFO. [56361e8db7bd] 2011-10-03 Michael Granger * History.rdoc: Fixing the header in History [0583c789593c] * .hgtags: Added tag v0.6.0 for changeset 4d0e21e8b7f8 [bc11f65d120d] * .hgsigs: Added signature for changeset 8234d3fa985b [4d0e21e8b7f8] [v0.6.0] * History.rdoc: Updated History [8234d3fa985b] * lib/mongrel2.rb: Bumping minor version for release. [c2ffa52b95e8] * lib/mongrel2/httprequest.rb, spec/mongrel2/httprequest_spec.rb: Mongrel2::HTTPRequest enhancements. - Added #body= for rewriting the entity body - Added convenience methods for fetching the Content-type and Content- encoding headers: #content_type, #content_encoding - Switched the specs to use Mongrel2::RequestFactory for making request objects [d0d1a93982fc] 2011-09-30 Michael Granger * .hgtags: Added tag v0.5.0 for changeset a90ad3074301 [1befe0365be8] * .hgsigs: Added signature for changeset a6f7638ffc30 [a90ad3074301] [v0.5.0] * History.rdoc, lib/mongrel2.rb: Bumped minor version, updated History for new release. [a6f7638ffc30] * lib/mongrel2/testing.rb: Added support for HEAD and POST requests to the Mongrel2::RequestFactory. [cd2475e283e5] 2011-09-27 Michael Granger * .hgtags: Added tag v0.4.0 for changeset 25f2272fc9f8 [0b4e011b72b4] * .hgsigs: Added signature for changeset 3fb74e2ce308 [25f2272fc9f8] [v0.4.0] * History.rdoc, lib/mongrel2.rb: Bumped the minor version, updated History for release. [3fb74e2ce308] * lib/mongrel2/config/server.rb: Adding a Mongrel2::Config::Server.by_uuid dataset method. [9e86a71471a7] * .hgtags: Added tag v0.3.1 for changeset 844ff1c3ef53 [f01c6e6098bb] * .hgsigs: Added signature for changeset dff90858f4cd [844ff1c3ef53] [v0.3.1] * History.rdoc, lib/mongrel2.rb: Bump patch version, update history for release. [dff90858f4cd] * lib/mongrel2/httpresponse.rb, spec/mongrel2/httpresponse_spec.rb: Report the size of the response body in bytes, not characters [f41c8d38bb25] * lib/mongrel2/handler.rb: Report unhandled disconnect notices as INFO instead of WARN [d5b3e7c4075e] * lib/mongrel2/connection.rb, spec/mongrel2/connection_spec.rb: Made a stringified connection show the useful parts of the inspect output [aa4b85dc3470] * README.rdoc: Made the synopsis in the README stand a little better on its own [b26dbd8d93f9] 2011-09-23 Michael Granger * .hgtags: Added tag v0.3.0 for changeset 627526429d63 [9c054d0e96c0] * .hgsigs: Added signature for changeset 745c431bcc1b [627526429d63] [v0.3.0] * History.rdoc, lib/mongrel2.rb: Bump minor version, update History. [745c431bcc1b] * lib/mongrel2/control.rb, spec/mongrel2/control_spec.rb: Mongrel2::Client fixes/doc updates: - Added examples for some of the more-complex return values - Fixed wording for some of the methods that I lazily copied from the manual - Client socket sets ZMQ::LINGER to 0 to try to avoid hangs when destroying it without closing its socket first. - Made Mongrel2::Client#time return a Time object directly instead of wrapping it in a Hash. Need more experimentation with multiple servers before I do this for other methods, however. [1722ea9675c8] * bin/m2sh.rb: Include FileUtils in the 'm2sh.rb load' context so configs can create run/log directories, etc. [4c93cdb75813] * lib/mongrel2/connection.rb: Set SO_LINGER on the sockets so closing the connection doesn't wait for unconsumed events. [5e7a155a054e] * lib/mongrel2/handler.rb: Add missing include to Mongrel2::Handler [47c4026c1f8d] * lib/mongrel2/connection.rb: Add a bit more debugging to Connection#send and #recv [937683f0be2e] 2011-09-21 Michael Granger * .hgtags: Added tag v0.2.4 for changeset d4523fc43396 [89029a1edce5] * .hgsigs: Added signature for changeset d6797487c359 [d4523fc43396] [v0.2.4] * History.rdoc, lib/mongrel2.rb: Updated history, bumping patch version for release. [d6797487c359] * lib/mongrel2/httprequest.rb, lib/mongrel2/httpresponse.rb, lib/mongrel2/request.rb: Correct body size in inspected request/response output. [e344d8af9fb9] * lib/mongrel2/httpresponse.rb, lib/mongrel2/response.rb: Added a cleaned-up Mongrel2::Response#inspect like Mongrel2::Request. [263a11ebf987] * .hgtags: Added tag v0.2.3 for changeset 49b62d1014e9 [d7e2a0fea841] * .hgsigs: Added signature for changeset 458a04ad8273 [49b62d1014e9] [v0.2.3] * History.rdoc: Update the History. [458a04ad8273] * lib/mongrel2.rb: Bump the patch version for release. [44497043893b] * lib/mongrel2/httpresponse.rb, lib/mongrel2/testing.rb, spec/mongrel2/httpresponse_spec.rb: Change the default response to a 204 No Content to distinguish it from an intentionally-empty response from a handler. [77ddc151eace] 2011-09-19 Michael Granger * .hgtags: Added tag v0.2.2 for changeset 9b1ac5f6eae4 [b117bea3d729] * .hgsigs: Added signature for changeset 302857f8866a [9b1ac5f6eae4] [v0.2.2] * History.rdoc: Update the History file. [302857f8866a] * Rakefile: Mercurial plugin config added to the Rakefile. [03186e9ce7bc] * lib/mongrel2.rb: Bump the patch version. [f1abf26d45ea] * Manifest.txt, Rakefile: Packaging fix: updated manifest, fix the Rakefile to prevent pushing a partial gem in the future. [6764306233ca] * .hgtags: Added tag v0.2.1 for changeset d1d66d73becd [6ba4c0f4f07e] * .hgsigs: Added signature for changeset 95ea49073e6c [d1d66d73becd] [v0.2.1] * lib/mongrel2.rb: Bumping patch version for release. [95ea49073e6c] * lib/mongrel2/constants.rb: Whitespace fix; add missing HTTP::CONTINUE constant. [3082d251f00c] 2011-09-18 Michael Granger * .hgtags: Added tag v0.2.0 for changeset 9828c04f097a [8d578ccedea4] * .hgsigs: Added signature for changeset 5c631fa35bff [9828c04f097a] [v0.2.0] * lib/mongrel2.rb: Bumping minor version for release. [5c631fa35bff] * lib/mongrel2/testing.rb, spec/lib/helpers.rb: Factor out the generically-useful RSpec helper functions into mongrel2/testing.rb and add a RequestFactory. [25fea15c26cb] * lib/mongrel2/connection.rb, lib/mongrel2/handler.rb, lib/mongrel2/httprequest.rb, lib/mongrel2/request.rb, spec/mongrel2/handler_spec.rb: Fix object ID in inspect output, clean up inspected Request/Response objects. [3d7de6e47b42] * experiments/mongrel2.org-dsl.rb: Tighten up the mongrel2.org DSL example, remove the accidentally- committed adminserver part. [ed8f18ffe4c3] * examples/request-dumper.rb: Test the request dumper under $SAFE = 1, revert back to using examples.sqlite [291742549f11] * data/mongrel2/bootstrap.html, data/mongrel2/css/master.css, examples /request-dumper.tmpl: Added CSS [032124c021b5] * lib/mongrel2/config/host.rb: Config DSL: directory: Default the index file to index.html [34b61931b6e6] 2011-09-16 Michael Granger * .hgtags: Added tag v0.1.2 for changeset 8c47a392865d [edb13b600572] * .hgsigs: Added signature for changeset 4212c8770654 [8c47a392865d] [v0.1.2] * lib/mongrel2.rb: Bump patch version for bugfix release. [4212c8770654] * examples/config.rb, examples/request-dumper.rb, lib/mongrel2/constants.rb, lib/mongrel2/httpresponse.rb, spec/mongrel2/httpresponse_spec.rb: Fixed some header problems in Mongrel2::HTTPResponse. - Re-calculate content-length and date headers on each render. - Don't clear headers passed to the constructor. [e74dcb79bf15] 2011-09-14 Michael Granger * Automated merge with ssh://deveiate.org/Ruby-Mongrel2 [2da76acfb8db] * History.rdoc: Updating History [3b013d4918c6] * Rakefile: Automated merge with ssh://deveiate.org/Ruby-Mongrel2 [e3908fd8e744] * Rakefile: Remove ChangeLog task, since hoe-deveiate already does it [5f4982a32949] * .hgtags: Added tag v0.1.1 for changeset 42da048fe158 [2489be2693d5] * .hgsigs: Added signature for changeset 2f5183ca5446 [42da048fe158] [v0.1.1] * lib/mongrel2.rb: Bumped minor version for dependency update. [2f5183ca5446] * Rakefile, lib/mongrel2.rb: Updated rbzmq dependency [758fe465780e] * .hgtags: Added tag v0.1.0 for changeset 55c8f01c01c6 [39b509c68142] * .hgsigs: Added signature for changeset da03e18009f8 [55c8f01c01c6] [v0.1.0] * History.rdoc, lib/mongrel2.rb, lib/mongrel2/request.rb: Updated docs, bumped version to 0.1.0 to reflect API change. [da03e18009f8] * lib/mongrel2/httprequest.rb, lib/mongrel2/request.rb, spec/mongrel2/httprequest_spec.rb, spec/mongrel2/request_spec.rb: Make Mongrel2::Request#response memoize its return value, and add a class for determining which response type to return for ease of overriding. [80bdfbf38454] 2011-09-13 Michael Granger * History.rdoc: Updating History file. [05ce9d6df9af] * .hgtags: Added tag v0.0.2 for changeset 8947e2c06ceb [0183a9fdcadc] * .hgsigs: Added signature for changeset c39289ec700e [8947e2c06ceb] [v0.0.2] * Rakefile, lib/mongrel2.rb, lib/mongrel2/handler.rb: Adding a shim for lack of ZMQ::Error in 2.1.3. [c39289ec700e] * .hgignore: Merged with 3659a56af8fb [f2201728e874] * .hgignore: Ignoring packaging directory [0613976b6735] 2011-09-12 Michael Granger * README.rdoc: README fixes [3659a56af8fb] * Rakefile: Fixing gem name [8283ced55657] * .hgtags: Added tag v0.0.1 for changeset 0eb864f65172 [5cb0ab2a1471] * .hgsigs: Added signature for changeset 7ece186852cd [0eb864f65172] [semver, v0.0.1] * .hgignore, History.rdoc, Rakefile: Fix release tasks, update the History.rdoc. [7ece186852cd] * .hgtags: Removed tag v0.0.1 [6083c1af9ba5] * .hgtags: Added tag v0.0.1 for changeset 21aa45e88d3b [54ecb2092464] * .hgsigs: Added signature for changeset b5bd6fee2124 [21aa45e88d3b] * .hgtags: Added tag prerelease for changeset 8e1320cd72d8 [b5bd6fee2124] * README.rdoc: README updates [8e1320cd72d8] [prerelease] * .gemtest, .hgignore, lib/mongrel2/config.rb, lib/mongrel2/connection.rb, lib/mongrel2/handler.rb, lib/mongrel2/httprequest.rb, lib/mongrel2/httpresponse.rb, lib/mongrel2/jsonrequest.rb, lib/mongrel2/response.rb, spec/lib/constants.rb, spec/lib/helpers.rb, spec/lib/matchers.rb, spec/mongrel2/config/directory_spec.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/handler_spec.rb, spec/mongrel2/config/host_spec.rb, spec/mongrel2/config/proxy_spec.rb, spec/mongrel2/config/route_spec.rb, spec/mongrel2/config/server_spec.rb, spec/mongrel2/config/setting_spec.rb, spec/mongrel2/config/statistic_spec.rb, spec/mongrel2/config_spec.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/constants_spec.rb, spec/mongrel2/control_spec.rb, spec/mongrel2/handler_spec.rb, spec/mongrel2/httprequest_spec.rb, spec/mongrel2/httpresponse_spec.rb, spec/mongrel2/logging_spec.rb, spec/mongrel2/mixins_spec.rb, spec/mongrel2/request_spec.rb, spec/mongrel2/response_spec.rb, spec/mongrel2/table_spec.rb, spec/mongrel2_spec.rb: Improve overall test coverage to 95%, finished replacing real 0MQ sockets with mocks and stubs to avoid complex setup/teardown procedures. [19e0a72320dd] 2011-09-10 Michael Granger * bin/m2sh.rb: Finished as much of m2sh.rb as I'm going to for the 0.0.1 release. [9f50e70a27e0] * README.rdoc, Rakefile: Documentation fixes; switch gem dependencies from sqlite3 to amalgalite [919e1b72ef4f] * bin/m2sh.rb, experiments/mongrel2.org-dsl.rb: Finishing up work on the initial version of m2sh.rb [07a2f605a04a] * lib/mongrel2.rb: Make the version string return "Ruby-Mongrel2" to avoid aonfusion [be362e9b6bc8] * lib/mongrel2/config/server.rb, spec/mongrel2/config/server_spec.rb: Add validations for Mongrel2::Config::Server [cb21877eb469] * .hgignore, .irbrc, README.rdoc, experiments/m2specs-amalgalite.dot, experiments/m2specs-sqlite3.dot, lib/mongrel2/config.rb, lib/mongrel2/config/dsl.rb, lib/mongrel2/config/log.rb, lib/mongrel2/logging.rb, spec/lib/helpers.rb, spec/mongrel2/config/directory_spec.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/handler_spec.rb, spec/mongrel2/config/log_spec.rb, spec/mongrel2/config_spec.rb, spec/mongrel2/handler_spec.rb: Adding support for Amalgalite [3f8402c080ce] 2011-09-09 Michael Granger * Merged with 6ea60b67e106 [6d5341f30cc4] * lib/mongrel2/config/host.rb: Adding a many_to_one association for the server belonging to a Mongrel2::Config::Host [6ea60b67e106] * lib/mongrel2/config/log.rb, spec/mongrel2/config/log_spec.rb: Fixing a bug and adding coverage for Mongrel2::Config::Log.log_action [ff7c27cd7d0c] * lib/mongrel2/config/log.rb, spec/mongrel2/config/log_spec.rb: Adding a convenience class method and a stringification method to Mongrel2::Config::Log [79204623a123] * experiments/requestdumper-profile-97bfa5c5211f.graffle: Adding a proftools dump of the requestdumper app [00cbc1b89a61] * Manifest.txt: Updating the manifest for the first release [916a79570cdc] * examples/helloworld-handler.rb, lib/mongrel2/handler.rb: More Handler API docs. [47427db9b4fb] * lib/mongrel2/handler.rb: Adding some Mongrel2::Handler API docs. [da95bfdf83da] 2011-09-08 Michael Granger * README.rdoc, lib/mongrel2.rb, lib/mongrel2/config.rb, lib/mongrel2/config/dsl.rb, lib/mongrel2/handler.rb, lib/mongrel2/response.rb, lib/mongrel2/table.rb, spec/lib/helpers.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/route_spec.rb, spec/mongrel2/control_spec.rb, spec/mongrel2/table_spec.rb: Documentation work and spec fixes. [6644045857ff] * lib/mongrel2/control.rb, lib/mongrel2/exceptions.rb, spec/mongrel2/control_spec.rb: Finished up the initial implementation of Mongrel2::Control [20b4127ec5b8] * .hgignore, Rakefile, bin/m2sh.rb, config.sqlite, data/mongrel2/bootstrap.html, examples/README.txt, examples/config.rb, examples/helloworld-handler.rb, examples /request-dumper.rb, examples/request-dumper.tmpl, examples/run, experiments/bootstrap.config, experiments/endtoend.rb, lib/mongrel2.rb, lib/mongrel2/config.rb, lib/mongrel2/config/directory.rb, lib/mongrel2/config/dsl.rb, lib/mongrel2/config/handler.rb, lib/mongrel2/config/host.rb, lib/mongrel2/connection.rb, lib/mongrel2/constants.rb, lib/mongrel2/exceptions.rb, lib/mongrel2/handler.rb, lib/mongrel2/httprequest.rb, lib/mongrel2/httpresponse.rb, lib/mongrel2/jsonrequest.rb, lib/mongrel2/request.rb, lib/mongrel2/response.rb, lib/mongrel2/table.rb, lib/mongrel2/xmlrequest.rb, spec/lib/constants.rb, spec/lib/helpers.rb, spec/lib/matchers.rb, spec/mongrel2/config/directory_spec.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/handler_spec.rb, spec/mongrel2/httpresponse_spec.rb, spec/mongrel2/request_spec.rb, spec/mongrel2/response_spec.rb: Adding the initial Mongrel2::Handler class, split out requests into HTTP, JSON, and XML. [97bfa5c5211f] * README.rdoc, lib/mongrel2.rb, lib/mongrel2/connection.rb, lib/mongrel2/constants.rb, lib/mongrel2/control.rb, lib/mongrel2/exceptions.rb, lib/mongrel2/logging.rb, lib/mongrel2/mixins.rb: Documentation updates/fixes [9818069b4fa1] 2011-08-31 Michael Granger * .rvmrc, lib/mongrel2.rb, lib/mongrel2/config/host.rb, lib/mongrel2/config/route.rb: *Actually* making the library warn under Rubies earlier than 1.9.2. [2bda0ef5b1dc] * Rakefile, spec/lib/helpers.rb: Make Mongrel2 1.9-only [e28dd808791f] 2011-08-30 Michael Granger * lib/mongrel2.rb, lib/mongrel2/config/directory.rb, lib/mongrel2/config/host.rb, spec/lib/helpers.rb, spec/mongrel2/config/directory_spec.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/route_spec.rb, spec/mongrel2/connection_spec.rb: Added directory validation; fixed broken directory creation elsewhere. [b70f91252903] 2011-08-29 Michael Granger * .hgignore, Rakefile, bin/m2sh.rb, config.sqlite, experiments/endtoend.rb, experiments/xmlhandler.rb, lib/mongrel2.rb, lib/mongrel2/config/directory.rb, lib/mongrel2/connection.rb, lib/mongrel2/control.rb, lib/mongrel2/exceptions.rb, lib/mongrel2/logging.rb, lib/mongrel2/mixins.rb, lib/mongrel2/request.rb, lib/mongrel2/response.rb, spec/lib/constants.rb, spec/lib/helpers.rb, spec/mongrel2/config/directory_spec.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/request_spec.rb: Splitting out request/response types [ca2cff4a050e] * lib/mongrel2/config/handler.rb, spec/lib/constants.rb, spec/mongrel2/config/handler_spec.rb: Added validations to Mongrel2::Config::Handler. [b4eeb85cbfe6] * config.sqlite, experiments/bootstrap.config, experiments/endtoend.rb, lib/mongrel2.rb, lib/mongrel2/connection.rb, lib/mongrel2/constants.rb, lib/mongrel2/control.rb, lib/mongrel2/request.rb, lib/mongrel2/response.rb, lib/mongrel2/table.rb, spec/lib/constants.rb, spec/mongrel2/connection_spec.rb, spec/mongrel2/constants_spec.rb, spec/mongrel2/control_spec.rb, spec/mongrel2/logging_spec.rb, spec/mongrel2/request_spec.rb, spec/mongrel2/response_spec.rb, spec/mongrel2/table_spec.rb, spec/mongrel2_spec.rb: Adding handler framework classes [d990a27281a3] 2011-08-26 Michael Granger * README.rdoc, Rakefile, experiments/dsl-spike.rb, experiments/mongrel2.org-dsl.rb: Documentation update. [2d46631ac05c] * .hgignore, History.md, History.rdoc, Manifest.txt, README.rdoc, Rakefile, bin/m2sh.rb, data/mongrel2/bootstrap.html, data/mongrel2/config.sql, data/mongrel2/mimetypes.sql, experiments /dsl-spike.rb, experiments/mongrel2.org-dsl.rb, experiments/mongrel2.org.conf, lib/mongrel2/config.rb, lib/mongrel2/config/dsl.rb, lib/mongrel2/config/host.rb, lib/mongrel2/config/mimetype.rb, lib/mongrel2/config/route.rb, lib/mongrel2/config/server.rb, spec/lib/constants.rb, spec/lib/helpers.rb, spec/mongrel2/config/directory_spec.rb, spec/mongrel2/config/dsl_spec.rb, spec/mongrel2/config/handler_spec.rb, spec/mongrel2/config/host_spec.rb, spec/mongrel2/config/log_spec.rb, spec/mongrel2/config/proxy_spec.rb, spec/mongrel2/config/route_spec.rb, spec/mongrel2/config/server_spec.rb, spec/mongrel2/config/setting_spec.rb, spec/mongrel2/config/statistic_spec.rb, spec/mongrel2/config_spec.rb: Finished up work on the config classes and the DSL [1ef9efccf8f2] 2011-08-18 Michael Granger * .irbrc, README.md, README.rdoc, bin/m2sh.rb, config.sqlite, experiments/bootstrap.config, lib/mongrel2.rb, lib/mongrel2/config.rb, lib/mongrel2/config/directory.rb, lib/mongrel2/config/handler.rb, lib/mongrel2/config/host.rb, lib/mongrel2/config/log.rb, lib/mongrel2/config/proxy.rb, lib/mongrel2/config/route.rb, lib/mongrel2/config/server.rb, lib/mongrel2/config/setting.rb, lib/mongrel2/config/statistic.rb, lib/mongrel2/constants.rb, lib/mongrel2/model.rb, spec/mongrel2/config_spec.rb, spec/mongrel2/model_spec.rb: Initial work on the config classes done; started work on a toy version of m2sh. [763661578e2d] 2011-08-17 Michael Granger * .autotest, History.md, Manifest.txt, README.md, Rakefile, bin/m2sh.rb, lib/mongrel2.rb, lib/mongrel2/constants.rb, lib/mongrel2/logging.rb, lib/mongrel2/mixins.rb, lib/mongrel2/model.rb, spec/lib/constants.rb, spec/lib/helpers.rb, spec/mongrel2/mixins_spec.rb, spec/mongrel2/model_spec.rb, spec/mongrel2_spec.rb: Creating project skeleton. [3a1882003e47]