RubyGems Navigation menu

dry-schema 1.2.0

dry-schema provides a DSL for defining schemas with keys and rules that should be applied to values. It supports coercion, input sanitization, custom types and localized error messages (with or without I18n gem). It's also used as the schema engine in dry-validation.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.13.4 - May 22, 2024 (45 KB)
  2. 1.13.3 - August 26, 2023 (45 KB)
  3. 1.13.2 - May 31, 2023 (45 KB)
  4. 1.13.1 - April 07, 2023 (45 KB)
  5. 1.13.0 - November 24, 2022 (45 KB)
  6. 1.2.0 - June 13, 2019 (31.5 KB)
Show all versions (57 total)

Runtime Dependencies (7):

dry-configurable ~> 0.8, >= 0.8.3
dry-core ~> 0.4
dry-equalizer ~> 0.2
dry-logic ~> 1.0
dry-types ~> 1.0

Development Dependencies (3):

bundler >= 0
rake >= 0
rspec >= 0

Owners:

Authors:

  • Piotr Solnica

SHA 256 checksum:

eb3e71685bae6081b29411406519003f480fed184b2227c66a1a8be38b3f1da0

Total downloads 51,585,451

For this version 261,707

License:

MIT

Required Ruby Version: >= 2.4

Links: