Support Ruby 2.1.0
Support repository and branch
Remove undefined variables
Update key name