Fix warnings for Ruby 2.1.0
Merge pull request #29 from drbrain/master

Fix warnings for Ruby 2.1.0