RubyGems Navigation menu

katachi 0.0.2.0

Description

A tool for describing and validating objects as intuitively as possible. Easier to read and write than JSON Schema, and more powerful than a simple hash comparison.

Example usage:

shape = {
    :$uuid => {
        email: :$email,
        first_name: String,
        last_name: String,
        preferred_name: AnyOf[String, nil],
        admin_only_information: AnyOf[{Symbol => String}, :$undefined],
        Symbol => Object,
    },
}
expect(api_response.body).to have_shape(shape)

Gemfile:
=

installation:
=

Versions:

  1. 0.0.2.0 March 19, 2025 (22 ko)
  2. 0.0.1.4 March 18, 2025 (22 ko)
  3. 0.0.1.3 March 18, 2025 (21,5 ko)
  4. 0.0.1.2 March 18, 2025 (21,5 ko)
  5. 0.0.1.1 March 18, 2025 (21,5 ko)
Voir toutes les versions (7)

Propriétaires:

Pushed by:

GitHub

Auteurs:

  • Joel Tannas

Total de contrôle SHA 256:

=

Provenance:

Total de téléchargements 2 136

Pour cette version 403

Version publiée:

License:

MIT

Version de Ruby requise: >= 3.2.0, < 3.5

New versions require MFA: true

Version published with MFA: true

Liens: