Skip to content

Commit

Permalink
Remove now-spurious sort on each request
Browse files Browse the repository at this point in the history
  • Loading branch information
jfoy committed Jan 19, 2013
1 parent 7756d60 commit ab87e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/geminabox.rb
Expand Up @@ -68,7 +68,7 @@ def gem_dependencies(gem_name)
end

get '/api/v1/dependencies' do
query_gems = params[:gems].split(',').sort
query_gems = params[:gems].split(',')
deps = query_gems.each_with_object([]) {|query_gem, memo| memo.concat gem_dependencies(query_gem) }
Marshal.dump(deps)
end
Expand Down

0 comments on commit ab87e7a

Please sign in to comment.