Over the last few days I’ve added a few features to the Ruby Mongo driver:
- Read/write support for arrays and regular expressions
- An ObjectID class and read/write support
- More tests
Database commands are JSON objects (sort of) which are almost like Ruby hashes, but not quite. Their keys are ordered, so I whipped up an OrderedHash class to use when the driver sends commands to Mongo. Adrian Madrid (firstname.lastname@example.org) has been helping out a lot by providing invaluable feedback, tests, suggestions, and fixes.