kpumuk/meta-tags
67.0
Adequate · 5 November 2026
1.3k
lines of production code
Ruby
primary language
4
measurements over time
What this system is
Features
Added RBS type signatures for the MetaTags gem
This change introduces a comprehensive set of RBS type signature files for the MetaTags gem, covering the core library, configuration, renderer, controller and view helpers, and internal components like tags and text normalization. These signatures define the public API and internal structures, enabling static type checking with tools like Steep and improving IDE support for developers using the gem.
sig · high confidence
Added Rails generator for MetaTags configuration
Users can now run the MetaTags install generator to automatically copy the default configuration initializer into their Rails application, simplifying the setup process for the library.
_lib/generators/meta\tags · high confidence
New bin scripts for lockfile auditing, console, and setup
Added three new executable scripts to the bin directory: bin/audit-lockfiles, bin/console, and bin/setup. The audit-lockfiles script automates security auditing of development lockfiles using bundle-audit, enforcing a strict whitelist of known vulnerabilities (specifically handling exceptions for EOL Rails versions and Nokogiri issues on Ruby 3.1) and rejecting any unlisted advisories. The bin/console script provides a standardized environment for interactive experimentation with the gem, requiring bundler setup and IRB. The bin/setup script automates initial project configuration by running bundle install.
bin · high confidence
Behavioural changes
Added new signing certificate for gem distribution
A new public certificate (kpumuk.pem) has been added to the repository to support gem signing. This certificate is valid from September 29, 2025, to September 29, 2026, and is associated with the identity [e-mail redacted], ensuring that future gem releases can be cryptographically signed and verified using this key.
certs · high confidence
Expanded Rails compatibility matrix with version-specific dependency pinning
The gemfiles directory now includes dedicated Appraisal configurations for Rails 6.1, 7.0, 7.1, 7.2, 8.0, 8.1, and the Rails edge branch. To ensure stability across these versions, the gemfiles explicitly pin or constrain specific dependencies: \zeitwerk\ is locked to \\~\> 2.6.18\, \minitest\ to \\< 6.0\ (except in Rails 8.0+ where it allows 6.0), and \parallel\ to \\< 2.0\. Rails 6.1 and 7.0 gemfiles additionally require \base64\, \bigdecimal\, \logger\, and \mutex\_m\ as explicit dependencies, while Rails 7.1 and 7.2 gemfiles pin \securerandom\ to \0.3.0\ and constrain \connection\_pool\ and \erb\. Rails 8.0 and 8.1 gemfiles introduce \bundler-audit\ and remove older constraint gems, reflecting the evolving requirements of the Rails framework.
gemfiles · high confidence
MetaTags gem restructured with modular components and configuration
The library has been refactored from a single monolithic module into a modular structure with separate classes for configuration, rendering, and tag handling. A new configuration object allows users to customize gem behavior via \MetaTags.configure\, and the previous controller helper using \alias\_method\_chain\ has been replaced by a modern module inclusion approach. The main entry point now requires the version, configuration, and all component modules, providing a cleaner API for managing meta tags in Rails applications.
lib · high confidence
MetaTags gem version 2.24.0 release
This release updates the MetaTags gem to version 2.24.0. The diff shows a complete restructuring of the library's internal architecture, introducing dedicated classes for configuration (\Configuration\), tag rendering (\Tag\, \ContentTag\, \Renderer\), and text normalization (\TextNormalizer\). It also refactors the integration with Rails by moving initialization into a \Railtie\ and separating controller and view helpers. These changes provide a more modular and maintainable codebase while preserving the existing public API for setting and displaying meta tags.
_lib/meta\tags · high confidence
Modernized development tooling and configuration
The project has replaced its legacy development setup with modern standards: code style is now enforced by StandardRB (via \.rubocop.yml\) instead of CodeClimate, and the build system has switched from Travis CI to GitHub Actions. RSpec is now the primary test runner (configured via \.rspec\), and static type checking is introduced using Steep and RBS. The default development Ruby version is set to 3.3, and multi-version Rails testing is managed via Appraisals. Additionally, the documentation format has moved from RDoc to YARD (with strict linting via \.yard-lint.yml\), and the repository now includes a Code of Conduct and Security policy.
(repo-wide) · high confidence
New default configuration template for MetaTags
The library now provides a new default configuration template (\config/initializers/meta\_tags.rb\) that users can generate via the Rails generator. This template documents and sets defaults for key configuration options, including a 300-character limit for page descriptions, boundary-aware array truncation, the ability to add HTML attributes to the title tag, and options to control whether meta tags are self-closing or open. It also includes settings for minifying output, handling natural separators during truncation, and resolving symbolic references in arrays, giving users a comprehensive starting point for customizing SEO metadata behavior.
_lib/generators/meta\tags/templates · high confidence
Test coverage
Added comprehensive RSpec test suite for MetaTags; Added test coverage for text normalization logic; Added test infrastructure for MetaTags gem integration; Comprehensive test coverage for MetaTags ViewHelper.
Dependencies
Update development dependencies and enforce Ruby 3.0+ requirement
The gemspec now requires Ruby 3.0.0 or higher and lists all dependencies directly, including a runtime dependency on ActionPack \>= 6.0.0. Development dependencies have been updated to include Steep \~\> 1.10.0, Standard \~\> 1.31, standard-rails \~\> 1.6, and RSpec \~\> 3.13.0, while the Gemfile now delegates dependency management to the gemspec and adds yard-lint \~\> 1.4 for MRI 3.3.
(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 67 → 67 (-0.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 95 → 95 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 56 → 56 (+0.0)
- Readiness 83 → 83 (+0.0)
- Security 88 → 83 (-4.9)
Resolved (2)
- Inconsistent rendering API surface. ViewHelper uses display_* methods, while ContentTag and Renderer use render. ControllerHelper also uses render but with a different signature (args, block). This forces developers to remember different method names for similar actions depending on the context (view helper vs internal object).
- Redundant naming and unclear distinction between 'full' vs 'page' and 'extract' vs direct access. It is unclear if full_title and page_title return different values or if extract_* methods are merely getters for internal state while the others are computed. The prefix 'extract' is inconsistent with other collection methods like delete or update which modify state, whereas extract here seems to read.
Changes since last survey
- 31 commits — 30 feature/other, 1 fixes
By area
- .github/workflows — 11 commits
- (repo) — 10 commits
- (root) — 6 commits
- gemfiles/rails_6.1.gemfile.lock — 3 commits
- gemfiles/rails_8.1.gemfile.lock — 1 commit
Notable commits
- fix: Fix Ruby 3.1 CI runners and update Crass security locks
- change: Build native gems from source on ruby-head
- change: Bump ruby/setup-ruby from 1.329.0 to 1.331.0
- change: Bump ruby/setup-ruby from 1.331.0 to 1.332.0
- change: Bump ruby/setup-ruby from 1.332.0 to 1.334.0
- change: Bump ruby/setup-ruby from 1.334.0 to 1.335.0
- change: Bump zizmorcore/zizmor-action from 0.6.4 to 0.7.1
- change: Bump zizmorcore/zizmor-action from 0.7.1 to 0.8.0
- change: Include source gems in the Rails 8.1 lockfile
- change: Keep ruby-head on the current Bundler
- change: Merge pull request #373 from kpumuk/dependabot/bundler/steep-tw-2.0.0
- change: Merge pull request #394 from kpumuk/dependabot/bundler/simplecov-tw-1.0.1
- change: Merge pull request #441 from kpumuk/dependabot/github_actions/zizmorcore/zizmor-action-0.7.1
- change: Merge pull request #442 from kpumuk/dependabot/github_actions/ruby/setup-ruby-1.331.0
- change: Merge pull request #443 from kpumuk/dependabot/github_actions/ruby/setup-ruby-1.332.0
- change: Merge pull request #444 from kpumuk/drop-ruby-3-1
- change: Merge pull request #445 from kpumuk/dependabot/github_actions/ruby/setup-ruby-1.334.0
- change: Merge pull request #446 from kpumuk/dependabot/github_actions/zizmorcore/zizmor-action-0.8.0
- change: Merge pull request #447 from kpumuk/dependabot/github_actions/ruby/setup-ruby-1.335.0
- change: Remove obsolete Ruby 3.1 dependency constraints
- …and 11 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
kpumuk/meta-tags 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 5 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 39595696e869801f1e4f1de6cff9881b3a6e3bce — 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.