boundary/folsom_cowboy — pull request #3 by p3ll0n (2012-10-05 20:23:11+00:00)
Title: Update to cowboy v0.7.0's API

* Make sure ranch is started explicitly before tests run
* Use cowboy:start_http/4 instead of cowboy:start_listener
* Use cowboy_req instead of cowboy_http_req
* cowboy_req:path now returns binary() instead of
cowboy_dispatcher:tokens() so get_request/1 becomes
get_request/2 with arguments (binary(), Req::req())
and the metric id is split off the binary() path
inside get_request/2