bundle install
should be sufficient to install dependencies.
You will a .env
file with your API keys to record new tests against the
API. Your API key will be omitted from the test cassettes by VCR. The format for
.env
is:
GITHUB_TOKEN=YOUR-API-TOKEN
- Fork the repository.
- Set up the gem per the instructions above and ensure
bundle exec rake spec
runs cleanly. - Create a topic branch.
- Add specs for your unimplemented feature or bug fix.
- Run
bundle exec rake spec
. If your specs pass, return to step 4. - Implement your feature or bug fix.
- Re-run
bundle exec rake spec
. If your specs fail, return to step 6. - Open coverage/index.html. If your changes are not completely covered by the test suite, return to Step 4.
- Thoroughly document and comment your code.
- Run
bundle exec rake doc:yard
and make sure your changes are documented. - Add, commit, and push your changes.
- Submit a pull request.