correct travis errors for 1.8.7

- change from Hash.to_s to Hash.inspect
- change regex from /(?<!\s)=>(?!\s)/ to /(?!\s)=>(?!\s)/