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

ruby-grape / grape / 26338090053 / 38
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/recompile-settings-mutation-race
DEFAULT BRANCH: master
Ran 23 May 2026 05:33PM UTC
Files 164
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

23 May 2026 04:41PM UTC coverage: 95.678% (-0.01%) from 95.69%
26338090053.38

Pull #2735

github

ericproulx
Normalize Grape::Endpoint constructor inputs into an internal Data value object

Introduces `Grape::Endpoint::Options`, a `Data.define` value object built
once from the `**options` Hash in `Endpoint#initialize`. Internal call
sites read named accessors (`config.path`, `config.app`, etc.) instead
of poking `@options[:...]`.

The public surface is unchanged: `Endpoint.new(new_settings, **options, &block)`
still takes a Hash, and `attr_reader :options` still returns that Hash —
so downstream gems (e.g. grape-swagger) that read `endpoint.options[:app]`
continue to work.

`:method` is renamed to `:http_methods` on the value object to avoid
shadowing `Object#method` via the generated Data accessor.

No behavior change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2735: Normalize Endpoint constructor inputs into an internal Data value object

1063 of 1173 branches covered (90.62%)

Branch coverage included in aggregate %.

3497 of 3593 relevant lines covered (97.33%)

990.3 hits per line

Source Files on job run-3.4-gemfiles/rack_3_1.gemfile - 26338090053.38
  • Tree
  • List 164
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26338090053
  • 7928ac5e on github
  • Prev Job for on refactor/endpoint-options-data (#26327699911.17)
  • Next Job for on refactor/endpoint-options-data (#26468390383.29)
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