← All projects
Project record1 mention
Originally shared on Hacker News

Carton

A tool for enforcing boundaries in large Ruby applications, similar to Packwerk but taking a more Ruby-like approach with no manifest files. Constants, gems and monkey patches are isolated using Ruby 4's Ruby::Box. Not production ready yet since Box itself is still experimental.

Last shared
01 / The problem

What it addresses

Enforcing boundaries in large Ruby applications

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Carton

    A tool for enforcing boundaries in large Ruby applications, similar to Packwerk but taking a more Ruby-like approach with no manifest files. Constants, gems and monkey patches are isolated using Ruby 4's Ruby::Box. Not production ready yet since Box itself is still experimental.

    Problem: Enforcing boundaries in large Ruby applications

    Posted by @dtcristo · Original source ↗

    Story title · @dtcristo · · Source ↗

    Show HN: Carton – Real Boundaries for Ruby

    Submitted URL · @dtcristo · · Source ↗

    https://carton.dtcristo.com/

    Source text · @dtcristo · · Source ↗

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

    Source text · @dtcristo · · Source ↗

    It's not production ready yet, since Box itself is still experimental, but I'd love feedback on the approach.