nesquena/rabl
59.4
Adequate · 14 November 2026
2.1k
lines of production code
Ruby
primary language
5
measurements over time
What this system is
Features
Added RABL template examples for JSON serialization
The examples directory now includes three RABL templates (base.json.rabl, demo.json.rabl, and inherited.json.rabl) that demonstrate how to structure JSON responses. These files illustrate core features such as defining attributes, renaming nodes, using child blocks for nested objects, extending base templates, and executing arbitrary code blocks within the view layer.
examples · high confidence
Adds configuration, caching, and rendering APIs with conditional Rails/Padrino integration
The library now exposes a public API for managing settings and rendering templates, including \Rabl.configure\ for a configuration block, \Rabl.render\ for direct template rendering, and methods to manage a source cache (\source\_cache\, \reset\_source\_cache!\). It conditionally loads Rails-specific components (railtie, tracker, digestor) only when running on Rails versions 3 through 8, and adds out-of-the-box support for Padrino by registering the library after the framework loads.
lib · high confidence
Initial release of RABL 0.17.0 with Rails 8 support
This release introduces support for Rails 8, allowing the library to function correctly with the latest Rails framework version. It also includes a fix for an ArgumentError that occurred when no keyword arguments were provided on Ruby versions prior to 2.7, ensuring broader compatibility across older Ruby environments.
(repo-wide) · high confidence
Behavioural changes
Rabl library updated to version 0.17.0
The Rabl gem has been upgraded to version 0.17.0. This release includes comprehensive support for Rails 8, alongside continued compatibility with Rails 6 and 7. The update introduces a new configuration option, \exclude\_empty\_values\_in\_collections\, which allows users to filter out empty values when rendering collections. Additionally, the library now supports the MessagePack serialization format (with \.mpac\ alias) and includes a custom LRU cache engine for non-Rails environments to improve caching performance.
lib/rabl · high confidence
Test coverage
1 commit adding/updating tests in (repo-wide); Added test coverage for Rabl serialization engines, builder, and configuration.
Dependencies
59 commits updating dependencies (3 manifests)
A dependency / build maintenance change in (dependencies) — 59 commits (4 fixs), 3 files: “add in debuggers to Gemfiles because of Issues”; “add tilt to development dependencies and template tests”; “Failing assertions for multi\_json gem integration (related to \#43)”; and 56 more (refs \#43, \#365, \#491).
(dependencies) · high confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 60 → 59 (-0.6)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 60 → 59 (-0.4)
- Architecture 77 → 93 (+15.9)
- Maturity 59 → 52 (-6.7)
- Readiness 59 → 65 (+5.8)
- Security 64 → 77 (+13.2)
Resolved (56)
- End-of-life framework: Rails 4 (fixtures/rails4/Gemfile)
- End-of-life framework: Rails 5 (fixtures/rails5/Gemfile)
- End-of-life framework: Rails 6 (fixtures/rails6/Gemfile)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- High: security finding (details withheld)
- …and 36 more
New (11)
- Change coupling: engine.rb ↔ railtie.rb (lib/rabl/engine.rb)
- Helpers.data_name (cognitive 25) (lib/rabl/helpers.rb)
- High: security finding (details withheld)
- Medium: security finding (details withheld)
- Medium: security finding (details withheld)
- No SBOM
- No artifact signing
- No build provenance
- PR-triggered workflow without a permissions block (.github/workflows/ci.yml)
- TooManyMethods: Engine (lib/rabl/engine.rb)
- Unpinned build actions
Changes since last survey
- 163 commits — 150 feature/other, 13 fixes
By area
- (root) — 62 commits
- lib/rabl — 44 commits
- (repo) — 42 commits
- .github/workflows — 8 commits
- test/partials_test.rb — 2 commits
- fixtures/rails6 — 1 commit
- lib/rabl.rb — 1 commit
- test/cache_key_test.rb — 1 commit
- test/configuration_test.rb — 1 commit
- test/gemspec_test.rb — 1 commit
Notable commits
- fix: Fix caching outside Rails (LocalJumpError, cache never read)
- fix: Fix empty gem when built where /bin/sh isn't bash
- fix: Merge origin/master (dabde2e) into claude/output-fixes
- fix: Merge origin/master into claude/xml-fixes
- fix: Merge pull request #792 from nesquena/claude/rendering-fixes
- fix: Merge pull request #793 from nesquena/claude/output-fixes
- fix: Merge pull request #796 from nesquena/claude/xml-fixes
- fix: Merge pull request #800 from nesquena/claude/lookup-fixes
- fix: Merge pull request #808 from nesquena/claude/maintenance-fixes
- fix: Merge pull request #809 from nesquena/claude/readme-fixes
- fix: Merge remote-tracking branch 'origin/master' into claude/output-fixes
- fix: Merge remote-tracking branch 'origin/master' into claude/readme-fixes
- fix: Merge remote-tracking branch 'origin/master' into claude/rendering-fixes
- change: Add a release workflow: trusted publishing to rubygems.org, approved per release
- change: Add changelog, source and issue links to the gemspec, and require MFA to push
- change: Add the item to per-item cache keys instead of replacing parts
- change: Ask the cheap cache question first
- change: Assert a bound on the fallbacks the lookup memo keeps
- change: Avoid building a MatchData in two string checks
- change: Bound the Oj.default_options change to Oj 3.17.7 or newer (#744 follow-up)
- …and 143 more
Architecture
- Containers 0 added · 0 removed · contexts 0 added · 1 removed · edges 0 added · 0 removed
Removed bounded contexts (1)
- rabl
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
nesquena/rabl was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit ca1ecfc370e51677aef0a9f73bc6f57d7c65379e — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-e1a3b69fc8ee.