Have a fix for a problem you've been running into or an idea for a new feature you think would be useful? Bug reports and pull requests are welcome on GitHub at https://github.com/fastruby/ombu_labs-auth.
Here's what you need to do:
- Read and understand the Code of Conduct.
- Fork this repo and clone your fork to somewhere on your machine.
- Ensure that you have a working environment
- Cut a new branch and write a failing test for the feature or bug fix you plan on implementing.
- Update the changelog when applicable.
- Read the guidelines when Releasing a new version
- Push to your fork and submit a pull request.
- Make sure the test suite passes on GitHub Actions and make any necessary changes to your branch to bring it to green..
To install the dependencies, run:
bin/setup
You may also notice that we have a changelog in the form of CHANGELOG.md. We use a format based on Keep A Changelog.
The important things to keep in mind are:
- If your PR closes any open GitHub issue, make sure you include
Closes #XXXX
in your comment. - New additions get added under the main (unreleased) heading;
- Attach a link to the PR with the following format:
To release a new version, update the version number in version.rb
.
To create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org, run:
bundle exec rake release
- If your PR closes any open GitHub issues, please include
Closes #XXXX
in your comment. - Please include a summary of the change and which issue is fixed or which feature is introduced.
- If changes to the behavior are made, clearly describe what are the changes and why.
- If changes to the UI are made, please include screenshots of the before and after.
After opening your Pull Request, please make sure that all tests pass on the CI, to make sure your changes work in all possible environments. GitHub Actions will kick in after you push up a branch or open a PR.
If the build fails, click on a failed job and scroll through its output to verify what is the problem. Push your changes to your branch until the build is green.