Fix deprecated :rubygems warnings

fixes #10
Merge pull request #11 from neclimdul/patch-1

Fix deprecated :rubygems warnings