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

kettle-rb / token-resolver / 22275040253
97%

Build:
DEFAULT BRANCH: main
Ran 22 Feb 2026 10:06AM UTC
Jobs 1
Files 10
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

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

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 %.

17 of 17 new or added lines in 3 files covered. (100.0%)

263 of 268 relevant lines covered (98.13%)

33.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22275040253.1 22 Feb 2026 10:06AM UTC 10
96.73
GitHub Action Run
Source Files on build 22275040253
  • 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 Repo
  • f3cd96b6 on github
  • Prev Build on main (#22257563670)
  • Next Build on main (#22275064920)
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