solnic/virtus
[DISCONTINUED ] Attributes on Steroids for Plain Old Ruby Objects observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5632
- days_rel: n/a
- days_push: 1849
- n_releases_24m: 0
Adoption not part of the score
3744 stars · 231 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Virtus is a Ruby library for defining typed attributes on plain old Ruby objects, with type coercion, mass-assignment, and embedded object mapping. It is officially discontinued in favor of the dry-rb successors (dry-types, dry-struct, dry-schema).
Use cases
- define typed attributes on ruby classes
- coerce input parameters in web applications
- map payloads to domain objects
- build value objects with mass-assignment
- prototype domain models quickly
When to choose
- maintaining a legacy ruby codebase that already depends on virtus
- you need a simple attribute DSL and are pinned to old ruby versions
When to avoid
- starting a new ruby project - use dry-types, dry-struct, or dry-schema instead
- you need ongoing maintenance, security fixes, or modern ruby compatibility
Facets
library · maturity abandoned
serialization developer-tools developer-tools web-development ruby attributes coercion value-objects discontinued dry-types-successor
1 source
- readme: https://github.com/solnic/virtus · fetched 2026-08-28 · cc7750a58b92
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| solnic/virtus | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem