RubyGems Navigation menu

dynamicschema 2.0.0

The DynamicSchema gem provides a elegant and expressive way to define a domain-specific language (DSL) schemas, making it effortless to build and validate complex Ruby hashes. This is particularly useful when dealing with intricate configurations or interfacing with external APIs, where data structures need to adhere to specific formats and validations. By allowing default values, type constraints, nested schemas, and transformations, DynamicSchema ensures that your data structures are both robust and flexible. New in 2.0, DynamicSchema adds DynamicSchema::Struct which faciliates effortless definition and construction of complex object hierarchies, with optional type coersion and validation. Where DynamicSchema simplified configuration and API payload construction, DynamicSchema::Struct simplifies construction of complex API reponses.

Gemfile:
=

安装:
=

版本列表:

  1. 2.0.0 September 06, 2025 (19.0 KB)
  2. 1.0.1 July 28, 2025 (15.5 KB)
  3. 1.0.0 June 06, 2025 (15.5 KB)
  4. 1.0.0.beta04 November 04, 2024 (16.0 KB)
  5. 1.0.0.beta03 October 27, 2024 (16.0 KB)
显示所有版本 (共 7 个)

Development 依赖 (2):

debug ~> 1.9
rspec ~> 3.13

所有者:

推送者:

作者:

  • Kristoph Cichocki-Romanov

SHA 256 校验和:

=

下载总量 9,471

这个版本 136

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 3.0

链接: