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

ruby-grape / grape / 25860130127 / 18
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/router-request-time-map-mutation
DEFAULT BRANCH: master
Ran 14 May 2026 12:33PM UTC
Files 159
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:31PM UTC coverage: 95.745% (+0.004%) from 95.741%
25860130127.18

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

1050 of 1157 branches covered (90.75%)

Branch coverage included in aggregate %.

3428 of 3520 relevant lines covered (97.39%)

1004.21 hits per line

Source Files on job run-3.3-gemfiles/rails_7_2.gemfile - 25860130127.18
  • Tree
  • List 159
  • Changed 8
  • Source Changed 8
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25860130127
  • 3170e86f on github
  • Prev Job for on chore/normalize-eql-aliases (#25854383996.19)
  • Next Job for on chore/normalize-eql-aliases (#25861058504.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