Fix syntax error in Ruby 2.0
Bump to v0.3.1