talis/tripod-php — pull request #30 by rgubby (2014-10-20 15:14:07+00:00)
Title: 90% Updated is_int to is_numeric

When using the ensureIndexes script in TARL, the name of the index always comes out as an integer. This is because is_int never evaluates the json key correctly as an integer, whereas is_numeric does.

This fixes this so that you get nice names for mongo indexes.