dry-rb/dry-struct

View on GitHub
README.md

Summary

Maintainability
Test Coverage
[gem]: https://rubygems.org/gems/dry-struct
[ci]: https://github.com/dry-rb/dry-struct/actions?query=workflow%3Aci
[codeclimate]: https://codeclimate.com/github/dry-rb/dry-struct
[inchpages]: http://inch-ci.org/github/dry-rb/dry-struct
[chat]: https://dry-rb.zulipchat.com

# dry-struct [![Join the chat at https://dry-rb.zulipchat.com](https://img.shields.io/badge/dry--rb-join%20chat-%23346b7a.svg)][chat]

[![Gem Version](https://badge.fury.io/rb/dry-struct.svg)][gem]
[![Build Status](https://github.com/dry-rb/dry-struct/workflows/ci/badge.svg)][ci]
[![Code Climate](https://codeclimate.com/github/dry-rb/dry-struct/badges/gpa.svg)][codeclimate]
[![Test Coverage](https://codeclimate.com/github/dry-rb/dry-struct/badges/coverage.svg)][codeclimate]
[![Inline docs](http://inch-ci.org/github/dry-rb/dry-struct.svg?branch=master)][inchpages]

Typed structs and value objects

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` 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](https://rubygems.org).

## Contributing

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