4 Commits

Author SHA1 Message Date
Misty De Meo
a26cde8299
search_remote_tap spec: fix test offline
Even though we stub the JSON response, the method being tested always
returns [] immediately if HOMEBREW_NO_GITHUB_API is set.
2017-08-31 22:29:43 -07:00
Markus Reiter
2bda194bd9 Add GitHub::search_code method. 2017-04-25 12:29:01 +02:00
Mike McQuaid
b3c69aba87 search: use single HTTP call for tap searches.
Use GitHub's code search API to search using the filename based on the
search query. This means we only need a single HTTP call and no more
multithreading madness. This also means we're able to search everything
in the Homebrew and Caskroom organisation by default without having to
maintain a list of things to search (and not) in here.
2017-04-24 14:11:04 +01:00
Markus Reiter
423f22df00 Convert search_remote_tap test to spec. 2017-02-21 05:15:04 +01:00