C

Carton

Enforce boundaries in large Ruby apps, with no manifest files

Visit Carton ↗ link: rel="ugc noopener"

Carton is a tool for enforcing boundaries in large Ruby applications. It is similar to Packwerk but takes a more Ruby-like approach, with no manifest files. Constants, gems, and monkey patches are isolated using Ruby 4's new Ruby::Box feature.

Carton is not production ready yet, since Ruby::Box itself is still experimental. The author is looking for feedback on the approach. The project is presented as the author's take on the problem rather than a finished solution.

Discussion