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

ruby-grape / grape / 32582889873
97%

Build:
DEFAULT BRANCH: master
Ran 22 Aug 2026 03:50PM UTC
Jobs 32
Files 168
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

22 Aug 2026 03:50PM UTC coverage: 96.995% (+0.002%) from 96.993%
32582889873

push

github

web-flow
Render a redirect message as the plain text it claims to be (#2845)

#redirect announces its message as text/plain and has done since it was
introduced in 2015 ("Redirect as plain text with optional message override"),
but it only set the header. The body was still handed to the API's own
formatter, so on a JSON API the sentence came back JSON-encoded:

    format :json
    get('/r') { redirect '/there' }

    Content-Type: text/plain
    "This resource has been moved temporarily to /there."

quotes included -- neither valid plain text nor something a client reading the
content type would expect. The existing specs missed it because they run on
the default :txt format, where the formatter is a no-op.

Set api.format alongside the header, the same lever an endpoint already has
via #api_format, so the message is rendered by the txt formatter whatever the
API declares. It is per-request env, so other routes on the same API are
untouched.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

1225 of 1314 branches covered (93.23%)

Branch coverage included in aggregate %.

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

3843 of 3911 relevant lines covered (98.26%)

27211.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_entity.gemfile - 32582889873.1 22 Aug 2026 03:50PM UTC 167
50.24
GitHub Action Run
2 run-3.4-gemfiles/rails_8_1.gemfile - 32582889873.2 22 Aug 2026 03:50PM UTC 168
95.73
GitHub Action Run
3 run-4.0-gemfiles/rack_3_1.gemfile - 32582889873.3 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
4 run-4.0-gemfiles/multi_xml_0_8.gemfile - 32582889873.4 22 Aug 2026 03:50PM UTC 167
47.06
GitHub Action Run
5 run-4.0-gemfiles/rails_7_2.gemfile - 32582889873.5 22 Aug 2026 03:50PM UTC 168
95.73
GitHub Action Run
6 run-3.4-gemfiles/rack_3_2.gemfile - 32582889873.6 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
7 run-3.3-gemfiles/rails_8_1.gemfile - 32582889873.7 22 Aug 2026 03:50PM UTC 168
95.73
GitHub Action Run
8 run-3.4-gemfiles/rack_3_0.gemfile - 32582889873.8 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
9 run-3.3-Gemfile - 32582889873.9 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
10 run-4.0-Gemfile - 32582889873.10 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
11 run-3.3-gemfiles/rack_3_0.gemfile - 32582889873.11 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
12 run-4.0-gemfiles/hashie.gemfile - 32582889873.12 22 Aug 2026 03:50PM UTC 167
62.1
GitHub Action Run
13 run-3.3-gemfiles/rack_3_2.gemfile - 32582889873.13 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
14 run-4.0-gemfiles/multi_json.gemfile - 32582889873.14 22 Aug 2026 03:50PM UTC 167
47.6
GitHub Action Run
15 run-3.4-gemfiles/rack_2_2.gemfile - 32582889873.15 22 Aug 2026 03:50PM UTC 167
95.69
GitHub Action Run
16 run-4.0-gemfiles/rack_3_2.gemfile - 32582889873.16 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
17 run-4.0-gemfiles/grape_swagger.gemfile - 32582889873.17 22 Aug 2026 03:50PM UTC 167
55.39
GitHub Action Run
18 run-3.3-gemfiles/rack_2_2.gemfile - 32582889873.18 22 Aug 2026 03:50PM UTC 167
95.69
GitHub Action Run
19 run-3.4-Gemfile - 32582889873.19 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
20 run-3.4-gemfiles/rack_3_1.gemfile - 32582889873.20 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
21 run-4.0-gemfiles/multi_json_1_20.gemfile - 32582889873.21 22 Aug 2026 03:50PM UTC 167
47.63
GitHub Action Run
22 run-4.0-gemfiles/rails_8_0.gemfile - 32582889873.22 22 Aug 2026 03:50PM UTC 168
95.73
GitHub Action Run
23 run-4.0-gemfiles/rack_2_2.gemfile - 32582889873.23 22 Aug 2026 03:50PM UTC 167
95.69
GitHub Action Run
24 run-3.4-gemfiles/rails_7_2.gemfile - 32582889873.24 22 Aug 2026 03:50PM UTC 168
95.73
GitHub Action Run
25 run-4.0-gemfiles/dry_validation.gemfile - 32582889873.25 22 Aug 2026 03:50PM UTC 167
58.08
GitHub Action Run
26 run-4.0-gemfiles/rack_3_0.gemfile - 32582889873.26 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
27 run-3.3-gemfiles/rails_7_2.gemfile - 32582889873.27 22 Aug 2026 03:50PM UTC 168
95.73
GitHub Action Run
28 run-4.0-gemfiles/rails_8_1.gemfile - 32582889873.28 22 Aug 2026 03:50PM UTC 168
95.73
GitHub Action Run
29 run-3.3-gemfiles/rack_3_1.gemfile - 32582889873.29 22 Aug 2026 03:50PM UTC 167
95.73
GitHub Action Run
30 run-3.3-gemfiles/rails_8_0.gemfile - 32582889873.30 22 Aug 2026 03:50PM UTC 168
95.73
GitHub Action Run
31 run-3.4-gemfiles/rails_8_0.gemfile - 32582889873.31 22 Aug 2026 03:50PM UTC 168
95.73
GitHub Action Run
32 run-4.0-gemfiles/multi_xml.gemfile - 32582889873.32 22 Aug 2026 03:50PM UTC 167
47.02
GitHub Action Run
Source Files on build 32582889873
  • Tree
  • List 168
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32582889873
  • ff1a236a on github
  • Prev Build on master (#32581434646)
  • Next Build on master (#32583377655)
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