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

ruby-grape / grape / 26391455933 / 15
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: refactor/middleware-cleanups
DEFAULT BRANCH: master
Ran 25 May 2026 08:37AM UTC
Files 163
Run time 7s
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

25 May 2026 08:35AM UTC coverage: 55.179% (+0.004%) from 55.175%
26391455933.15

Pull #2747

github

ericproulx
Drop Enumerable from Grape::Exceptions::ValidationErrors

`Grape::Exceptions::ValidationErrors` mixed in `Enumerable` and exposed
a public `#each` that yielded `(attribute, error)` pairs. That surface
was undocumented (the README only covers `#errors`, `#full_messages`,
`#message`, and `rescue_from`), untested, and had a single in-class
consumer: `#full_messages` calling `map` on `self`.

Removed `include Enumerable` and `#each`. Rewrote `#full_messages` to
walk the `errors` hash directly via `flat_map`, which also documents
the actual data shape (`{ params => [validations] }`) at the call site.

UPGRADING entry added since this is a contract break, even if the
surface was undocumented.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2747: Drop Enumerable from Grape::Exceptions::ValidationErrors

244 of 1171 branches covered (20.84%)

Branch coverage included in aggregate %.

2377 of 3579 relevant lines covered (66.42%)

10.87 hits per line

Source Files on job run-4.0-gemfiles/grape_swagger.gemfile - 26391455933.15
  • Tree
  • List 163
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26391455933
  • c893c87b on github
  • Prev Job for on refactor/validation-errors-drop-enumerable (#26292056269.7)
  • Next Job for on refactor/validation-errors-drop-enumerable (#26468350429.10)
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