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

ruby-grape / grape / 23718466174 / 28
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: chore/prune-requires
DEFAULT BRANCH: master
Ran 29 Mar 2026 08:35PM UTC
Files 155
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

29 Mar 2026 08:34PM UTC coverage: 95.671% (+0.02%) from 95.655%
23718466174.28

Pull #2666

github

ericproulx
Endpoint cleanup and minor optimizations

- Replace `equals?` with idiomatic `==` / `eql?`; use `include?` at call site
- Fix `endpoints` memoization bug: set eagerly in `initialize`, add to `attr_reader`
- Use `attr_reader` methods instead of raw ivars (`@endpoints`, `@source`)
- Use `||=` in `initialize` for representations and default_error_status
- `collect` + `flatten` → `flat_map` in `routes`
- Simplify double-negation condition in `mount_in`
- Early return in `run_validators` when no validators

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #2666: Endpoint cleanup and minor optimizations

1044 of 1154 branches covered (90.47%)

Branch coverage included in aggregate %.

3332 of 3420 relevant lines covered (97.43%)

1029.11 hits per line

Source Files on job run-4.0-gemfiles/rails_7_2.gemfile - 23718466174.28
  • Tree
  • List 155
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 23718466174
  • 454d52d0 on github
  • Prev Job for on endpoint_cleanup (#23687541909.36)
  • Next Job for on endpoint_cleanup (#23718501092.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