noplay/scrapy-mongodb — pull request #1 by llonchj (2013-02-17 21:07:44+00:00)
Title: some improvements

Hi Julien,

I have made some changes to the module:

* Deprecated __get_uniq_key by reading the MONGO_UNIQ_KEY at construction time instead of being evaluated several times.
* If MONGO_UNIQ_KEY, index is created used ensure_index.
* Added pymongo safe support to insert and upsert operations.
* Added MONGODB_ITEM_ID_FIELD to set the _id to item.

Please consider merging those changes and bumping up the module version.

Thanks,