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

ruby-grape / grape / 35330515593
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: docs/readme-param-version-and-415
DEFAULT BRANCH: master
Ran 18 Sep 2026 09:37AM UTC
Jobs 32
Files 167
Run time 1min
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

18 Sep 2026 09:37AM UTC coverage: 99.024% (-0.02%) from 99.042%
35330515593

Pull #2953

github

ericproulx
Keep a String error message's status when the route names a failure entity

ErrorFormatter::Base#present applies the entity a route's failure codes
name for the response status to whatever error! was given. An entity
exposing attributes cannot read any off a String, so error!('Unauthorized',
401) under `failure: [[401, 'Unauthorized', API::Error]]` raised while
rendering, and the failsafe answered 500 in place of the 401.

That has been true of the `failure` block method and the `http_codes:`
keyword for as long as they presented errors. #2949 made the `failure:`
keyword present too -- the spelling grape-swagger's README recommends -- so
on master an API that documents its 401 that way and calls error! with a
String turns every 401 into a 500.

The failure entities document a structured error body, and every README
example hands error! a Hash, so a String message is now left to
#wrap_message, which renders it the way it renders without an entity. A
Hash or an object is presented as before, and `with:` and a class's own
Entity are untouched.

An entity written to take the String itself is no longer handed one;
UPGRADING shows moving it to a Hash message.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2953: Keep a String error message's status when the route names a failure entity

1423 of 1479 branches covered (96.21%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

4260 of 4260 relevant lines covered (100.0%)

28365.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/hashie.gemfile - 35330515593.1 18 Sep 2026 09:37AM UTC 165
59.87
GitHub Action Run
2 run-4.0-gemfiles/rack_2_2.gemfile - 35330515593.2 18 Sep 2026 09:39AM UTC 166
97.78
GitHub Action Run
3 run-3.4-gemfiles/rack_3_1.gemfile - 35330515593.3 18 Sep 2026 09:38AM UTC 166
97.84
GitHub Action Run
4 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35330515593.4 18 Sep 2026 09:38AM UTC 165
45.84
GitHub Action Run
5 run-3.4-gemfiles/rack_3_0.gemfile - 35330515593.5 18 Sep 2026 09:37AM UTC 166
97.84
GitHub Action Run
6 run-4.0-gemfiles/grape_swagger.gemfile - 35330515593.6 18 Sep 2026 09:38AM UTC 165
53.44
GitHub Action Run
7 run-4.0-gemfiles/multi_json.gemfile - 35330515593.7 18 Sep 2026 09:38AM UTC 165
46.08
GitHub Action Run
8 run-3.4-gemfiles/rack_3_2.gemfile - 35330515593.8 18 Sep 2026 09:38AM UTC 166
97.84
GitHub Action Run
9 run-3.4-Gemfile - 35330515593.9 18 Sep 2026 09:38AM UTC 166
97.84
GitHub Action Run
10 run-4.0-gemfiles/rack_3_2.gemfile - 35330515593.10 18 Sep 2026 09:39AM UTC 166
97.84
GitHub Action Run
11 run-4.0-gemfiles/rails_7_2.gemfile - 35330515593.11 18 Sep 2026 09:38AM UTC 167
97.82
GitHub Action Run
12 run-3.3-gemfiles/rack_3_2.gemfile - 35330515593.12 18 Sep 2026 09:39AM UTC 166
97.85
GitHub Action Run
13 run-3.4-gemfiles/rack_2_2.gemfile - 35330515593.13 18 Sep 2026 09:38AM UTC 166
97.8
GitHub Action Run
14 run-4.0-gemfiles/rails_8_0.gemfile - 35330515593.14 18 Sep 2026 09:38AM UTC 167
97.84
GitHub Action Run
15 run-4.0-gemfiles/grape_entity.gemfile - 35330515593.15 18 Sep 2026 09:38AM UTC 165
49.1
GitHub Action Run
16 run-3.3-gemfiles/rails_8_0.gemfile - 35330515593.16 18 Sep 2026 09:38AM UTC 167
97.84
GitHub Action Run
17 run-3.3-gemfiles/rails_8_1.gemfile - 35330515593.17 18 Sep 2026 09:38AM UTC 167
97.86
GitHub Action Run
18 run-3.3-gemfiles/rack_2_2.gemfile - 35330515593.18 18 Sep 2026 09:38AM UTC 166
97.8
GitHub Action Run
19 run-3.4-gemfiles/rails_8_1.gemfile - 35330515593.19 18 Sep 2026 09:38AM UTC 167
97.82
GitHub Action Run
20 run-3.4-gemfiles/rails_7_2.gemfile - 35330515593.20 18 Sep 2026 09:38AM UTC 167
97.84
GitHub Action Run
21 run-4.0-gemfiles/multi_json_1_20.gemfile - 35330515593.21 18 Sep 2026 09:38AM UTC 165
46.12
GitHub Action Run
22 run-3.3-gemfiles/rails_7_2.gemfile - 35330515593.22 18 Sep 2026 09:38AM UTC 167
97.84
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 35330515593.23 18 Sep 2026 09:38AM UTC 167
97.82
GitHub Action Run
24 run-4.0-gemfiles/rack_3_1.gemfile - 35330515593.24 18 Sep 2026 09:38AM UTC 166
97.82
GitHub Action Run
25 run-3.3-gemfiles/rack_3_1.gemfile - 35330515593.25 18 Sep 2026 09:37AM UTC 166
97.84
GitHub Action Run
26 run-4.0-gemfiles/multi_xml.gemfile - 35330515593.26 18 Sep 2026 09:38AM UTC 165
45.8
GitHub Action Run
27 run-3.4-gemfiles/rails_8_0.gemfile - 35330515593.27 18 Sep 2026 09:38AM UTC 167
97.84
GitHub Action Run
28 run-3.3-Gemfile - 35330515593.28 18 Sep 2026 09:38AM UTC 166
97.84
GitHub Action Run
29 run-4.0-gemfiles/dry_validation.gemfile - 35330515593.29 18 Sep 2026 09:38AM UTC 165
56.12
GitHub Action Run
30 run-4.0-gemfiles/rack_3_0.gemfile - 35330515593.30 18 Sep 2026 09:39AM UTC 166
97.84
GitHub Action Run
31 run-4.0-Gemfile - 35330515593.31 18 Sep 2026 09:38AM UTC 166
97.82
GitHub Action Run
32 run-3.3-gemfiles/rack_3_0.gemfile - 35330515593.32 18 Sep 2026 09:38AM UTC 166
97.84
GitHub Action Run
Source Files on build 35330515593
  • Tree
  • List 167
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35330515593
  • Pull Request #2953
  • PR Base - master (#35325647120)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc