change ruby_parser dependency version to ~> 3.1