• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sds / overcommit / 42867295741
100%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 10 Nov 2026 05:42PM UTC
Jobs 1
Files 225
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Nov 2026 05:40PM UTC coverage: 94.245% (+0.7%) from 93.508%
42867295741

push

github

web-flow
Support gem hook plugins with explicit sources and signature approvals (#931)

Gem-provided hooks now load only from explicitly declared sources and
use the existing `overcommit --sign <hook-type>` approval flow.
Namespaced hook names distinguish gem hooks from built-in and repository
hooks, and signatures cover gem contents, runtime dependencies
(including compiled extensions), and effective hook configuration before
hook code is required.

Supersedes #748, implementing the gem-sharing feature proposed by Sean
Millichamp and addressing the review's approval and source-resolution
concerns. The original fork does not allow maintainer edits. Shared
configuration remains a follow-up; the namespace-to-gem mapping
identifies sources explicitly without executing gem entrypoints during
validation.

Adds 94 unit/integration examples, including real installed gems with
and without Bundler, rejection before load-time side effects, dependency
changes, multiple sources and name collisions, disabled plugins,
load-path precedence, signing, and `SKIP`/`ONLY`. Documents gem plugins
immediately after Plugin Directory and fixes the requested README
punctuation and table of contents link.

Validation: all 1,960 examples pass locally; all pre-commit checks and
RuboCop pass; measured line coverage is 94.19%. CI exercises Ruby 3.3,
3.4, and 4.0 on Linux and Windows.

139 of 143 new or added lines in 10 files covered. (97.2%)

3603 of 3823 relevant lines covered (94.25%)

2930.11 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
75.38
-1.78% lib/overcommit/cli.rb
1
98.89
lib/overcommit/gem_plugin.rb
Jobs
ID Job ID Ran Files Coverage
1 42867295741.1 10 Nov 2026 05:42PM UTC 4050
79.68
GitHub Action Run
Source Files on build 42867295741
  • Tree
  • List 225
  • Changed 175
  • Source Changed 9
  • Coverage Changed 175
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42867295741
  • 23534a31 on github
  • Prev Build on main (#42773246305)
  • Next Build on main (#42870511710)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc