This gem provides a set of classes and modules to access Jay functionality while abstracting internal implementations.
- Ruby >= 2.7.0
- Bundler ~> 2, < 2.5.0
Clone the repository and install the dependencies by running:
bundle install
You can run the tests just by executing rspec.
bundle exec rspec
To generate a Coverage report:
export COVERAGE=true
rspec
The coverage report will be written to the /coverage
path
bundle exec yard
The documentation will be generated in the /doc
path
- This project uses Semantic Versioning
- This project uses a CHANGELOG.md to keep track of the changes.
- Add your feature.
- While editing your code keep an eye out for Rubocop and Reek suggestions try to keep both linters happy. 😉
- Write unit and integration (desirably but not required) tests for it.
- Run the tests with the coverage report generation enabled (Check the Running Tests section).
- Make sure your Unit Test coverage is at least 90%
- Run the
yard
command to generate documentation and make sure your documentation coverage is 100% (everything should be documented) - Add your features to the
CHANGELOG.md
file under the Unreleased section. (Check theCHANGELOG.md
) file for info on how to properly add the changes there. - Push your changes for code review