Fixes some errors when running the specs against ruby 1.8.7
Fixes some errors when running the specs against ruby 1.8.7

CartoDB/cartodb-rb-client,Vizzuality/cartodb-rb-client,unepwcmc/cartodb-rb-client,CartoDB/cartodb-rb-client,unepwcmc/cartodb-rb-client,Vizzuality/cartodb-rb-client