/ruby-skeleton

Ruby project skeleton.

Primary LanguageRuby

Ruby skeleton

This is a skeleton repo for Ruby projects.

Code goes in lib. Tests go in spec.

What's included

  • rspec and simplecov for testing and test coverage.
  • rubocop with additional plugins and an opinionated configuration for code style checks.
  • byebug and pry for debugging.
  • guard and growl for auto-running tests and inspections.
  • rake for scripting tasks.

Setting up

Install the dependencies:

bundle

Replace lib/project.rb and spec/project_spec.rb with your code.

Development

Run guard, configured in red-green-refactor mode:

bundle exec guard