applied keyword argument fixes on Ruby 2.2.0
Merge pull request #151 from hsbt/fix-ruby-2.2

Applied keyword argument fixes on Ruby 2.2.0