Skip to content

Davidslv/strawberry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ā 

History

9 Commits
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation

Strawberry šŸ“

Barebones to start any ruby application.

What is provided

Tools to consider

What you should know

  • Your code goes inside the lib folder
  • Remember to do your code in small chunks
  • Remember to test your code
  • Remember clean code and SOLID principles
  • Remember to open Pull Requests with your features isolated

Commands

Installation

This project was created using ruby 3.0.0 (see .ruby-version).

I use rbenv to install different ruby versions, you may need to install homebrew.

$ brew install ruby-build rbenv

$ rbenv install

$ gem install bundler

$ bundle install

Testing with rspec

$ rspec

Linting with RuboCop

$ bundle exec rubocop

If you want to correct all cops

$ bundle exec rubocop -A

Test coverage

After running the rspec command, a new directory is created to show test coverage

$ open coverage/index.html

RubyCritic

Whenever you want to check the status of your code and want a nice report. This will create a report into tmp/ folder and open the browser for you to see the report.

$ rubycritic .

About

šŸ“Barebones to start a ruby application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages