lib/gems/client.rb in gems-0.0.1 vs lib/gems/client.rb in gems-0.0.2
- old
+ new
@@ -23,10 +23,10 @@
# @param options [Hash] A customizable set of options.
# @return [Array<Hashie::Mash>]
# @example
# Gems.search 'cucumber'
def search(query, options={})
- get("/api/v1/gems/search.json", options.merge(:query => query))
+ get("/api/v1/search.json", options.merge(:query => query))
end
# Returns an array of gem version details
#
# @param gem [String] The name of a gem.