Correct Ruby warnings in production code and specs

There are a few places in the code which are causing Ruby warnings.  This is a set of commits to quiet the majority of those cases within this library.

The two outstanding warnings caused by this library are method redefinition warnings due to the use of `base.let` in the `spec/helper.rb` and then re-defining a `let` within individual spec blocks.