Flexible type system for Ruby with coercions and constraints https://github.com/dry-rb/dry-types
Go to file
dry-bot 22542320a1 [devtools] config sync 2019-12-28 13:01:22 +00:00
.github [devtools] config sync 2019-12-07 09:56:43 +00:00
benchmarks rubocop -a 2019-07-01 11:25:59 +03:00
bin Fix printing of maybe types 2019-04-23 15:08:40 +03:00
docsite/source Remove duplicated dot from example in Hash Schemas doc 2019-11-13 13:51:15 +11:00
lib Remove unreachable method 2019-12-15 21:13:47 +03:00
log Deprecate Types::Array#member 2017-08-26 22:44:12 +03:00
spec Coverage for function.rb 2019-12-15 21:04:22 +03:00
.codeclimate.yml [devtools] config sync 2019-10-21 08:36:59 +00:00
.gitignore Add .rubocop.yml to git 2019-10-21 10:33:32 +02:00
.rspec [devtools] config sync 2019-12-28 13:01:22 +00:00
.rubocop.yml [devtools] config sync 2019-12-14 14:36:12 +00:00
.yardopts Update YARD docs [ci skip] 2019-04-23 16:37:17 +02:00
CHANGELOG.md Update CHANGELOG 2019-12-14 14:47:24 +03:00
CODE_OF_CONDUCT.md [devtools] config sync 2019-11-06 17:40:16 +00:00
CONTRIBUTING.md [devtools] config sync 2019-10-16 09:03:25 +00:00
Gemfile Don't build constructors when class implementing type interface given 2019-11-10 15:22:41 +03:00
LICENSE [devtools] config sync 2019-10-16 09:25:40 +00:00
README.md Use GH badge for CI status 2019-11-30 15:11:57 +03:00
Rakefile rubocop -a 2019-07-01 11:25:59 +03:00
dry-types.gemspec Fix behavior of Types::Maybe#try 2019-12-15 17:43:06 +03:00

README.md

dry-types Join the chat at https://dry-rb.zulipchat.com

Gem Version Build Status Code Climate Test Coverage Inline docs

Development

After checking out the repo, run bin/setup to install dependencies. Then, run bundle exec rake run_specs to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/dry-rb/dry-types.