[gem] Upgrade thinking-sphinx to 3.1.0