If you're reading this, it means you want to contribute to this project. Hooray!
Here's what to do:
- If you're looking for a task to work on, check the "up-for-grabs" issues. If you see something there that catches your eye, leave a comment indicating you'll work on it and it's yours! If you already have something to work on, that's great as well!
- Fork the repository (https://github.com/JacobEvelyn/friends/fork).
- Clone your forked repository.
- From within the repository directory, run
bundle install
to install all dependencies needed for development. - Create your feature branch
(
git checkout -b my-new-feature
). - Make your changes. Add or modify tests if necessary!
- Run tests with
bundle exec rake test
. To run a subset of tests:-
temporarily add this to
friends.gemspec
:spec.add_development_dependency "minitest-focus"
-
Re-run
bundle install
to installminitest-focus
. -
Replace the
it
for the test(s) you want to run with:require "minitest/focus" ; focus ; it
-
Run tests as usual with
bundle exec rake test
. -
Don't forget to remove these debugging lines when you're done!
-
- You can run your version of the
friends
script withbundle exec bin/friends
. - Do your best to conform to existing style and commenting patterns.
- Run tests with
- Update the
README.md
as necessary to include your changes. - Check your changes for code style by running
bundle exec rubocop .
in the repository directory. You may see output indicating that some lines differ from the style guidelines. Change your code so that Rubocop gives no warnings or errors (and don't hesitate to reach out if you don't know how!—this practice is meant to keep the code clean but it shouldn't be scary and it's totally fine to need help!). - Commit your changes
(
git commit -am "Add some feature"
). - Push your changes to GitHub, and open a pull request.
- Your code will be reviewed and merged as quickly as possible!
- Check yourself out on the contributors page! Look at how cool you are!
If you have any questions at all or get stuck on any step, don't hesitate to open a GitHub issue! I'll respond as quickly as I can, and I'm friendly! I promise I don't bite. 😊
Note that this project follows a Code of Conduct. If you're a polite, reasonable person you won't have any issues!
friends
is a volunteer project. If you find it valuable, please consider
making a small donation (🙏) with the Sponsor button at the top of this page
to show you appreciate its continued development.
Thank you to all the lovely people who have already contributed to friends
!
You folks make friends
great.