Declare Ruby version for rbenv
Fixed a couple of bits of deprecated code
Merge pull request #77 from 12spokes/fix-deprecations

[Dave] Fix deprecation warnings