The Search API doesn't return exact matches for some queries. As far as I can tell, it happens with queries that have a small length.
For example, if you search for ib
, the ib
gem is not part of the search results:
https://rubygems.org/api/v1/search.json?query=ib