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

ruby-grape / grape / 25608800647 / 11
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 09 May 2026 06:38PM UTC
Files 156
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

09 May 2026 06:37PM UTC coverage: 95.661% (+0.002%) from 95.659%
25608800647.11

push

github

web-flow
Expose API logger via Grape::Endpoint#logger (#2704)

Add a `Grape::Endpoint#logger` accessor that delegates to
`options[:for].logger`. The API's configured logger is now reachable
without a helper from inside any context whose `self` is the
endpoint: route handlers, `before` / `before_validation` /
`after_validation` / `after` / `finally` filters, and `rescue_from`
blocks.

A user-defined `helpers do; def logger; ...; end` still wins, since
helpers are mixed into the endpoint's singleton class — so the
addition is backwards compatible.

Drops the helper workaround from `benchmark/remounting.rb` to
illustrate the simplification.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

1058 of 1167 branches covered (90.66%)

Branch coverage included in aggregate %.

3373 of 3465 relevant lines covered (97.34%)

1007.71 hits per line

Source Files on job run-3.3-gemfiles/rack_3_2.gemfile - 25608800647.11
  • Tree
  • List 156
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25608800647
  • 037476e6 on github
  • Prev Job for on master (#25583959632.34)
  • Next Job for on master (#25643338140.18)
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