Bug reports and pull requests are welcome on GitHub at https://github.com/thoughtbot/duck_typer.
Please create a new discussion if you want to share ideas for new features.
We love contributions from everyone. By participating in this project, you agree to abide by the thoughtbot code of conduct.
We expect everyone to follow the code of conduct anywhere in thoughtbot's project codebases, issue trackers, chatrooms, and mailing lists.
Fork the repo.
Run the setup script.
./bin/setup
Make sure everything passes:
bundle exec rake ci
Make your change, with new passing tests. Before pushing, run
bundle exec rake ci again to make sure nothing is broken.
Push to your fork. Write a good commit message. Submit a pull request.
Others will give constructive feedback. This is a time for discussion and improvements, and making the necessary changes will be required before we can merge the contribution.
When the gem is ready to be shared as a formal release, it can be published to RubyGems.
- Bump the version number in
DuckTyper::VERSION - Run
bundle exec rake build - Run
bundle exec rake install - Run
bundle exec rake release