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

ruby-grape / grape / 25872754667 / 20
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 14 May 2026 04:47PM UTC
Files 158
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

14 May 2026 04:44PM UTC coverage: 95.783% (+0.005%) from 95.778%
25872754667.20

push

github

web-flow
Normalize == / eql? aliasing across value-like classes (#2715)

Several classes defined `==` without aliasing it to `eql?`, leaving
hash-table membership (`include?`, `Set`, `Hash` keys) inconsistent with
their custom equality. Normalize every value-like class to the same
shape: `def ==(other); ...; end; alias eql? ==`.

- middleware/stack.rb (Stack::Middleware): add `alias eql? ==`.
- serve_stream/stream_response.rb: same.
- serve_stream/file_body.rb: same.
- util/media_type.rb: collapse the `def ==(other); eql?(other); end`
  trampoline + separate `def eql?` into a single `==` body with
  `alias eql? ==`. Same behaviour, less indirection.
- exceptions/error_response.rb: same collapse.
- namespace.rb: flip from `def eql? ... alias == eql?` to
  `def == ... alias eql? ==` so the project follows one direction
  consistently.

`endpoint.rb` already used the canonical pattern; left untouched.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

1049 of 1155 branches covered (90.82%)

Branch coverage included in aggregate %.

3426 of 3517 relevant lines covered (97.41%)

1004.03 hits per line

Source Files on job run-3.2-gemfiles/rack_3_0.gemfile - 25872754667.20
  • Tree
  • List 158
  • Changed 8
  • Source Changed 8
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25872754667
  • 4e2fc0f7 on github
  • Prev Job for on master (#25872321403.2)
  • Next Job for on master (#25873175083.9)
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