/drivy_backend_challenge

Drivy Backend Challenge Solution https://github.com/drivy/jobs/tree/master/backend

Drivy Back-end Challenge

Requirements

ruby '2.5.1'

gems:
  gem 'minitest', '~> 5.11', '>= 5.11.3'
  gem 'require_all', '~> 2.0'

Getting started

To install necessary gems, run:

bundle install

Usage

To see solution for each level, checkout a branch for a specific level and get output (found in src/data/output.json) by executing (at src/):

ruby main.rb

Running tests

Run rake test (or simply rake) to run all the tests.