Skip to content

Releases: dry-rb/dry-matcher

v1.0.0

01 Jan 16:32
v1.0.0
Compare
Choose a tag to compare
tag v1.0.0

v0.10.0

16 Nov 16:41
v0.10.0
48b133a
Compare
Choose a tag to compare

Added

  • MaybeMatcher for matching against Maybe values from dry-monads (@gabfssilva) in #33

Changed

  • This version is compatible with recently released dry-rb dependencies (@flash-gordon)

Compare v0.9.0...v0.10.0

v0.9.0

05 Mar 05:35
v0.9.0
Compare
Choose a tag to compare

Changed

  • Matcher evaluator is now a standard Object descendant (see #32) (@solnic)

Compare v0.8.3...v0.9.0

v0.8.3

07 Jan 11:54
v0.8.3
2e3b47a
Compare
Choose a tag to compare

0.8.3 / 2020-01-07

Fixed

  • Delegation warnings about keyword arguments (flash-gordon)

Compare v0.8.2...v0.8.3

v0.8.2

06 Sep 17:08
v0.8.2
b0b5ca8
Compare
Choose a tag to compare

0.8.2 / 2019-09-06

Fixed

  • Minimal dry-core version set to 0.4.8 (flash-gordon)

Compare v0.8.1...v0.8.2

v0.8.1

13 Aug 08:30
v0.8.1
ef12099
Compare
Choose a tag to compare

0.8.1 / 2019-08-13

Added

  • Dry::Matcher#for is a shortcut for Dry::Matcher.for(..., with: matcher) (flash-gordon)
    require 'dry/matcher/result_matcher'
    
    class CreateUser
      include Dry::Matcher::ResultMatcher.for(:call)
      
      def call(...)
        # code returning an instance of Dry::Monads::Result
      end
    end

Compare v0.8.0...v0.8.1