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

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

Build:
Build:
LAST BUILD BRANCH: chore/min-ruby-3.3
DEFAULT BRANCH: master
Ran 25 May 2026 08:37AM UTC
Files 164
Run time 9s
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: 95.688% (-0.003%) from 95.691%
26391455933.7

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

1062 of 1171 branches covered (90.69%)

Branch coverage included in aggregate %.

3487 of 3583 relevant lines covered (97.32%)

989.81 hits per line

Source Files on job run-4.0-gemfiles/rails_8_0.gemfile - 26391455933.7
  • Tree
  • List 164
  • 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.28)
  • 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