Fixes gemspec

Fixes gemspec
Fixes deprecation warnings
Merge pull request #7 from einzige/master

Fixes gemspec