Tweak Travis CI configuration to specify Ruby versions consistently

Specifying patch versions feels too specific -- minor versions is
better.