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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 23 May 2026 08:27AM UTC
Files 165
Run time 6s
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 08:26AM UTC coverage: 95.681% (-0.01%) from 95.693%
26328070576.31

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 %.

3501 of 3597 relevant lines covered (97.33%)

989.54 hits per line

Source Files on job run-3.4-gemfiles/rails_8_1.gemfile - 26328070576.31
  • Tree
  • List 165
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26328070576
  • 1c8b6c08 on github
  • Prev Job for on refactor/endpoint-options-data (#26327699911.16)
  • Next Job for on refactor/endpoint-options-data (#26338090053.13)
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