phereford/DPLibrary — pull request #4 by seanredmond (2013-11-30 16:08:56+00:00)
Title: Handle documents without collections

Many document responses contain no sourceResource.collection field
leading to a crash because every Document instance tries to
instantiate a Collection. Document#create_collection can just return nil
when this field is not present.