mattt/sinatra-param — pull request #9 by rlipman (2012-06-25 20:31:41+00:00)
Title: Check if params are booleans when they're json parsed

If params are sent as json POST body, boolean parameters are parsed as boolean types, not strings. This change makes it check if the param is a boolean as well as regex match the `false|f|no|n|0` regex.