Skip to content
CAI
Software that uses CAICheck a score

Mange/roadie

67.7

Adequate · 6 November 2026

1.7k

lines of production code

Ruby

primary language

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Removals

Removal of legacy inline CSS styling support

The \lib/shemail/inline\_styles.rb\ file has been removed, eliminating the ability to automatically inline CSS styles into HTML email parts. This removes the \deliver\_with\_inline\_styles!\ method and the associated CSS parsing logic that previously relied on \Nokogiri\ and \css\_parser\ to merge external stylesheets into email bodies.

lib/shemail · high confidence

Behavioural changes

Renamed gem from Shemail to Roadie

The library has been renamed from Shemail to Roadie. The old entry point \lib/shemail.rb\ has been removed and replaced with \lib/roadie.rb\, which now serves as the main module and requires the updated set of components including the new provider system, asset scanner, and URL rewriters.

lib · high confidence

Repository restructured with modern tooling and updated documentation

The repository has been reorganized to support modern development workflows. Configuration files for \.gitignore\, RuboCop (using \standard\), Solargraph, and StandardRB have been added, with the Ruby target version set to 2.7. Documentation has been migrated from Textile to Markdown (\README.md\), and the Changelog has been formalized in \Changelog.md\. Legacy files such as \init.rb\ and \readme.textile\ have been removed, and the license file has been renamed to \LICENSE\. The gem is now in passive maintenance mode.

(repo-wide) · high confidence

Roadie 5.3.1: Complete internal rewrite with new asset provider system and URL handling

This release introduces a comprehensive internal refactor of the Roadie library, updating the gem to version 5.3.1. The core inlining engine has been replaced with a new architecture featuring dedicated domain objects for CSS (Stylesheet, StyleBlock, StyleProperty, Selector) and a new AssetScanner that extracts styles from both inline \<style\> tags and \<link\> elements. Asset retrieval is now handled by a flexible provider system, including a new FilesystemProvider, NetHttpProvider (with host whitelisting), PathRewriterProvider, CachedProvider, and NullProvider, all managed via a ProviderList. URL rewriting has been separated into its own UrlGenerator and UrlRewriter classes, which now correctly handle scheme-less URLs and anchor links. The transformation pipeline is exposed via before\_transformation and after\_transformation callbacks, and the Document class now supports HTML5 doctypes by default, XHTML/XML output modes, and options to keep uninlinable CSS or merge media queries.

lib/roadie · high confidence

Test coverage

Added RSpec shared examples for asset providers and cache stores; Added comprehensive test suite for Roadie core components; Added shared test suites for asset providers and URL rewriters; Added test fixtures for CSS styling scenarios; Extracted custom RSpec matchers and added a test asset provider; Migrated test suite to RSpec 3 and modernized test infrastructure.

Dependencies

Added CI gemfiles for css\_parser versions 1.x, 2.x, and 3.x

New gemfiles have been added to the gemfiles directory to enable continuous integration testing against specific major versions of the css\_parser library. The project now explicitly supports and tests against css\_parser versions 1.4, 2.0, and 3.0, ensuring compatibility across these releases.

gemfiles · high confidence

Initial gem specification and development environment setup

The project introduces its core gemspec (roadie.gemspec) and a Gemfile to define dependencies and development tooling. The gem requires Ruby 3.3 or higher and depends on nokogiri (\~\> 1.15) and css\_parser (\>= 1.4, \< 4.0). Development dependencies include rake, rspec (\~\> 3.0), rspec-collection\_matchers (\~\> 1.0), webmock (\~\> 3.0), and standardrb, while the Gemfile adds simplecov and solargraph for CI and local development respectively.

(dependencies) · high confidence

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

Score

  • CAI 68 → 68 (-0.2)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 76 → 76 (+0.0)
  • Architecture 100 → 100 (+0.0)
  • Maturity 54 → 54 (+0.0)
  • Readiness 75 → 75 (+0.0)
  • Security 97 → 95 (-2.1)

Resolved (5)

  • Ambiguous relationship between transform and transform_partial. It is unclear if transform_partial is a subset of transform, a different mode, or if they are mutually exclusive steps in a pipeline. Without documentation, it's hard to know if transform calls transform_partial internally or if they are distinct operations. If transform is the main entry point, transform_partial suggests an internal implementation detail leaking into the public API.
  • Documentation: no project overview (README.md)
  • Inconsistent initialization pattern. Most classes use initialize to set up state and apply/transform/inline to perform the main operation. However, Deduplicator accepts the input in initialize but also has an apply method that can take the input again (or take no arguments if state was set). This creates ambiguity: should the caller pass data to initialize or apply? Other classes like Inliner or MarkupImprover take dependencies in initialize and the data in the action method.
  • Inconsistent naming convention for conversion methods. Ruby convention typically uses to_a for array conversion. ProviderList uses to_ary which is less common for public API exposure (usually to_a is the expected interface for implicit conversion or explicit array casting). While to_ary is technically correct for duck-typing arrays, to_s is standard. The mix of to_ary and to_s is fine, but to_ary is often a source of confusion compared to to_a. However, the bigger issue is that ProviderList is a collection wrapper, and having to_ary is specific. Let's look for a clearer inconsistency.
  • Off-boarding risk: anonymized user #1

New (1)

  • Off-boarding risk: anonymized user #1

Changes since last survey

  • 2 commits — 2 feature/other, 0 fixes

By area

  • (repo) — 1 commit
  • .github/workflows — 1 commit

Notable commits

  • change: Bump ruby/setup-ruby from 1.327.0 to 1.335.0
  • change: Merge pull request #186 from Mange/dependabot/github_actions/ruby/setup-ruby-1.335.0

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

Mange/roadie 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 6 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 00b7a10b7712cd777fb10409b7b10ae24896ff1a — the exact code this score is about.
  • Scored under rubric-2026.11.2 — 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.2+preprod-5c4e66d9318b.