1
0
Go to file
2024-08-25 10:23:38 +02:00
bin Allow to repeat a day in the example data sets 2024-08-25 10:23:38 +02:00
lib Fix linter issues 2024-08-25 10:11:51 +02:00
sig First commit 2023-09-02 08:35:10 +02:00
spec Fix linter issues 2024-08-25 10:11:51 +02:00
.gitignore First commit 2023-09-02 08:35:10 +02:00
.rspec First commit 2023-09-02 08:35:10 +02:00
.standard.yml First commit 2023-09-02 08:35:10 +02:00
.tool-versions Add tool-version file 2024-08-25 10:04:13 +02:00
CODE_OF_CONDUCT.md First commit 2023-09-02 08:35:10 +02:00
Gemfile Add integration spec 2024-08-25 10:09:43 +02:00
Gemfile.lock Add arm platform to bundler 2023-09-07 12:43:40 +02:00
planet_express_express.gemspec Fill in gemspec placeholders 2023-09-02 08:35:29 +02:00
Rakefile First commit 2023-09-02 08:35:10 +02:00
README.md Add decent readme 2023-09-07 12:47:46 +02:00

PlanetExpressExpress

A data driven approach for solving a shipping discount calculator.

Setup

  • Ruby 3.x

Usage

Generating sample data

$ ruby bin/generate_data.rb $SAMPLE_SIZE > sample_file.txt

Run the calculator

$ ruby bin/run.rb sample_file.txt