This project defines a Cookiecutter template for creating Ruby projects with some optioned defaults.
First, install Cookiecutter and then run this command:
cookiecutter gh:douglas/cookiecutter-ruby
It will allow you to select between minitest
and rspec
, configure Gemfile accordingly and also add some test
templates.
After you run the previous command, you will end up with the project directory in our current folder, so enter on it and run:
bundle install
To install the gems according to your selections and you're good to go =)
You can use this command:
rake test
rake rubocop
- rake # For running tasks
- awesome_print # For awesome printin' on terminal
- rubocop # Linting
- rubocop-shopify" # Follow same patterns I used at Shopify
- rubocop-performance # For performance improvement suggestions
- rubocop-rake # Use Rubocop within Rake
- minitest
- minitest-reporters
- mocha
- rspec