Update activesupport dependency and fix spec

The spec is fixed to use ActiveSupport::Logger instead of the deprecated
ActiveSupport::BufferedLogger.