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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 14 May 2026 04:46PM UTC
Jobs 37
Files 159
Run time 2min
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:45PM UTC coverage: 97.041% (-0.01%) from 97.052%
25872788683

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

1 existing line in 1 file now uncovered.

3453 of 3509 relevant lines covered (98.4%)

32149.56 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
93.85
-0.09% lib/grape/middleware/stack.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_2_2.gemfile - 25872788683.1 14 May 2026 04:47PM UTC 158
95.68
GitHub Action Run
2 run-4.0-gemfiles/rails_8_0.gemfile - 25872788683.2 14 May 2026 04:47PM UTC 159
95.75
GitHub Action Run
3 run-3.4-gemfiles/rails_7_2.gemfile - 25872788683.3 14 May 2026 04:47PM UTC 159
95.75
GitHub Action Run
4 run-4.0-gemfiles/rack_3_2.gemfile - 25872788683.4 14 May 2026 04:47PM UTC 158
95.74
GitHub Action Run
5 run-4.0-gemfiles/dry_validation.gemfile - 25872788683.5 14 May 2026 04:47PM UTC 158
58.28
GitHub Action Run
6 run-4.0-gemfiles/rack_2_2.gemfile - 25872788683.6 14 May 2026 04:47PM UTC 158
95.7
GitHub Action Run
7 run-3.4-gemfiles/rack_3_2.gemfile - 25872788683.7 14 May 2026 04:47PM UTC 158
95.74
GitHub Action Run
8 run-3.2-gemfiles/rails_7_2.gemfile - 25872788683.8 14 May 2026 04:47PM UTC 159
95.77
GitHub Action Run
9 run-3.4-gemfiles/rack_2_2.gemfile - 25872788683.9 14 May 2026 04:47PM UTC 158
95.7
GitHub Action Run
10 run-3.2-gemfiles/rails_8_0.gemfile - 25872788683.10 14 May 2026 04:46PM UTC 159
95.77
GitHub Action Run
11 run-4.0-gemfiles/multi_json.gemfile - 25872788683.11 14 May 2026 04:47PM UTC 158
36.34
GitHub Action Run
12 run-3.3-gemfiles/rails_7_2.gemfile - 25872788683.12 14 May 2026 04:46PM UTC 159
95.73
GitHub Action Run
13 run-3.3-gemfiles/rack_3_0.gemfile - 25872788683.13 14 May 2026 04:46PM UTC 158
95.72
GitHub Action Run
14 run-4.0-gemfiles/rails_7_2.gemfile - 25872788683.14 14 May 2026 04:47PM UTC 159
95.75
GitHub Action Run
15 run-3.3-gemfiles/rails_8_0.gemfile - 25872788683.15 14 May 2026 04:47PM UTC 159
95.73
GitHub Action Run
16 run-3.3-gemfiles/rack_3_1.gemfile - 25872788683.16 14 May 2026 04:46PM UTC 158
95.72
GitHub Action Run
17 run-4.0-gemfiles/rack_3_1.gemfile - 25872788683.17 14 May 2026 04:47PM UTC 158
95.74
GitHub Action Run
18 run-4.0-gemfiles/rails_8_1.gemfile - 25872788683.18 14 May 2026 04:47PM UTC 159
95.75
GitHub Action Run
19 run-4.0-gemfiles/rack_3_0.gemfile - 25872788683.19 14 May 2026 04:47PM UTC 158
95.74
GitHub Action Run
20 run-3.4-gemfiles/rails_8_0.gemfile - 25872788683.20 14 May 2026 04:46PM UTC 159
95.75
GitHub Action Run
21 run-4.0-gemfiles/grape_entity.gemfile - 25872788683.21 14 May 2026 04:47PM UTC 158
50.18
GitHub Action Run
22 run-3.2-gemfiles/rack_2_2.gemfile - 25872788683.22 14 May 2026 04:46PM UTC 158
95.73
GitHub Action Run
23 run-3.3-Gemfile - 25872788683.23 14 May 2026 04:46PM UTC 158
95.72
GitHub Action Run
24 run-3.4-gemfiles/rack_3_0.gemfile - 25872788683.24 14 May 2026 04:47PM UTC 158
95.74
GitHub Action Run
25 run-3.4-Gemfile - 25872788683.25 14 May 2026 04:47PM UTC 158
95.74
GitHub Action Run
26 run-3.3-gemfiles/rails_8_1.gemfile - 25872788683.26 14 May 2026 04:47PM UTC 159
95.73
GitHub Action Run
27 run-3.4-gemfiles/rack_3_1.gemfile - 25872788683.27 14 May 2026 04:46PM UTC 158
95.74
GitHub Action Run
28 run-3.3-gemfiles/rack_3_2.gemfile - 25872788683.28 14 May 2026 04:47PM UTC 158
95.72
GitHub Action Run
29 run-3.2-gemfiles/rack_3_2.gemfile - 25872788683.29 14 May 2026 04:46PM UTC 158
95.77
GitHub Action Run
30 run-3.2-Gemfile - 25872788683.30 14 May 2026 04:46PM UTC 158
95.77
GitHub Action Run
31 run-3.2-gemfiles/rack_3_0.gemfile - 25872788683.31 14 May 2026 04:46PM UTC 158
95.77
GitHub Action Run
32 run-4.0-gemfiles/hashie.gemfile - 25872788683.32 14 May 2026 04:47PM UTC 158
62.69
GitHub Action Run
33 run-4.0-gemfiles/multi_xml.gemfile - 25872788683.33 14 May 2026 04:47PM UTC 158
36.34
GitHub Action Run
34 run-3.4-gemfiles/rails_8_1.gemfile - 25872788683.34 14 May 2026 04:47PM UTC 159
95.75
GitHub Action Run
35 run-3.2-gemfiles/rails_8_1.gemfile - 25872788683.35 14 May 2026 04:47PM UTC 159
95.77
GitHub Action Run
36 run-3.2-gemfiles/rack_3_1.gemfile - 25872788683.36 14 May 2026 04:47PM UTC 158
95.77
GitHub Action Run
37 run-4.0-Gemfile - 25872788683.37 14 May 2026 04:47PM UTC 158
95.74
GitHub Action Run
Source Files on build 25872788683
  • Tree
  • List 159
  • Changed 8
  • Source Changed 8
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25872788683
  • 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