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

ruby-grape / grape / 26493393797 / 10
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 27 May 2026 05:50AM 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

27 May 2026 05:49AM UTC coverage: 95.697% (-0.01%) from 95.709%
26493393797.10

push

github

web-flow
Normalize Grape::Endpoint constructor inputs into an internal Data value object (#2735)

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>

1062 of 1171 branches covered (90.69%)

Branch coverage included in aggregate %.

3497 of 3593 relevant lines covered (97.33%)

990.1 hits per line

Source Files on job run-3.4-Gemfile - 26493393797.10
  • 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 26493393797
  • f725dc0a on github
  • Prev Job for on master (#26418525997.6)
  • Next Job for on master (#26493796179.36)
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