Contributing to ServiceActor

July 15, 2024 · View on GitHub

Bug reports and pull requests are welcome on GitHub.

Code of Conduct

This project is intended to be a safe, welcoming space for collaboration, and everyone interacting in the project’s codebase and issue tracker is expected to adhere to the Contributor Covenant code of conduct.

License

By contributing, you agree that your contributions will be licensed under the MIT License.

Development

After checking out the repo, run bin/setup to install dependencies.

Then, run bin/rake to run the tests and linting.

You can also run bin/console for an interactive prompt.

Changelog

On a pull request, you can add an entry to the changelog under the “unreleased” section.

Releases

To release a new version, update the version number in the CHANGELOG.md and in version.rb. Make sure tests and linting are pristine by calling bundle && bin/rake, then create a commit for this version, for example with:

git add --patch
git commit -m "v`ruby -Ilib -rservice_actor/version -e "puts ServiceActor::VERSION"` 🎉"

You can then run rake release, which will assign a git tag, push using git, and push the gem to rubygems.org.