Skip to content

Conversation

@gerardm-fa
Copy link
Contributor

Including apps started failing in some cases with a missing require "date".

This release also fixes warnings and deprecations when running the minitest suite:

  • Shadowed bad_attributes method
  • Moving to using #expect monads instead of using the money-patched Object methods, which will be removed in Minitest 6.

Remove unused bad_attributes attr_reader on
`Hermod::Validators::Attributes`
Added missing require in `Hermod::XmlSectionBuilder`
Uses #_ (also aliased as #value or #expect) as a monad to test
expectations instead of monkey-patching Object.

Old expectations are due to be deprecated in Minitest 6
Copy link
Contributor

@percysnoodle percysnoodle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. LGTM.

@gerardm-fa gerardm-fa force-pushed the fix-minitest-deprecations-warnings-errors branch from 946897b to a4ee71d Compare May 25, 2022 13:08
@gerardm-fa gerardm-fa merged commit a4b184a into master May 25, 2022
@gerardm-fa gerardm-fa deleted the fix-minitest-deprecations-warnings-errors branch May 25, 2022 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants