Sha256: b0399c77ca5aec80d2330a10d5beb7f4b15e8e49db750a50368df7399c67ada6

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

# Change Log

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## master

Features:

- `BC::Tuple#argument` accepts an optional block to define the attribute class dynamically
- `BC::Tuple#match` can accept arguments as a Hash

## [0.4.1] - [2019-07-04]

Fixes:

Replaces the default context object in BC::Refined with simple Hash. No need to have default value for the context
key elements. It violates principlke of least surprise.

## [0.4.0] - [2019-06-25]

This is a first public release marked in change log with features extracted from production app.
Includes:
- Base class BloodContracts::Core::Refined to write your own validations
- Meta classes BloodContracts::Core::Pipe, BloodContracts::Core::Sum and BloodContracts::Core::Tuple for validations composition in ADT style
- BloodContracts::Core::Contract meta class as a syntactic sugar to define your own contracts with Refined validations under the hood

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blood_contracts-core-0.4.2 CHANGELOG.md