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

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

Build:
Build:
LAST BUILD BRANCH: fix/version-positional-options
DEFAULT BRANCH: master
Ran 06 Nov 2026 05:51PM UTC
Jobs 13
Files 177
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

06 Nov 2026 05:51PM UTC coverage: 99.032% (-1.0%) from 100.0%
42265450761

Pull #3058

github

ericproulx
Add rexml as a dependency

Without multi_xml, Grape parses XML request bodies with
ActiveSupport::XmlMini, whose default backend requires rexml/document.
rexml has been a bundled gem rather than a default one since Ruby 3.0,
so under Bundler it loads only when something in the bundle depends on
it, and nothing Grape depends on does. In an app whose bundle holds
just Grape, an XML body raised

    LoadError: cannot load such file -- rexml/document

which is not a StandardError, so even rescue_from :all let it through
to the server. Grape's own XML specs passed only because Danger's
kramdown dependency happened to bring rexml into the test bundle.

The floor is 3.4.2, the first release with every advisory in
ruby-advisory-db patched; the latest, CVE-2025-58767, is a DoS on
malformed XML, which is what an API parses from untrusted clients.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #3058: Add rexml as a dependency

1511 of 1529 branches covered (98.82%)

Branch coverage included in aggregate %.

4526 of 4567 relevant lines covered (99.1%)

12866.19 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
30.43
-69.57% lib/grape/json.rb
11
42.31
-57.69% lib/grape/validations/validators/contract_scope_validator.rb
8
25.0
-75.0% lib/grape/validations/contract_scope.rb
4
85.29
-14.71% lib/grape/dsl/entity.rb
2
95.0
-5.0% lib/grape/error_formatter/base.rb
1
81.82
-18.18% lib/grape/xml.rb
1
99.69
-0.31% lib/grape/util/inheritable_setting.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_swagger.gemfile - 42265450761.1 06 Nov 2026 05:52PM UTC 175
53.46
GitHub Action Run
2 run-4.0-gemfiles/hashie.gemfile - 42265450761.2 06 Nov 2026 05:52PM UTC 175
60.09
GitHub Action Run
3 run-4.0-gemfiles/rails_8_0.gemfile - 42265450761.3 06 Nov 2026 05:52PM UTC 177
98.87
GitHub Action Run
4 run-4.0-gemfiles/rails_7_2.gemfile - 42265450761.4 06 Nov 2026 05:52PM UTC 177
98.87
GitHub Action Run
5 run-3.4-Gemfile - 42265450761.5 06 Nov 2026 05:52PM UTC 176
98.87
GitHub Action Run
6 run-3.4-gemfiles/rack_2_2.gemfile - 42265450761.6 06 Nov 2026 05:52PM UTC 176
98.83
GitHub Action Run
7 run-4.0-gemfiles/multi_xml.gemfile - 42265450761.7 06 Nov 2026 05:51PM UTC 175
46.21
GitHub Action Run
8 run-3.3-gemfiles/rails_7_2.gemfile - 42265450761.8 06 Nov 2026 05:51PM UTC 177
98.88
GitHub Action Run
9 run-4.0-Gemfile - 42265450761.9 06 Nov 2026 05:52PM UTC 176
98.87
GitHub Action Run
10 run-3.4-gemfiles/rack_3_1.gemfile - 42265450761.10 06 Nov 2026 05:51PM UTC 176
98.87
GitHub Action Run
11 run-4.0-gemfiles/rack_3_2.gemfile - 42265450761.11 06 Nov 2026 05:52PM UTC 176
98.87
GitHub Action Run
12 run-4.0-gemfiles/rack_2_2.gemfile - 42265450761.12 06 Nov 2026 05:52PM UTC 176
98.83
GitHub Action Run
13 run-3.3-gemfiles/rails_8_0.gemfile - 42265450761.13 06 Nov 2026 05:52PM UTC 177
98.88
GitHub Action Run
Source Files on build 42265450761
  • Tree
  • List 177
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42265450761
  • Pull Request #3058
  • PR Base - master (#42261930712)
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