Fix deprecation warning and assorted Rubocop violations

There are a number of Rubocop violations that are causing the build to fail.  Fixed a deprecation warning in the .rubocop.yml and then fixed those violations.