Skip to content

Releases: thoughtbot/shoulda-matchers

v4.0.0.rc1

02 Oct 18:07
Compare
Choose a tag to compare
v4.0.0.rc1 Pre-release
Pre-release

Adds support for Ruby 2.4 and 2.5 and Rails 5.x.
Drops support for Ruby 2.0 and 2.1 as well as Rails 4.0 and 4.1.

v3.1.2

12 Jul 18:15
Compare
Choose a tag to compare

Deprecations

  • This is the last version that supports Rails 4.0 and 4.1 and Ruby 2.0 and 2.1.

Bug fixes

  • When the permit matcher was used without #on, the controller did not use
    params#require, the params object was duplicated, and the matcher did not
    recognize the #permit call inside the controller. This behavior happened
    because the matcher overwrote double registries with the same parameter hash
    whenever ActionController::Parameters was instantiated.

    • Commit: [44c019]
    • Issue: [#899]
    • Pull request: [#902]