lsegal/rubydoc.info — pull request #57 by cgunther (2012-12-06 02:10:40+00:00)
Title: Show gem search exact match above all results

This should resolve #18 and a pet peeve of mine for a while, showing a gem who's name is an exact match to the search query above the main list of results.

I took inspiration from RubyGems.org, showing the exact match in it's own list at the top, then the old, full list underneath.

RubyGems.org:
![](http://f.cl.ly/items/1d0G111W371K2E0g0g3h/Screen%20Shot%202012-12-05%20at%209.08.12%20PM.png)

RubyDoc.info:
![](http://f.cl.ly/items/3Z012n1X2e1j1U1q0b1M/Screen%20Shot%202012-12-05%20at%209.09.17%20PM.png)