dry-types
https://github.com/dry-rb/dry-types
Ruby
Flexible type system for Ruby with coercions and constraints
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
2 Subscribers
Add a CodeTriage badge to dry-types
Help out
- Issues
- Register a boolean type as an alias of bool
- Implement Transition composition type
- Compiler#visit_implication, Compiler#visit_intersection and a couple of changes in specs
- Add better support for ranges
- Unexpected error raised from Sum type
- Update docs to recommend upfront module definition (i.e. `Types = Dry.Types()`)
- Params namespace disapearing
- fast coercion date and time
- `dry-types` needs more use-cases and examples on how to use it with `dry-logic`
- Support of Set
- Docs
- FeatureRepresenter#scope
- AccountRepresenter#credit_card_stored
- BackendApiPresenter#links
- BackendApiPresenter#dashboard_widget_data
- BackendApiPresenter#index_data
- Backend::UsageAccumulator#calculate_total_cost
- Backend::UsageAccumulator#calculate_total_cost_of
- Backend::UsageAccumulator#calculate_cost_of
- Backend::UsageAccumulator#validate_credit!
- Backend::UsageAccumulator#validate_limits!