fix client.rb, update to 0.1.2