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

ruby-grape / grape / 27497008510
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: perf/build-headers-each-header
DEFAULT BRANCH: master
Ran 14 Jun 2026 11:13AM UTC
Jobs 31
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

14 Jun 2026 11:12AM UTC coverage: 96.619% (+0.003%) from 96.616%
27497008510

Pull #2765

github

ericproulx
Detect the MultiXML constant to avoid the multi_xml deprecation

multi_xml 0.9.0 deprecated the `MultiXml` constant in favor of `MultiXML`
(removed in v1.0); the legacy constant warns on access/use. Grape detected
the backend via `::MultiXml` and called `Grape::Xml.parse`, so users on
multi_xml >= 0.9 would hit the deprecation.

Detect `::MultiXML` first, falling back to the legacy `::MultiXml` constant
and then `ActiveSupport::XmlMini`. Unlike multi_json, no facade is needed:
`parse` is canonical (not renamed) and Grape only calls `parse`, so a direct
alias suffices on every backend.

Cover both multi_xml lines in CI: pin gemfiles/multi_xml.gemfile to >= 0.9
and add gemfiles/multi_xml_0_8.gemfile (< 0.9), each running the
spec/integration/multi_xml suite. The integration spec now drives a real
Grape API that parses an XML request body through Grape::Xml.parse.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #2765: Detect the MultiXML constant to avoid the multi_xml deprecation

1123 of 1221 branches covered (91.97%)

Branch coverage included in aggregate %.

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

3563 of 3629 relevant lines covered (98.18%)

23118.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_3_0.gemfile - 27497008510.1 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
2 run-4.0-gemfiles/rack_3_0.gemfile - 27497008510.2 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
3 run-3.3-gemfiles/rack_3_2.gemfile - 27497008510.3 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
4 run-4.0-gemfiles/multi_xml_0_8.gemfile - 27497008510.4 14 Jun 2026 11:13AM UTC 166
47.17
GitHub Action Run
5 run-4.0-gemfiles/rack_3_2.gemfile - 27497008510.5 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
6 run-4.0-gemfiles/rack_2_2.gemfile - 27497008510.6 14 Jun 2026 11:13AM UTC 166
95.36
GitHub Action Run
7 run-3.4-Gemfile - 27497008510.7 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
8 run-4.0-gemfiles/rails_7_2.gemfile - 27497008510.8 14 Jun 2026 11:13AM UTC 167
95.4
GitHub Action Run
9 run-4.0-gemfiles/rails_8_1.gemfile - 27497008510.9 14 Jun 2026 11:13AM UTC 167
95.4
GitHub Action Run
10 run-3.4-gemfiles/rails_7_2.gemfile - 27497008510.10 14 Jun 2026 11:13AM UTC 167
95.4
GitHub Action Run
11 run-4.0-gemfiles/rails_8_0.gemfile - 27497008510.11 14 Jun 2026 11:13AM UTC 167
95.4
GitHub Action Run
12 run-4.0-gemfiles/grape_entity.gemfile - 27497008510.12 14 Jun 2026 11:13AM UTC 166
50.39
GitHub Action Run
13 run-3.4-gemfiles/rails_8_1.gemfile - 27497008510.13 14 Jun 2026 11:13AM UTC 167
95.4
GitHub Action Run
14 run-4.0-gemfiles/rack_3_1.gemfile - 27497008510.14 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
15 run-3.3-gemfiles/rails_8_1.gemfile - 27497008510.15 14 Jun 2026 11:13AM UTC 167
95.4
GitHub Action Run
16 run-3.3-gemfiles/rack_2_2.gemfile - 27497008510.16 14 Jun 2026 11:13AM UTC 166
95.35
GitHub Action Run
17 run-3.3-Gemfile - 27497008510.17 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
18 run-3.4-gemfiles/rack_2_2.gemfile - 27497008510.18 14 Jun 2026 11:13AM UTC 166
95.36
GitHub Action Run
19 run-4.0-Gemfile - 27497008510.19 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
20 run-3.3-gemfiles/rack_3_1.gemfile - 27497008510.20 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
21 run-4.0-gemfiles/grape_swagger.gemfile - 27497008510.21 14 Jun 2026 11:13AM UTC 166
55.35
GitHub Action Run
22 run-3.4-gemfiles/rack_3_2.gemfile - 27497008510.22 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
23 run-4.0-gemfiles/multi_xml.gemfile - 27497008510.23 14 Jun 2026 11:13AM UTC 166
47.13
GitHub Action Run
24 run-4.0-gemfiles/multi_json.gemfile - 27497008510.24 14 Jun 2026 11:13AM UTC 166
37.14
GitHub Action Run
25 run-3.4-gemfiles/rack_3_1.gemfile - 27497008510.25 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
26 run-4.0-gemfiles/dry_validation.gemfile - 27497008510.26 14 Jun 2026 11:13AM UTC 166
58.4
GitHub Action Run
27 run-3.3-gemfiles/rack_3_0.gemfile - 27497008510.27 14 Jun 2026 11:13AM UTC 166
95.4
GitHub Action Run
28 run-3.4-gemfiles/rails_8_0.gemfile - 27497008510.28 14 Jun 2026 11:13AM UTC 167
95.4
GitHub Action Run
29 run-3.3-gemfiles/rails_7_2.gemfile - 27497008510.29 14 Jun 2026 11:13AM UTC 167
95.4
GitHub Action Run
30 run-4.0-gemfiles/hashie.gemfile - 27497008510.30 14 Jun 2026 11:13AM UTC 166
62.49
GitHub Action Run
31 run-3.3-gemfiles/rails_8_0.gemfile - 27497008510.31 14 Jun 2026 11:13AM UTC 167
95.4
GitHub Action Run
Source Files on build 27497008510
  • Tree
  • List 167
  • Changed 149
  • Source Changed 1
  • Coverage Changed 149
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27497008510
  • Pull Request #2765
  • PR Base - master (#27449980546)
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