Remove hard coded ruby version
Upgrade gem dependencies
Remove redundant entries from travis

* Update ruby-head to be disabled since it is broken on travis
Update metrics thresholds to match current code state
Update WHERE clause construction to be slightly simpler