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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 14 May 2026 04:44PM 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:44PM UTC coverage: 97.041% (-0.007%) from 97.048%
25872722678

push

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>

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

3453 of 3509 relevant lines covered (98.4%)

32149.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_3_0.gemfile - 25872722678.1 14 May 2026 04:44PM UTC 158
95.72
GitHub Action Run
2 run-3.2-gemfiles/rails_8_0.gemfile - 25872722678.2 14 May 2026 04:44PM UTC 159
95.77
GitHub Action Run
3 run-3.4-gemfiles/rails_8_1.gemfile - 25872722678.3 14 May 2026 04:44PM UTC 159
95.75
GitHub Action Run
4 run-3.2-gemfiles/rails_8_1.gemfile - 25872722678.4 14 May 2026 04:44PM UTC 159
95.77
GitHub Action Run
5 run-3.3-gemfiles/rack_3_2.gemfile - 25872722678.5 14 May 2026 04:44PM UTC 158
95.72
GitHub Action Run
6 run-3.3-gemfiles/rack_3_1.gemfile - 25872722678.6 14 May 2026 04:45PM UTC 158
95.72
GitHub Action Run
7 run-3.3-gemfiles/rails_7_2.gemfile - 25872722678.7 14 May 2026 04:44PM UTC 159
95.73
GitHub Action Run
8 run-3.2-gemfiles/rack_3_2.gemfile - 25872722678.8 14 May 2026 04:44PM UTC 158
95.77
GitHub Action Run
9 run-4.0-gemfiles/rack_2_2.gemfile - 25872722678.9 14 May 2026 04:44PM UTC 158
95.7
GitHub Action Run
10 run-4.0-gemfiles/rails_8_1.gemfile - 25872722678.10 14 May 2026 04:45PM UTC 159
95.75
GitHub Action Run
11 run-3.4-gemfiles/rack_2_2.gemfile - 25872722678.11 14 May 2026 04:45PM UTC 158
95.7
GitHub Action Run
12 run-4.0-gemfiles/rack_3_2.gemfile - 25872722678.12 14 May 2026 04:44PM UTC 158
95.74
GitHub Action Run
13 run-3.2-gemfiles/rack_3_0.gemfile - 25872722678.13 14 May 2026 04:45PM UTC 158
95.77
GitHub Action Run
14 run-3.2-gemfiles/rack_3_1.gemfile - 25872722678.14 14 May 2026 04:45PM UTC 158
95.77
GitHub Action Run
15 run-4.0-Gemfile - 25872722678.15 14 May 2026 04:44PM UTC 158
95.74
GitHub Action Run
16 run-3.2-gemfiles/rails_7_2.gemfile - 25872722678.16 14 May 2026 04:45PM UTC 159
95.77
GitHub Action Run
17 run-4.0-gemfiles/dry_validation.gemfile - 25872722678.17 14 May 2026 04:44PM UTC 158
58.28
GitHub Action Run
18 run-4.0-gemfiles/rails_8_0.gemfile - 25872722678.18 14 May 2026 04:45PM UTC 159
95.75
GitHub Action Run
19 run-4.0-gemfiles/rails_7_2.gemfile - 25872722678.19 14 May 2026 04:45PM UTC 159
95.75
GitHub Action Run
20 run-3.4-gemfiles/rails_8_0.gemfile - 25872722678.20 14 May 2026 04:45PM UTC 159
95.75
GitHub Action Run
21 run-3.3-gemfiles/rails_8_0.gemfile - 25872722678.21 14 May 2026 04:44PM UTC 159
95.73
GitHub Action Run
22 run-4.0-gemfiles/multi_xml.gemfile - 25872722678.22 14 May 2026 04:45PM UTC 158
36.34
GitHub Action Run
23 run-3.3-Gemfile - 25872722678.23 14 May 2026 04:44PM UTC 158
95.72
GitHub Action Run
24 run-3.4-gemfiles/rack_3_2.gemfile - 25872722678.24 14 May 2026 04:45PM UTC 158
95.74
GitHub Action Run
25 run-3.4-Gemfile - 25872722678.25 14 May 2026 04:45PM UTC 158
95.74
GitHub Action Run
26 run-3.4-gemfiles/rails_7_2.gemfile - 25872722678.26 14 May 2026 04:45PM UTC 159
95.75
GitHub Action Run
27 run-4.0-gemfiles/rack_3_1.gemfile - 25872722678.27 14 May 2026 04:44PM UTC 158
95.74
GitHub Action Run
28 run-3.3-gemfiles/rails_8_1.gemfile - 25872722678.28 14 May 2026 04:45PM UTC 159
95.73
GitHub Action Run
29 run-4.0-gemfiles/grape_entity.gemfile - 25872722678.29 14 May 2026 04:44PM UTC 158
50.18
GitHub Action Run
30 run-3.4-gemfiles/rack_3_0.gemfile - 25872722678.30 14 May 2026 04:45PM UTC 158
95.74
GitHub Action Run
31 run-4.0-gemfiles/rack_3_0.gemfile - 25872722678.31 14 May 2026 04:44PM UTC 158
95.74
GitHub Action Run
32 run-3.2-Gemfile - 25872722678.32 14 May 2026 04:44PM UTC 158
95.77
GitHub Action Run
33 run-3.2-gemfiles/rack_2_2.gemfile - 25872722678.33 14 May 2026 04:45PM UTC 158
95.73
GitHub Action Run
34 run-4.0-gemfiles/hashie.gemfile - 25872722678.34 14 May 2026 04:44PM UTC 158
62.69
GitHub Action Run
35 run-3.4-gemfiles/rack_3_1.gemfile - 25872722678.35 14 May 2026 04:45PM UTC 158
95.74
GitHub Action Run
36 run-3.3-gemfiles/rack_2_2.gemfile - 25872722678.36 14 May 2026 04:44PM UTC 158
95.68
GitHub Action Run
37 run-4.0-gemfiles/multi_json.gemfile - 25872722678.37 14 May 2026 04:45PM UTC 158
36.34
GitHub Action Run
Source Files on build 25872722678
  • 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 #25872722678
  • bc683bc8 on github
  • Prev Build on master (#25872321403)
  • Next Build on refactor/error-response-data (#25872788683)
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