assert

Version, currently 0.2.13 versions

github.com/Blacksmoke16/assert

Extensible annotation based object validation library

14 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  assert:
    github: Blacksmoke16/assert
    version: ~> 0.2.1

Then run:

shards install

shard.yml

Crystal
0.30.0
License
MIT
Author
Blacksmoke16 <Blacksmoke16@eve.tools>

Dependencies

Development Dependencies

  • ameba~> 0.13.0github: crystal-ameba/amebadev

README

# Assert
[![Latest release](https://img.shields.io/github/release/Blacksmoke16/assert.svg?style=flat-square)](https://github.com/Blacksmoke16/assert/releases)

Extensible annotation based object validation library based on [Symfony Validation Constraint Annotations](https://symfony.com/doc/current/reference/constraints.html).

## Installation

Add this to your application's `shard.yml`:

```yaml
dependencies:
  assert:
    github: blacksmoke16/assert
```

## Documentation

Everything is documented in the [API Docs](https://blacksmoke16.github.io/assert/Assert.html).

## Contributing

1. Fork it (<https://github.com/Blacksmoke16/assert/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [Blacksmoke16](https://github.com/Blacksmoke16) Blacksmoke16 - creator, maintainer