Fix warning: The Metrics/LineLength has the wrong namespace - should be Layout
Fix warning: The `Layout/AlignArguments` cop has been renamed to `Layout/ArgumentAlignment`.
Fix warning: The `Layout/AlignParameters` cop has been renamed to `Layout/ParameterAlignment`.
Fix warning: The `Layout/IndentHeredoc` cop has been renamed to `Layout/HeredocIndentation`.
Fix warning: The `Lint/HandleExceptions` cop has been renamed to `Lint/SuppressedException`.
Set new cops as disable for default
`warnings_spy` was a little library I wrote to report warnings that came
up during test runs and fail the CI build. A while back I extracted it
to `warnings_logger`, so the version that exists here is obsolete.
* Add Rails 6 appraisal to start testing against it.
* Fix usage of Module#parent as this is deprecated in Rails 6 in favor
of Module#module_parent.
* Ensure that we're using the correct version of `sqlite3` and `pg` at
all times
* When creating classes within tests, ensure that they are removed
correctly
* Fix detection of has_secure_password in models: Check that
InstanceMethodsOnActivation is specifically defined, as Rails 6 no
longer has such a module.
Co-authored-by: Lee Machin <me@mrl.ee>