Skip to content

Bump shoulda-matchers to v5.1.0

Tan Le requested to merge bump-shoulda-matchers into master

What does this MR do and why?

This MR bumps the shoulda-matchers gem from v4.0.1 to v5.1.0. We use this library to write more terse test matchers for Rails functionalities.

There are some backward-incompatible changes as part of this bump (see below). However, we are not affected by these.

  • Drop support for Rails 4.2, 5.0 and 5.1 as well as Ruby 2.4 and 2.5
  • Remove deprecated matchers: use_before_filter, use_after_filter, use_around_filter and allow_mass_assignment_of.

This version also extends support for Ruby 3.0 (#1406 and #1427).

Full changelog https://github.com/thoughtbot/shoulda-matchers/compare/v4.0.1...v5.1.0

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tan Le

Merge request reports