I think `to_h` is only available with Ruby 2.0+ so this is the reason why the build fail with 1.9.3 on Travis.