mongodb/mongo-ruby-driver — pull request #452 by estolfo (2014-07-08 22:09:05+00:00)
Title: Split write operations into a specified number of children operations

Not the prettiest bit of code but I need this for the Bulk API:
If a write operation is too large to send, I'll want to split it into multiple children operations to be sent individually instead.