jstorimer/hooves — pull request #2 by d11wtq (2011-10-22 08:16:34+00:00)
Title: A couple of minor changes to make it work outside of Rails

Changed:

1. Use `Hash#select` instead of `Hash#slice` (depends on ActiveSupport and the difference is negligible)
2. Replace `::Unicorn.run` with `::Unicorn::HttpServer.new(app, options).start` (`Unicorn.run` isn't actually defined o_O)

This allows me to use Unicorn to run a little web application packaged inside a gem, via Vegas.

PS: If you're happy with the changes, and you don't have any strong objections to doing so, would you mind pushing the gem after merging the changes? Since I'd like to make it a dependency of my own gem and I'm an impatient bugger ;)