Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.68 KB

File metadata and controls

63 lines (42 loc) · 1.68 KB

Contributing

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.

Contributing Code

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.

Publishing to RubyGems

When the gem is ready to be shared as a formal release, it can be published to RubyGems.

  1. Bump the version number in DuckTyper::VERSION
  2. Run bundle exec rake build
  3. Run bundle exec rake install
  4. Run bundle exec rake release