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

ruby-grape / grape / 25861058504 / 31
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/recompile-settings-mutation-race
DEFAULT BRANCH: master
Ran 14 May 2026 01:01PM UTC
Files 158
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

14 May 2026 12:52PM UTC coverage: 95.765% (+0.006%) from 95.759%
25861058504.31

Pull #2715

github

ericproulx
Normalize == / eql? aliasing across value-like classes

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>
Pull Request #2715: Normalize == / eql? aliasing across value-like classes

1049 of 1155 branches covered (90.82%)

Branch coverage included in aggregate %.

3428 of 3520 relevant lines covered (97.39%)

1003.8 hits per line

Source Files on job run-3.4-Gemfile - 25861058504.31
  • 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 25861058504
  • b058fce8 on github
  • Prev Job for on chore/normalize-eql-aliases (#25854383996.11)
  • Next Job for on chore/normalize-eql-aliases (#25872604205.8)
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