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

Fix warnings for Ruby 2.1.0