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

kettle-rb / token-resolver / 22275040253 / 1
97%
main: 97%

Build:
DEFAULT BRANCH: main
Ran 22 Feb 2026 10:06AM UTC
Files 10
Run time 0s
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

22 Feb 2026 10:05AM UTC coverage: 96.726% (+0.2%) from 96.573%
22275040253.1

push

github

pboling
🐛 Prevent false positive with match & character restriction on tokens

- `Config#segment_pattern` option — a parslet character class constraining which characters
  are valid inside token segments (default: `"[A-Za-z0-9_]"`). This prevents false positive
  token matches against Ruby block parameters (`{ |x| expr }`), shell variable expansion
  (`${VAR:+val}`), and other syntax that structurally resembles tokens but contains spaces
  or punctuation in the "segments".
- `Resolve#resolve` now validates replacement keys against the config's `segment_pattern` and
  raises `ArgumentError` if a key contains characters that the grammar would never parse.

62 of 68 branches covered (91.18%)

Branch coverage included in aggregate %.

263 of 268 relevant lines covered (98.13%)

33.97 hits per line

Source Files on job 22275040253.1
  • Tree
  • List 10
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 22275040253
  • f3cd96b6 on github
  • Prev Job for on main (#22257563670.1)
  • Next Job for on main (#22275064920.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc