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

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

Build:
Build:
LAST BUILD BRANCH: perf/build-headers-each-header
DEFAULT BRANCH: master
Ran 14 Jun 2026 10:44AM 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

14 Jun 2026 10:44AM UTC coverage: 96.462% (-0.2%) from 96.616%
27496348267

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; the stdlib fallback is 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`.

Also give the legacy multi_json (< 1.21) branch the same facade treatment
mapping dump/parse onto the dump/load it exposes — it has no generate/parse,
so `Grape::Json.parse` would otherwise raise NoMethodError there.

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 %.

9 of 16 new or added lines in 1 file covered. (56.25%)

3568 of 3641 relevant lines covered (98.0%)

23041.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
65.22
-34.78% lib/grape/json.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_3_1.gemfile - 27496348267.1 14 Jun 2026 10:45AM UTC 166
95.16
GitHub Action Run
2 run-3.4-gemfiles/rails_8_0.gemfile - 27496348267.2 14 Jun 2026 10:44AM UTC 167
95.16
GitHub Action Run
3 run-4.0-gemfiles/grape_entity.gemfile - 27496348267.3 14 Jun 2026 10:44AM UTC 166
50.27
GitHub Action Run
4 run-4.0-gemfiles/grape_swagger.gemfile - 27496348267.4 14 Jun 2026 10:44AM UTC 166
55.21
GitHub Action Run
5 run-3.3-gemfiles/rails_8_0.gemfile - 27496348267.5 14 Jun 2026 10:44AM UTC 167
95.16
GitHub Action Run
6 run-4.0-gemfiles/rails_7_2.gemfile - 27496348267.6 14 Jun 2026 10:44AM UTC 167
95.16
GitHub Action Run
7 run-4.0-gemfiles/rack_3_2.gemfile - 27496348267.7 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
8 run-3.4-gemfiles/rack_3_2.gemfile - 27496348267.8 14 Jun 2026 10:45AM UTC 166
95.16
GitHub Action Run
9 run-3.4-Gemfile - 27496348267.9 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
10 run-3.3-gemfiles/rails_8_1.gemfile - 27496348267.10 14 Jun 2026 10:44AM UTC 167
95.16
GitHub Action Run
11 run-4.0-gemfiles/rails_8_0.gemfile - 27496348267.11 14 Jun 2026 10:45AM UTC 167
95.16
GitHub Action Run
12 run-3.4-gemfiles/rack_3_1.gemfile - 27496348267.12 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
13 run-4.0-gemfiles/rack_3_0.gemfile - 27496348267.13 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
14 run-3.3-gemfiles/rack_2_2.gemfile - 27496348267.14 14 Jun 2026 10:44AM UTC 166
95.12
GitHub Action Run
15 run-3.3-gemfiles/rails_7_2.gemfile - 27496348267.15 14 Jun 2026 10:44AM UTC 167
95.16
GitHub Action Run
16 run-3.4-gemfiles/rack_3_0.gemfile - 27496348267.16 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
17 run-4.0-Gemfile - 27496348267.17 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
18 run-4.0-gemfiles/dry_validation.gemfile - 27496348267.18 14 Jun 2026 10:44AM UTC 166
58.26
GitHub Action Run
19 run-4.0-gemfiles/multi_json.gemfile - 27496348267.19 14 Jun 2026 10:44AM UTC 166
47.57
GitHub Action Run
20 run-3.4-gemfiles/rack_2_2.gemfile - 27496348267.20 14 Jun 2026 10:44AM UTC 166
95.12
GitHub Action Run
21 run-3.3-gemfiles/rack_3_2.gemfile - 27496348267.21 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
22 run-3.3-gemfiles/rack_3_0.gemfile - 27496348267.22 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 27496348267.23 14 Jun 2026 10:45AM UTC 167
95.16
GitHub Action Run
24 run-3.4-gemfiles/rails_7_2.gemfile - 27496348267.24 14 Jun 2026 10:44AM UTC 167
95.16
GitHub Action Run
25 run-3.4-gemfiles/rails_8_1.gemfile - 27496348267.25 14 Jun 2026 10:44AM UTC 167
95.16
GitHub Action Run
26 run-3.3-Gemfile - 27496348267.26 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
27 run-4.0-gemfiles/hashie.gemfile - 27496348267.27 14 Jun 2026 10:44AM UTC 166
62.34
GitHub Action Run
28 run-3.3-gemfiles/rack_3_1.gemfile - 27496348267.28 14 Jun 2026 10:44AM UTC 166
95.16
GitHub Action Run
29 run-4.0-gemfiles/rack_2_2.gemfile - 27496348267.29 14 Jun 2026 10:45AM UTC 166
95.12
GitHub Action Run
30 run-4.0-gemfiles/multi_xml.gemfile - 27496348267.30 14 Jun 2026 10:44AM UTC 166
37.05
GitHub Action Run
Source Files on build 27496348267
  • Tree
  • List 167
  • Changed 36
  • Source Changed 1
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27496348267
  • 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