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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 15 May 2026 09:08AM UTC
Jobs 37
Files 161
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

15 May 2026 09:07AM UTC coverage: 97.038%. First build
25909757486

Pull #2721

github

ericproulx
Use an internal Grape::Validations::SharedOptions value object

`Validators::Base#initialize` consumed the shared `opts` via
`opts.values_at(:fail_fast, :allow_blank)` and copied the two values
into per-validator ivars.

Introduce `Grape::Validations::SharedOptions`
(`Data.define(:allow_blank, :fail_fast)` with defaults mirroring the
prior `values_at` behaviour) as an *internal* representation: `Base`
builds it from the `opts` Hash —
`SharedOptions.new(**opts.slice(:allow_blank, :fail_fast))` — and
exposes the two fields via `Forwardable.def_delegators :@opts,
:allow_blank, :fail_fast`. `#fail_fast?` calls the delegated
`fail_fast`; `ValuesValidator` (the one subclass reading `@allow_blank`
directly) uses the `allow_blank` reader.

The public 5th-argument contract of `Validators::Base#initialize`
stays a plain Hash, so custom validators and any code that
hand-constructs a validator with a Hash are unaffected. `slice` keeps
the historical tolerance of ignoring unknown keys. `ValidationsSpec`
keeps emitting the `{ allow_blank:, fail_fast: }.freeze` Hash; nothing
about its public surface changes — no UPGRADING entry needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2721: Introduce Grape::Validations::SharedOptions value object

1084 of 1167 branches covered (92.89%)

Branch coverage included in aggregate %.

10 of 10 new or added lines in 3 files covered. (100.0%)

3502 of 3559 relevant lines covered (98.4%)

32115.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.2-gemfiles/rails_8_0.gemfile - 25909757486.1 15 May 2026 09:08AM UTC 161
95.78
GitHub Action Run
2 run-4.0-gemfiles/rack_2_2.gemfile - 25909757486.2 15 May 2026 09:09AM UTC 160
95.7
GitHub Action Run
3 run-3.4-gemfiles/rails_7_2.gemfile - 25909757486.3 15 May 2026 09:08AM UTC 161
95.74
GitHub Action Run
4 run-4.0-gemfiles/dry_validation.gemfile - 25909757486.4 15 May 2026 09:08AM UTC 160
58.1
GitHub Action Run
5 run-3.3-Gemfile - 25909757486.5 15 May 2026 09:08AM UTC 160
95.74
GitHub Action Run
6 run-3.2-gemfiles/rails_7_2.gemfile - 25909757486.6 15 May 2026 09:08AM UTC 161
95.78
GitHub Action Run
7 run-3.4-gemfiles/rails_8_1.gemfile - 25909757486.7 15 May 2026 09:08AM UTC 161
95.74
GitHub Action Run
8 run-4.0-gemfiles/grape_entity.gemfile - 25909757486.8 15 May 2026 09:08AM UTC 160
50.04
GitHub Action Run
9 run-3.4-gemfiles/rack_3_0.gemfile - 25909757486.9 15 May 2026 09:08AM UTC 160
95.74
GitHub Action Run
10 run-4.0-gemfiles/rack_3_1.gemfile - 25909757486.10 15 May 2026 09:09AM UTC 160
95.74
GitHub Action Run
11 run-4.0-gemfiles/rack_3_0.gemfile - 25909757486.11 15 May 2026 09:08AM UTC 160
95.74
GitHub Action Run
12 run-3.3-gemfiles/rack_2_2.gemfile - 25909757486.12 15 May 2026 09:08AM UTC 160
95.69
GitHub Action Run
13 run-3.2-gemfiles/rack_3_0.gemfile - 25909757486.13 15 May 2026 09:08AM UTC 160
95.78
GitHub Action Run
14 run-3.3-gemfiles/rack_3_1.gemfile - 25909757486.14 15 May 2026 09:08AM UTC 160
95.74
GitHub Action Run
15 run-4.0-gemfiles/hashie.gemfile - 25909757486.15 15 May 2026 09:08AM UTC 160
62.45
GitHub Action Run
16 run-3.4-gemfiles/rack_2_2.gemfile - 25909757486.16 15 May 2026 09:08AM UTC 160
95.7
GitHub Action Run
17 run-3.4-gemfiles/rails_8_0.gemfile - 25909757486.17 15 May 2026 09:08AM UTC 161
95.74
GitHub Action Run
18 run-3.2-gemfiles/rack_3_1.gemfile - 25909757486.18 15 May 2026 09:08AM UTC 160
95.78
GitHub Action Run
19 run-4.0-gemfiles/multi_json.gemfile - 25909757486.19 15 May 2026 09:08AM UTC 160
36.39
GitHub Action Run
20 run-3.3-gemfiles/rails_7_2.gemfile - 25909757486.20 15 May 2026 09:08AM UTC 161
95.74
GitHub Action Run
21 run-4.0-gemfiles/rails_7_2.gemfile - 25909757486.21 15 May 2026 09:08AM UTC 161
95.74
GitHub Action Run
22 run-3.2-gemfiles/rails_8_1.gemfile - 25909757486.22 15 May 2026 09:08AM UTC 161
95.78
GitHub Action Run
23 run-3.4-Gemfile - 25909757486.23 15 May 2026 09:08AM UTC 160
95.74
GitHub Action Run
24 run-3.3-gemfiles/rails_8_1.gemfile - 25909757486.24 15 May 2026 09:08AM UTC 161
95.74
GitHub Action Run
25 run-3.4-gemfiles/rack_3_2.gemfile - 25909757486.25 15 May 2026 09:09AM UTC 160
95.74
GitHub Action Run
26 run-4.0-gemfiles/rack_3_2.gemfile - 25909757486.26 15 May 2026 09:09AM UTC 160
95.74
GitHub Action Run
27 run-3.3-gemfiles/rack_3_2.gemfile - 25909757486.27 15 May 2026 09:08AM UTC 160
95.74
GitHub Action Run
28 run-3.4-gemfiles/rack_3_1.gemfile - 25909757486.28 15 May 2026 09:09AM UTC 160
95.74
GitHub Action Run
29 run-4.0-gemfiles/rails_8_0.gemfile - 25909757486.29 15 May 2026 09:09AM UTC 161
95.74
GitHub Action Run
30 run-3.2-Gemfile - 25909757486.30 15 May 2026 09:08AM UTC 160
95.78
GitHub Action Run
31 run-3.3-gemfiles/rack_3_0.gemfile - 25909757486.31 15 May 2026 09:08AM UTC 160
95.74
GitHub Action Run
32 run-3.2-gemfiles/rack_2_2.gemfile - 25909757486.32 15 May 2026 09:08AM UTC 160
95.74
GitHub Action Run
33 run-4.0-gemfiles/rails_8_1.gemfile - 25909757486.33 15 May 2026 09:09AM UTC 161
95.74
GitHub Action Run
34 run-3.2-gemfiles/rack_3_2.gemfile - 25909757486.34 15 May 2026 09:08AM UTC 160
95.78
GitHub Action Run
35 run-4.0-Gemfile - 25909757486.35 15 May 2026 09:08AM UTC 160
95.74
GitHub Action Run
36 run-3.3-gemfiles/rails_8_0.gemfile - 25909757486.36 15 May 2026 09:08AM UTC 161
95.74
GitHub Action Run
37 run-4.0-gemfiles/multi_xml.gemfile - 25909757486.37 15 May 2026 09:09AM UTC 160
36.39
GitHub Action Run
Source Files on build 25909757486
  • Tree
  • List 161
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25909757486
  • Pull Request #2721
  • PR Base - master (#25873678149)
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