├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug-report.md │ └── config.yml ├── SUPPORT.md └── workflows │ ├── ci.yml │ └── rubocop.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .yardopts ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gemfile ├── Gemfile.devtools ├── LICENSE ├── README.md ├── Rakefile ├── benchmarks ├── hash_schemas.rb ├── lax_schema.rb ├── profile_invalid_input.rb ├── profile_lax_schema_valid.rb ├── profile_valid_input.rb ├── schema_valid_vs_invalid.rb └── setup.rb ├── bin ├── .gitkeep ├── console └── setup ├── docsite └── source │ ├── array-with-member.html.md │ ├── built-in-types.html.md │ ├── combining-types.html.md │ ├── combining-types │ ├── intersection.html.md │ └── sum.html.md │ ├── constraints.html.md │ ├── custom-type-builders.html.md │ ├── custom-types.html.md │ ├── default-values.html.md │ ├── enum.html.md │ ├── extensions.html.md │ ├── extensions │ ├── maybe.html.md │ └── monads.html.md │ ├── fallbacks.html.md │ ├── getting-started.html.md │ ├── hash-schemas.html.md │ ├── index.html.md │ ├── map.html.md │ └── optional-values.html.md ├── dry-types.gemspec ├── lefthook.yml ├── lib ├── dry-types.rb └── dry │ ├── types.rb │ └── types │ ├── any.rb │ ├── array.rb │ ├── array │ ├── constructor.rb │ └── member.rb │ ├── builder.rb │ ├── builder_methods.rb │ ├── coercions.rb │ ├── coercions │ ├── json.rb │ └── params.rb │ ├── compat.rb │ ├── compiler.rb │ ├── composition.rb │ ├── constrained.rb │ ├── constrained │ └── coercible.rb │ ├── constraints.rb │ ├── constructor.rb │ ├── constructor │ ├── container.rb │ ├── core.rb │ ├── decorator.rb │ ├── default.rb │ ├── enum.rb │ ├── errors.rb │ ├── extensions.rb │ ├── extensions │ ├── maybe.rb │ └── monads.rb │ ├── fn_container.rb │ ├── hash.rb │ ├── hash │ └── constructor.rb │ ├── implication.rb │ ├── inflector.rb │ ├── intersection.rb │ ├── json.rb │ ├── lax.rb │ ├── map.rb │ ├── meta.rb │ ├── module.rb │ ├── nominal.rb │ ├── options.rb │ ├── params.rb │ ├── predicate_inferrer.rb │ ├── predicate_registry.rb │ ├── primitive_inferrer.rb │ ├── printable.rb │ ├── printer.rb │ ├── printer │ └── composition.rb │ ├── result.rb │ ├── schema.rb │ ├── schema │ └── key.rb │ ├── spec │ └── types.rb │ ├── sum.rb │ ├── type.rb │ └── version.rb ├── log └── .gitkeep ├── repo-sync.yml └── spec ├── dry ├── types │ ├── array_spec.rb │ ├── builder_spec.rb │ ├── compiler_spec.rb │ ├── constrained_spec.rb │ ├── constructor │ ├── constructor_spec.rb │ ├── core_spec.rb │ ├── default_spec.rb │ ├── enum_spec.rb │ ├── errors_spec.rb │ ├── hash_spec.rb │ ├── implication_spec.rb │ ├── intersection_spec.rb │ ├── lax_spec.rb │ ├── map_spec.rb │ ├── module_spec.rb │ ├── nominal_spec.rb │ ├── predicate_inferrer_spec.rb │ ├── predicate_registry_spec.rb │ ├── primitive_inferrer_spec.rb │ ├── schema │ │ └── key_spec.rb │ ├── schema_spec.rb │ ├── sum_spec.rb │ ├── to_ast_spec.rb │ └── types │ │ ├── json_spec.rb │ │ ├── params_spec.rb │ │ └── primitive_spec.rb └── types_spec.rb ├── extensions ├── maybe │ ├── constrained_spec.rb │ ├── core_spec.rb │ ├── default_spec.rb │ ├── hash_spec.rb │ └── maybe_spec.rb └── monads │ └── result_spec.rb ├── shared └── .gitkeep ├── spec_helper.rb └── support ├── coverage.rb ├── rspec.rb └── warnings.rb /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: hanami 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/.github/SUPPORT.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/.github/workflows/rubocop.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/.rspec -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/.yardopts -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.devtools: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/Gemfile.devtools -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/Rakefile -------------------------------------------------------------------------------- /benchmarks/hash_schemas.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/benchmarks/hash_schemas.rb -------------------------------------------------------------------------------- /benchmarks/lax_schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/benchmarks/lax_schema.rb -------------------------------------------------------------------------------- /benchmarks/profile_invalid_input.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/benchmarks/profile_invalid_input.rb -------------------------------------------------------------------------------- /benchmarks/profile_lax_schema_valid.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/benchmarks/profile_lax_schema_valid.rb -------------------------------------------------------------------------------- /benchmarks/profile_valid_input.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/benchmarks/profile_valid_input.rb -------------------------------------------------------------------------------- /benchmarks/schema_valid_vs_invalid.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/benchmarks/schema_valid_vs_invalid.rb -------------------------------------------------------------------------------- /benchmarks/setup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/benchmarks/setup.rb -------------------------------------------------------------------------------- /bin/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/bin/setup -------------------------------------------------------------------------------- /docsite/source/array-with-member.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/array-with-member.html.md -------------------------------------------------------------------------------- /docsite/source/built-in-types.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/built-in-types.html.md -------------------------------------------------------------------------------- /docsite/source/combining-types.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/combining-types.html.md -------------------------------------------------------------------------------- /docsite/source/combining-types/intersection.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/combining-types/intersection.html.md -------------------------------------------------------------------------------- /docsite/source/combining-types/sum.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/combining-types/sum.html.md -------------------------------------------------------------------------------- /docsite/source/constraints.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/constraints.html.md -------------------------------------------------------------------------------- /docsite/source/custom-type-builders.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/custom-type-builders.html.md -------------------------------------------------------------------------------- /docsite/source/custom-types.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/custom-types.html.md -------------------------------------------------------------------------------- /docsite/source/default-values.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/default-values.html.md -------------------------------------------------------------------------------- /docsite/source/enum.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/enum.html.md -------------------------------------------------------------------------------- /docsite/source/extensions.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/extensions.html.md -------------------------------------------------------------------------------- /docsite/source/extensions/maybe.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/extensions/maybe.html.md -------------------------------------------------------------------------------- /docsite/source/extensions/monads.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/extensions/monads.html.md -------------------------------------------------------------------------------- /docsite/source/fallbacks.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/fallbacks.html.md -------------------------------------------------------------------------------- /docsite/source/getting-started.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/getting-started.html.md -------------------------------------------------------------------------------- /docsite/source/hash-schemas.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/hash-schemas.html.md -------------------------------------------------------------------------------- /docsite/source/index.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/index.html.md -------------------------------------------------------------------------------- /docsite/source/map.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/map.html.md -------------------------------------------------------------------------------- /docsite/source/optional-values.html.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/docsite/source/optional-values.html.md -------------------------------------------------------------------------------- /dry-types.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/dry-types.gemspec -------------------------------------------------------------------------------- /lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lefthook.yml -------------------------------------------------------------------------------- /lib/dry-types.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "dry/types" 4 | -------------------------------------------------------------------------------- /lib/dry/types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types.rb -------------------------------------------------------------------------------- /lib/dry/types/any.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/any.rb -------------------------------------------------------------------------------- /lib/dry/types/array.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/array.rb -------------------------------------------------------------------------------- /lib/dry/types/array/constructor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/array/constructor.rb -------------------------------------------------------------------------------- /lib/dry/types/array/member.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/array/member.rb -------------------------------------------------------------------------------- /lib/dry/types/builder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/builder.rb -------------------------------------------------------------------------------- /lib/dry/types/builder_methods.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/builder_methods.rb -------------------------------------------------------------------------------- /lib/dry/types/coercions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/coercions.rb -------------------------------------------------------------------------------- /lib/dry/types/coercions/json.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/coercions/json.rb -------------------------------------------------------------------------------- /lib/dry/types/coercions/params.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/coercions/params.rb -------------------------------------------------------------------------------- /lib/dry/types/compat.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | -------------------------------------------------------------------------------- /lib/dry/types/compiler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/compiler.rb -------------------------------------------------------------------------------- /lib/dry/types/composition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/composition.rb -------------------------------------------------------------------------------- /lib/dry/types/constrained.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/constrained.rb -------------------------------------------------------------------------------- /lib/dry/types/constrained/coercible.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/constrained/coercible.rb -------------------------------------------------------------------------------- /lib/dry/types/constraints.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/constraints.rb -------------------------------------------------------------------------------- /lib/dry/types/constructor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/constructor.rb -------------------------------------------------------------------------------- /lib/dry/types/constructor/function.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/constructor/function.rb -------------------------------------------------------------------------------- /lib/dry/types/constructor/wrapper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/constructor/wrapper.rb -------------------------------------------------------------------------------- /lib/dry/types/container.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/container.rb -------------------------------------------------------------------------------- /lib/dry/types/core.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/core.rb -------------------------------------------------------------------------------- /lib/dry/types/decorator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/decorator.rb -------------------------------------------------------------------------------- /lib/dry/types/default.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/default.rb -------------------------------------------------------------------------------- /lib/dry/types/enum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/enum.rb -------------------------------------------------------------------------------- /lib/dry/types/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/errors.rb -------------------------------------------------------------------------------- /lib/dry/types/extensions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/extensions.rb -------------------------------------------------------------------------------- /lib/dry/types/extensions/maybe.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/extensions/maybe.rb -------------------------------------------------------------------------------- /lib/dry/types/extensions/monads.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/extensions/monads.rb -------------------------------------------------------------------------------- /lib/dry/types/fn_container.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/fn_container.rb -------------------------------------------------------------------------------- /lib/dry/types/hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/hash.rb -------------------------------------------------------------------------------- /lib/dry/types/hash/constructor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/hash/constructor.rb -------------------------------------------------------------------------------- /lib/dry/types/implication.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/implication.rb -------------------------------------------------------------------------------- /lib/dry/types/inflector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/inflector.rb -------------------------------------------------------------------------------- /lib/dry/types/intersection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/intersection.rb -------------------------------------------------------------------------------- /lib/dry/types/json.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/json.rb -------------------------------------------------------------------------------- /lib/dry/types/lax.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/lax.rb -------------------------------------------------------------------------------- /lib/dry/types/map.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/map.rb -------------------------------------------------------------------------------- /lib/dry/types/meta.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/meta.rb -------------------------------------------------------------------------------- /lib/dry/types/module.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/module.rb -------------------------------------------------------------------------------- /lib/dry/types/nominal.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/nominal.rb -------------------------------------------------------------------------------- /lib/dry/types/options.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/options.rb -------------------------------------------------------------------------------- /lib/dry/types/params.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/params.rb -------------------------------------------------------------------------------- /lib/dry/types/predicate_inferrer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/predicate_inferrer.rb -------------------------------------------------------------------------------- /lib/dry/types/predicate_registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/predicate_registry.rb -------------------------------------------------------------------------------- /lib/dry/types/primitive_inferrer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/primitive_inferrer.rb -------------------------------------------------------------------------------- /lib/dry/types/printable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/printable.rb -------------------------------------------------------------------------------- /lib/dry/types/printer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/printer.rb -------------------------------------------------------------------------------- /lib/dry/types/printer/composition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/printer/composition.rb -------------------------------------------------------------------------------- /lib/dry/types/result.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/result.rb -------------------------------------------------------------------------------- /lib/dry/types/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/schema.rb -------------------------------------------------------------------------------- /lib/dry/types/schema/key.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/schema/key.rb -------------------------------------------------------------------------------- /lib/dry/types/spec/types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/spec/types.rb -------------------------------------------------------------------------------- /lib/dry/types/sum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/sum.rb -------------------------------------------------------------------------------- /lib/dry/types/type.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/type.rb -------------------------------------------------------------------------------- /lib/dry/types/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/lib/dry/types/version.rb -------------------------------------------------------------------------------- /log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /repo-sync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/repo-sync.yml -------------------------------------------------------------------------------- /spec/dry/types/array_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/array_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/builder_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/builder_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/compiler_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/compiler_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/constrained_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/constrained_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/constructor/function_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/constructor/function_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/constructor/wrapper_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/constructor/wrapper_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/constructor_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/constructor_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/core_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/core_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/default_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/default_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/enum_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/enum_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/errors_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/errors_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/hash_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/hash_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/implication_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/implication_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/intersection_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/intersection_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/lax_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/lax_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/map_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/map_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/module_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/module_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/nominal_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/nominal_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/predicate_inferrer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/predicate_inferrer_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/predicate_registry_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/predicate_registry_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/primitive_inferrer_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/primitive_inferrer_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/schema/key_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/schema/key_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/schema_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/schema_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/sum_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/sum_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/to_ast_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/to_ast_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/types/json_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/types/json_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/types/params_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/types/params_spec.rb -------------------------------------------------------------------------------- /spec/dry/types/types/primitive_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types/types/primitive_spec.rb -------------------------------------------------------------------------------- /spec/dry/types_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/dry/types_spec.rb -------------------------------------------------------------------------------- /spec/extensions/maybe/constrained_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/extensions/maybe/constrained_spec.rb -------------------------------------------------------------------------------- /spec/extensions/maybe/core_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/extensions/maybe/core_spec.rb -------------------------------------------------------------------------------- /spec/extensions/maybe/default_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/extensions/maybe/default_spec.rb -------------------------------------------------------------------------------- /spec/extensions/maybe/hash_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/extensions/maybe/hash_spec.rb -------------------------------------------------------------------------------- /spec/extensions/maybe/maybe_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/extensions/maybe/maybe_spec.rb -------------------------------------------------------------------------------- /spec/extensions/monads/result_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/extensions/monads/result_spec.rb -------------------------------------------------------------------------------- /spec/shared/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/coverage.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/support/coverage.rb -------------------------------------------------------------------------------- /spec/support/rspec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/support/rspec.rb -------------------------------------------------------------------------------- /spec/support/warnings.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dry-rb/dry-types/HEAD/spec/support/warnings.rb --------------------------------------------------------------------------------