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

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

Build:
Build:
LAST BUILD BRANCH: docs/readme-corrections
DEFAULT BRANCH: master
Ran 18 Sep 2026 12:52PM 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 12:21PM UTC coverage: 99.044% (-0.02%) from 99.062%
35346970407

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

1428 of 1483 branches covered (96.29%)

Branch coverage included in aggregate %.

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

4271 of 4271 relevant lines covered (100.0%)

28602.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rails_8_0.gemfile - 35346970407.1 18 Sep 2026 12:52PM UTC 167
97.84
GitHub Action Run
2 run-3.4-gemfiles/rails_7_2.gemfile - 35346970407.2 18 Sep 2026 12:52PM UTC 167
97.86
GitHub Action Run
3 run-4.0-gemfiles/rails_7_2.gemfile - 35346970407.3 18 Sep 2026 12:52PM UTC 167
97.84
GitHub Action Run
4 run-4.0-gemfiles/hashie.gemfile - 35346970407.4 18 Sep 2026 12:52PM UTC 165
59.77
GitHub Action Run
5 run-3.4-gemfiles/rails_8_1.gemfile - 35346970407.5 18 Sep 2026 12:53PM UTC 167
97.86
GitHub Action Run
6 run-3.3-gemfiles/rack_3_0.gemfile - 35346970407.6 18 Sep 2026 12:52PM UTC 166
97.88
GitHub Action Run
7 run-4.0-gemfiles/grape_entity.gemfile - 35346970407.7 18 Sep 2026 12:53PM UTC 165
49.02
GitHub Action Run
8 run-3.3-gemfiles/rack_3_2.gemfile - 35346970407.8 18 Sep 2026 12:52PM UTC 166
97.88
GitHub Action Run
9 run-4.0-Gemfile - 35346970407.9 18 Sep 2026 12:58PM UTC 166
97.86
GitHub Action Run
10 run-4.0-gemfiles/multi_json.gemfile - 35346970407.10 18 Sep 2026 12:54PM UTC 165
46.02
GitHub Action Run
11 run-3.4-gemfiles/rack_3_0.gemfile - 35346970407.11 18 Sep 2026 12:52PM UTC 166
97.84
GitHub Action Run
12 run-4.0-gemfiles/rack_3_2.gemfile - 35346970407.12 18 Sep 2026 12:52PM UTC 166
97.84
GitHub Action Run
13 run-4.0-gemfiles/grape_swagger.gemfile - 35346970407.13 18 Sep 2026 12:52PM UTC 165
53.36
GitHub Action Run
14 run-3.4-gemfiles/rack_3_1.gemfile - 35346970407.14 18 Sep 2026 12:53PM UTC 166
97.86
GitHub Action Run
15 run-3.4-Gemfile - 35346970407.15 18 Sep 2026 12:52PM UTC 166
97.86
GitHub Action Run
16 run-3.3-gemfiles/rack_2_2.gemfile - 35346970407.16 18 Sep 2026 12:52PM UTC 166
97.82
GitHub Action Run
17 run-3.4-gemfiles/rack_3_2.gemfile - 35346970407.17 18 Sep 2026 12:52PM UTC 166
97.86
GitHub Action Run
18 run-4.0-gemfiles/dry_validation.gemfile - 35346970407.18 18 Sep 2026 12:52PM UTC 165
56.03
GitHub Action Run
19 run-4.0-gemfiles/rails_8_1.gemfile - 35346970407.19 18 Sep 2026 12:52PM UTC 167
97.84
GitHub Action Run
20 run-3.3-gemfiles/rails_8_0.gemfile - 35346970407.20 18 Sep 2026 12:52PM UTC 167
97.86
GitHub Action Run
21 run-4.0-gemfiles/rack_3_1.gemfile - 35346970407.21 18 Sep 2026 12:52PM UTC 166
97.84
GitHub Action Run
22 run-4.0-gemfiles/rack_2_2.gemfile - 35346970407.22 18 Sep 2026 12:53PM UTC 166
97.83
GitHub Action Run
23 run-3.4-gemfiles/rack_2_2.gemfile - 35346970407.23 18 Sep 2026 12:52PM UTC 166
97.83
GitHub Action Run
24 run-3.3-gemfiles/rails_7_2.gemfile - 35346970407.24 18 Sep 2026 12:52PM UTC 167
97.86
GitHub Action Run
25 run-4.0-gemfiles/multi_xml.gemfile - 35346970407.25 18 Sep 2026 12:52PM UTC 165
45.74
GitHub Action Run
26 run-3.4-gemfiles/rails_8_0.gemfile - 35346970407.26 18 Sep 2026 12:52PM UTC 167
97.84
GitHub Action Run
27 run-4.0-gemfiles/rack_3_0.gemfile - 35346970407.27 18 Sep 2026 12:52PM UTC 166
97.84
GitHub Action Run
28 run-3.3-gemfiles/rack_3_1.gemfile - 35346970407.28 18 Sep 2026 12:53PM UTC 166
97.88
GitHub Action Run
29 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35346970407.29 18 Sep 2026 12:52PM UTC 165
45.77
GitHub Action Run
30 run-4.0-gemfiles/multi_json_1_20.gemfile - 35346970407.30 18 Sep 2026 12:52PM UTC 165
46.05
GitHub Action Run
31 run-3.3-gemfiles/rails_8_1.gemfile - 35346970407.31 18 Sep 2026 12:52PM UTC 167
97.88
GitHub Action Run
32 run-3.3-Gemfile - 35346970407.32 18 Sep 2026 12:58PM UTC 166
97.88
GitHub Action Run
Source Files on build 35346970407
  • 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 #35346970407
  • Pull Request #2953
  • PR Base - master (#35336214906)
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