Use Enumerable#find_all instead of #each

This simplifies the Ruby code a wee bit, as we don't have
to create & build up the array of dependencies ourselves!
Merge pull request #5 from pvdb/replace_each_with_find_all

Use Enumerable#find_all instead of #each