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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 14 May 2026 04:49PM UTC
Jobs 37
Files 159
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 May 2026 04:49PM UTC coverage: 97.046% (-0.006%) from 97.052%
25872961403

Pull #2717

github

ericproulx
Convert Grape::Exceptions::ErrorResponse to a Data value object

ErrorResponse was already structured as a value object — five readers,
kwarg-only constructor, hand-written `==`/`eql?`/`hash` — so swapping
the hand-rolled class for `Data.define` is a near-zero-risk
simplification. Twelve lines of boilerplate (the ivar-setting
constructor and the equality/hash trio) collapse into the Data
declaration itself, while the two class-level factories
(`from_exception` and `coerce`) and the custom `to_s` move into the
Data block unchanged.

Defaults stay on `#initialize` for the `Hash`-coerced branch in
`.coerce` (which slices a partial input) and for callers like
`Middleware::Error#default_rescue_handler` that build instances
without supplying `status`/`headers`.

No production behaviour change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2717: Convert Grape::Exceptions::ErrorResponse to a Data value object

1073 of 1155 branches covered (92.9%)

Branch coverage included in aggregate %.

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

3460 of 3516 relevant lines covered (98.41%)

32086.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-Gemfile - 25872961403.1 14 May 2026 04:49PM UTC 158
95.73
GitHub Action Run
2 run-3.3-gemfiles/rack_3_1.gemfile - 25872961403.2 14 May 2026 04:49PM UTC 158
95.73
GitHub Action Run
3 run-3.4-gemfiles/rack_3_1.gemfile - 25872961403.3 14 May 2026 04:50PM UTC 158
95.75
GitHub Action Run
4 run-4.0-gemfiles/rails_8_1.gemfile - 25872961403.4 14 May 2026 04:50PM UTC 159
95.75
GitHub Action Run
5 run-3.3-gemfiles/rails_8_0.gemfile - 25872961403.5 14 May 2026 04:49PM UTC 159
95.73
GitHub Action Run
6 run-3.4-gemfiles/rack_2_2.gemfile - 25872961403.6 14 May 2026 04:50PM UTC 158
95.71
GitHub Action Run
7 run-3.4-Gemfile - 25872961403.7 14 May 2026 04:49PM UTC 158
95.75
GitHub Action Run
8 run-4.0-gemfiles/rails_8_0.gemfile - 25872961403.8 14 May 2026 04:51PM UTC 159
95.75
GitHub Action Run
9 run-4.0-gemfiles/rack_3_1.gemfile - 25872961403.9 14 May 2026 04:50PM UTC 158
95.75
GitHub Action Run
10 run-4.0-gemfiles/dry_validation.gemfile - 25872961403.10 14 May 2026 04:50PM UTC 158
58.35
GitHub Action Run
11 run-3.2-gemfiles/rack_3_2.gemfile - 25872961403.11 14 May 2026 04:49PM UTC 158
95.77
GitHub Action Run
12 run-3.3-gemfiles/rails_7_2.gemfile - 25872961403.12 14 May 2026 04:50PM UTC 159
95.73
GitHub Action Run
13 run-3.4-gemfiles/rack_3_0.gemfile - 25872961403.13 14 May 2026 04:51PM UTC 158
95.75
GitHub Action Run
14 run-3.3-gemfiles/rack_2_2.gemfile - 25872961403.14 14 May 2026 04:49PM UTC 158
95.69
GitHub Action Run
15 run-3.2-gemfiles/rails_8_0.gemfile - 25872961403.15 14 May 2026 04:50PM UTC 159
95.78
GitHub Action Run
16 run-3.4-gemfiles/rails_7_2.gemfile - 25872961403.16 14 May 2026 04:50PM UTC 159
95.75
GitHub Action Run
17 run-4.0-gemfiles/multi_json.gemfile - 25872961403.17 14 May 2026 04:51PM UTC 158
36.44
GitHub Action Run
18 run-4.0-gemfiles/rack_3_2.gemfile - 25872961403.18 14 May 2026 04:51PM UTC 158
95.75
GitHub Action Run
19 run-4.0-gemfiles/rails_7_2.gemfile - 25872961403.19 14 May 2026 04:51PM UTC 159
95.75
GitHub Action Run
20 run-3.3-gemfiles/rack_3_0.gemfile - 25872961403.20 14 May 2026 04:51PM UTC 158
95.73
GitHub Action Run
21 run-4.0-Gemfile - 25872961403.21 14 May 2026 04:51PM UTC 158
95.75
GitHub Action Run
22 run-3.4-gemfiles/rails_8_1.gemfile - 25872961403.22 14 May 2026 04:51PM UTC 159
95.75
GitHub Action Run
23 run-3.3-gemfiles/rails_8_1.gemfile - 25872961403.23 14 May 2026 04:51PM UTC 159
95.73
GitHub Action Run
24 run-3.3-gemfiles/rack_3_2.gemfile - 25872961403.24 14 May 2026 04:51PM UTC 158
95.73
GitHub Action Run
25 run-4.0-gemfiles/rack_2_2.gemfile - 25872961403.25 14 May 2026 04:51PM UTC 158
95.71
GitHub Action Run
26 run-3.4-gemfiles/rails_8_0.gemfile - 25872961403.26 14 May 2026 04:51PM UTC 159
95.75
GitHub Action Run
27 run-4.0-gemfiles/hashie.gemfile - 25872961403.27 14 May 2026 04:49PM UTC 158
62.75
GitHub Action Run
28 run-3.4-gemfiles/rack_3_2.gemfile - 25872961403.28 14 May 2026 04:51PM UTC 158
95.75
GitHub Action Run
29 run-4.0-gemfiles/rack_3_0.gemfile - 25872961403.29 14 May 2026 04:50PM UTC 158
95.75
GitHub Action Run
30 run-4.0-gemfiles/multi_xml.gemfile - 25872961403.30 14 May 2026 04:51PM UTC 158
36.44
GitHub Action Run
31 run-3.2-gemfiles/rails_7_2.gemfile - 25872961403.31 14 May 2026 04:49PM UTC 159
95.78
GitHub Action Run
32 run-4.0-gemfiles/grape_entity.gemfile - 25872961403.32 14 May 2026 04:51PM UTC 158
50.26
GitHub Action Run
33 run-3.2-gemfiles/rack_3_0.gemfile - 25872961403.33 14 May 2026 04:49PM UTC 158
95.77
GitHub Action Run
34 run-3.2-gemfiles/rack_2_2.gemfile - 25872961403.34 14 May 2026 04:51PM UTC 158
95.73
GitHub Action Run
35 run-3.2-gemfiles/rails_8_1.gemfile - 25872961403.35 14 May 2026 04:50PM UTC 159
95.78
GitHub Action Run
36 run-3.2-gemfiles/rack_3_1.gemfile - 25872961403.36 14 May 2026 04:51PM UTC 158
95.77
GitHub Action Run
37 run-3.2-Gemfile - 25872961403.37 14 May 2026 04:50PM UTC 158
95.77
GitHub Action Run
Source Files on build 25872961403
  • Tree
  • List 159
  • 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 #25872961403
  • Pull Request #2717
  • PR Base - master (#25872754667)
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