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

ruby-grape / grape / 38951665813
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix/values-proc-arity
DEFAULT BRANCH: master
Ran 16 Oct 2026 07:00PM UTC
Jobs 32
Files 169
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

16 Oct 2026 06:56PM UTC coverage: 99.966%. Remained the same
38951665813

Pull #3025

github

ericproulx
Add :md and :markdown formatters that render an object's to_markdown

Rails 8.1 registers text/markdown as Mime[:md] and adds
`render markdown: obj`, which calls obj.to_markdown. Grape::Formatter::Md
is the same contract for Grape: an object answering to_markdown is
rendered with it and a String is returned as is. Anything else raises
Grape::Exceptions::InvalidFormatter, so a client that negotiated :md for a
Hash body gets the default format instead of its #to_s.

.md and .markdown are both common Markdown extensions, and Grape takes
the format from the extension as it is, so Grape::Formatter::Markdown
registers the same rendering under :markdown. An API that declares both
content types answers either extension the same way.

Neither is a default content type; an API opts in with
`content_type :md, 'text/markdown; charset=utf-8'` and
`content_type :markdown, 'text/markdown; charset=utf-8'`. Errors keep
the text error formatter, and a text/markdown request body passes
through unparsed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #3025: Add :md and :markdown formatters that render an object's to_markdown

1516 of 1517 branches covered (99.93%)

Branch coverage included in aggregate %.

22 of 22 new or added lines in 4 files covered. (100.0%)

1 existing line in 1 file now uncovered.

4418 of 4419 relevant lines covered (99.98%)

29676.16 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
99.68
-0.02% lib/grape/validations/params_scope.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_entity.gemfile - 38951665813.1 16 Oct 2026 07:00PM UTC 167
48.78
GitHub Action Run
2 run-4.0-gemfiles/dry_validation.gemfile - 38951665813.2 16 Oct 2026 07:01PM UTC 167
55.76
GitHub Action Run
3 run-4.0-gemfiles/multi_json_1_20.gemfile - 38951665813.3 16 Oct 2026 07:01PM UTC 167
45.92
GitHub Action Run
4 run-4.0-gemfiles/rails_8_0.gemfile - 38951665813.4 16 Oct 2026 07:00PM UTC 169
98.8
GitHub Action Run
5 run-4.0-gemfiles/rails_8_1.gemfile - 38951665813.5 16 Oct 2026 07:01PM UTC 169
98.8
GitHub Action Run
6 run-3.4-gemfiles/rails_8_0.gemfile - 38951665813.6 16 Oct 2026 07:00PM UTC 169
98.8
GitHub Action Run
7 run-4.0-Gemfile - 38951665813.7 16 Oct 2026 07:01PM UTC 168
98.8
GitHub Action Run
8 run-3.3-Gemfile - 38951665813.8 16 Oct 2026 07:00PM UTC 168
98.82
GitHub Action Run
9 run-3.4-gemfiles/rack_2_2.gemfile - 38951665813.9 16 Oct 2026 07:00PM UTC 168
98.77
GitHub Action Run
10 run-3.3-gemfiles/rack_3_1.gemfile - 38951665813.10 16 Oct 2026 07:01PM UTC 168
98.82
GitHub Action Run
11 run-3.3-gemfiles/rails_8_1.gemfile - 38951665813.11 16 Oct 2026 07:00PM UTC 169
98.82
GitHub Action Run
12 run-4.0-gemfiles/multi_xml.gemfile - 38951665813.12 16 Oct 2026 07:01PM UTC 167
45.58
GitHub Action Run
13 run-4.0-gemfiles/multi_json.gemfile - 38951665813.13 16 Oct 2026 07:00PM UTC 167
45.88
GitHub Action Run
14 run-3.4-gemfiles/rack_3_0.gemfile - 38951665813.14 16 Oct 2026 07:00PM UTC 168
98.8
GitHub Action Run
15 run-3.3-gemfiles/rack_3_2.gemfile - 38951665813.15 16 Oct 2026 07:00PM UTC 168
98.82
GitHub Action Run
16 run-3.4-gemfiles/rack_3_2.gemfile - 38951665813.16 16 Oct 2026 07:00PM UTC 168
98.8
GitHub Action Run
17 run-3.3-gemfiles/rack_2_2.gemfile - 38951665813.17 16 Oct 2026 07:00PM UTC 168
98.79
GitHub Action Run
18 run-3.4-Gemfile - 38951665813.18 16 Oct 2026 07:00PM UTC 168
98.8
GitHub Action Run
19 run-3.4-gemfiles/rack_3_1.gemfile - 38951665813.19 16 Oct 2026 07:01PM UTC 168
98.8
GitHub Action Run
20 run-4.0-gemfiles/rack_3_1.gemfile - 38951665813.20 16 Oct 2026 07:01PM UTC 168
98.8
GitHub Action Run
21 run-4.0-gemfiles/multi_xml_0_8.gemfile - 38951665813.21 16 Oct 2026 07:01PM UTC 167
45.61
GitHub Action Run
22 run-4.0-gemfiles/grape_swagger.gemfile - 38951665813.22 16 Oct 2026 07:00PM UTC 167
53.1
GitHub Action Run
23 run-4.0-gemfiles/rack_2_2.gemfile - 38951665813.23 16 Oct 2026 07:00PM UTC 168
98.77
GitHub Action Run
24 run-4.0-gemfiles/rails_7_2.gemfile - 38951665813.24 16 Oct 2026 07:00PM UTC 169
98.8
GitHub Action Run
25 run-3.3-gemfiles/rack_3_0.gemfile - 38951665813.25 16 Oct 2026 07:00PM UTC 168
98.82
GitHub Action Run
26 run-4.0-gemfiles/rack_3_0.gemfile - 38951665813.26 16 Oct 2026 07:01PM UTC 168
98.8
GitHub Action Run
27 run-3.3-gemfiles/rails_8_0.gemfile - 38951665813.27 16 Oct 2026 07:01PM UTC 169
98.82
GitHub Action Run
28 run-4.0-gemfiles/hashie.gemfile - 38951665813.28 16 Oct 2026 07:00PM UTC 167
59.79
GitHub Action Run
29 run-4.0-gemfiles/rack_3_2.gemfile - 38951665813.29 16 Oct 2026 07:01PM UTC 168
98.8
GitHub Action Run
30 run-3.4-gemfiles/rails_8_1.gemfile - 38951665813.30 16 Oct 2026 07:00PM UTC 169
98.8
GitHub Action Run
31 run-3.3-gemfiles/rails_7_2.gemfile - 38951665813.31 16 Oct 2026 07:00PM UTC 169
98.82
GitHub Action Run
32 run-3.4-gemfiles/rails_7_2.gemfile - 38951665813.32 16 Oct 2026 07:00PM UTC 169
98.8
GitHub Action Run
Source Files on build 38951665813
  • Tree
  • List 169
  • Changed 13
  • Source Changed 13
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38951665813
  • Pull Request #3025
  • PR Base - master (#38951491706)
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