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

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

Build:
Build:
LAST BUILD BRANCH: perf/build-headers-each-header
DEFAULT BRANCH: master
Ran 13 Jun 2026 09:50PM UTC
Jobs 30
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

13 Jun 2026 09:50PM UTC coverage: 96.582% (-0.03%) from 96.616%
27480155161

Pull #2764

github

ericproulx
Route Grape::Json through the non-deprecated MultiJSON API

multi_json 1.21.0 deprecated the `MultiJson` constant (in favor of
`MultiJSON`) and `MultiJSON.dump` (in favor of `generate`), removed in
2.0. Grape detected the backend via `::MultiJson` and called `dump`, so
users on multi_json >= 1.21 saw deprecation warnings (#2763).

Detect `::MultiJSON` and give `Grape::Json` a small facade whose `dump`
delegates to `MultiJSON.generate` (byte-identical output), re-exposing
`parse` since the facade no longer inherits MultiJSON's methods. Behavior
is unchanged on every path; the stdlib and legacy multi_json fallbacks
are untouched.

Following #2762 (Grape standardizes on `parse`, never `load`, for JSON),
the two remaining `Grape::Json.load` spec helpers move to `parse`, so
`Grape::Json.load` no longer appears anywhere and the facade needs no
`load`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Pull Request #2764: Route Grape::Json through the non-deprecated MultiJSON API

1122 of 1221 branches covered (91.89%)

Branch coverage included in aggregate %.

11 of 12 new or added lines in 1 file covered. (91.67%)

1 existing line in 1 file now uncovered.

3568 of 3635 relevant lines covered (98.16%)

23078.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
88.24
-11.76% lib/grape/json.rb

Coverage Regressions

Lines Coverage ∆ File
1
88.24
-11.76% lib/grape/json.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_3_0.gemfile - 27480155161.1 13 Jun 2026 09:50PM UTC 166
95.28
GitHub Action Run
2 run-3.3-gemfiles/rack_3_1.gemfile - 27480155161.2 13 Jun 2026 09:51PM UTC 166
95.28
GitHub Action Run
3 run-3.3-gemfiles/rails_8_0.gemfile - 27480155161.3 13 Jun 2026 09:51PM UTC 167
95.28
GitHub Action Run
4 run-3.4-gemfiles/rack_2_2.gemfile - 27480155161.4 13 Jun 2026 09:50PM UTC 166
95.24
GitHub Action Run
5 run-3.4-gemfiles/rack_3_2.gemfile - 27480155161.5 13 Jun 2026 09:51PM UTC 166
95.28
GitHub Action Run
6 run-4.0-gemfiles/rack_3_2.gemfile - 27480155161.6 13 Jun 2026 09:50PM UTC 166
95.28
GitHub Action Run
7 run-3.4-gemfiles/rails_8_1.gemfile - 27480155161.7 13 Jun 2026 09:51PM UTC 167
95.28
GitHub Action Run
8 run-4.0-gemfiles/hashie.gemfile - 27480155161.8 13 Jun 2026 09:51PM UTC 166
62.41
GitHub Action Run
9 run-4.0-gemfiles/rack_2_2.gemfile - 27480155161.9 13 Jun 2026 09:51PM UTC 166
95.24
GitHub Action Run
10 run-3.3-gemfiles/rack_2_2.gemfile - 27480155161.10 13 Jun 2026 09:51PM UTC 166
95.24
GitHub Action Run
11 run-4.0-gemfiles/rack_3_1.gemfile - 27480155161.11 13 Jun 2026 09:51PM UTC 166
95.28
GitHub Action Run
12 run-4.0-gemfiles/rack_3_0.gemfile - 27480155161.12 13 Jun 2026 09:51PM UTC 166
95.28
GitHub Action Run
13 run-3.3-gemfiles/rack_3_0.gemfile - 27480155161.13 13 Jun 2026 09:51PM UTC 166
95.28
GitHub Action Run
14 run-3.4-gemfiles/rails_7_2.gemfile - 27480155161.14 13 Jun 2026 09:51PM UTC 167
95.28
GitHub Action Run
15 run-4.0-gemfiles/grape_swagger.gemfile - 27480155161.15 13 Jun 2026 09:50PM UTC 166
55.28
GitHub Action Run
16 run-3.4-gemfiles/rack_3_1.gemfile - 27480155161.16 13 Jun 2026 09:51PM UTC 166
95.28
GitHub Action Run
17 run-3.3-Gemfile - 27480155161.17 13 Jun 2026 09:51PM UTC 166
95.28
GitHub Action Run
18 run-3.3-gemfiles/rails_8_1.gemfile - 27480155161.18 13 Jun 2026 09:51PM UTC 167
95.28
GitHub Action Run
19 run-4.0-gemfiles/grape_entity.gemfile - 27480155161.19 13 Jun 2026 09:51PM UTC 166
50.33
GitHub Action Run
20 run-3.3-gemfiles/rack_3_2.gemfile - 27480155161.20 13 Jun 2026 09:51PM UTC 166
95.28
GitHub Action Run
21 run-4.0-Gemfile - 27480155161.21 13 Jun 2026 09:51PM UTC 166
95.28
GitHub Action Run
22 run-4.0-gemfiles/rails_8_0.gemfile - 27480155161.22 13 Jun 2026 09:51PM UTC 167
95.28
GitHub Action Run
23 run-4.0-gemfiles/multi_json.gemfile - 27480155161.23 13 Jun 2026 09:51PM UTC 166
37.18
GitHub Action Run
24 run-4.0-gemfiles/multi_xml.gemfile - 27480155161.24 13 Jun 2026 09:51PM UTC 166
37.09
GitHub Action Run
25 run-3.4-gemfiles/rails_8_0.gemfile - 27480155161.25 13 Jun 2026 09:51PM UTC 167
95.28
GitHub Action Run
26 run-4.0-gemfiles/rails_7_2.gemfile - 27480155161.26 13 Jun 2026 09:51PM UTC 167
95.28
GitHub Action Run
27 run-3.4-Gemfile - 27480155161.27 13 Jun 2026 09:50PM UTC 166
95.28
GitHub Action Run
28 run-3.3-gemfiles/rails_7_2.gemfile - 27480155161.28 13 Jun 2026 09:51PM UTC 167
95.28
GitHub Action Run
29 run-4.0-gemfiles/rails_8_1.gemfile - 27480155161.29 13 Jun 2026 09:51PM UTC 167
95.28
GitHub Action Run
30 run-4.0-gemfiles/dry_validation.gemfile - 27480155161.30 13 Jun 2026 09:51PM UTC 166
58.33
GitHub Action Run
Source Files on build 27480155161
  • Tree
  • List 167
  • 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 #27480155161
  • Pull Request #2764
  • 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