update to fix ruby 2.2.0 warnings
Merge pull request #136 from intercom/jo/update-to-remove-some-ruby2.2.0-warnings

update to fix ruby 2.2.0 warnings