-
Check which version of Ruby is installed on your machine with
ruby -v
. The list of supported Ruby versions is listed in .travis.yml. Set up one of these versions; use of RVM is recommended to switch easily between different versions. -
Make sure to have the
tidy
command on your system:apt-get install tidy
yum install tidy
pacman -S tidyhtml
-
Check that unit tests pass with
rake test
. -
Write a failing test to capture existing bug or lack of feature.
-
Run
rake test
to verify that test fails. -
Implement your feature or bug fix.
-
Ensure tests pass.
-
If it's a new feature or a bug fix, please add an entry to the changelog file.
-
Add, commit, and push your changes.
-
You will get some feedback and may need to push additional commits with more fixes to the same branch; this will update your pull request automatically.