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

ruby-grape / grape / 25973567226
97%

Build:
DEFAULT BRANCH: master
Ran 16 May 2026 09:36PM UTC
Jobs 37
Files 164
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

16 May 2026 09:36PM UTC coverage: 96.968% (+0.001%) from 96.967%
25973567226

push

github

web-flow
Encapsulate Grape::Validations::Validators::Base state behind readers (#2725)

Route all internal reads of the Base validator's instance variables
through accessor methods instead of touching @ivars directly, in Base
and every subclass.

- Add private `attr_reader :options, :scope, :required, :allow_blank,
  :exception_message`; `:attrs` stays a public reader (unchanged
  external behavior).
- Booleans get `?` aliases consistent with `fail_fast?`:
  `required?`, `allow_blank?`, `fail_fast?` (now `attr_reader` + alias).
- Only `attrs`/`fail_fast?` remain public — the readers actually
  crossing the validator boundary (Grape::Endpoint#run_validators).
- Rename locals that shadowed the new readers (`attrs`/`scope`).

Pure internal refactor: no behavior change, full validation and
endpoint suites green.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

1084 of 1169 branches covered (92.73%)

Branch coverage included in aggregate %.

38 of 39 new or added lines in 9 files covered. (97.44%)

3522 of 3581 relevant lines covered (98.35%)

31690.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.31
0.0% lib/grape/validations/validators/default_validator.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.2-gemfiles/rack_2_2.gemfile - 25973567226.1 16 May 2026 09:36PM UTC 163
95.68
GitHub Action Run
2 run-3.4-Gemfile - 25973567226.2 16 May 2026 09:37PM UTC 163
95.68
GitHub Action Run
3 run-4.0-gemfiles/rack_3_0.gemfile - 25973567226.3 16 May 2026 09:37PM UTC 163
95.68
GitHub Action Run
4 run-4.0-Gemfile - 25973567226.4 16 May 2026 09:37PM UTC 163
95.68
GitHub Action Run
5 run-3.2-gemfiles/rack_3_0.gemfile - 25973567226.5 16 May 2026 09:36PM UTC 163
95.72
GitHub Action Run
6 run-4.0-gemfiles/hashie.gemfile - 25973567226.6 16 May 2026 09:36PM UTC 163
62.59
GitHub Action Run
7 run-3.2-gemfiles/rails_7_2.gemfile - 25973567226.7 16 May 2026 09:36PM UTC 164
95.72
GitHub Action Run
8 run-4.0-gemfiles/grape_entity.gemfile - 25973567226.8 16 May 2026 09:36PM UTC 163
50.27
GitHub Action Run
9 run-3.3-gemfiles/rack_3_1.gemfile - 25973567226.9 16 May 2026 09:37PM UTC 163
95.67
GitHub Action Run
10 run-4.0-gemfiles/multi_json.gemfile - 25973567226.10 16 May 2026 09:36PM UTC 163
36.71
GitHub Action Run
11 run-3.3-gemfiles/rails_7_2.gemfile - 25973567226.11 16 May 2026 09:37PM UTC 164
95.68
GitHub Action Run
12 run-4.0-gemfiles/multi_xml.gemfile - 25973567226.12 16 May 2026 09:37PM UTC 163
36.71
GitHub Action Run
13 run-4.0-gemfiles/rails_8_0.gemfile - 25973567226.13 16 May 2026 09:37PM UTC 164
95.68
GitHub Action Run
14 run-3.3-gemfiles/rack_2_2.gemfile - 25973567226.14 16 May 2026 09:37PM UTC 163
95.63
GitHub Action Run
15 run-3.2-gemfiles/rack_3_2.gemfile - 25973567226.15 16 May 2026 09:36PM UTC 163
95.72
GitHub Action Run
16 run-3.2-Gemfile - 25973567226.16 16 May 2026 09:36PM UTC 163
95.72
GitHub Action Run
17 run-3.3-gemfiles/rack_3_2.gemfile - 25973567226.17 16 May 2026 09:37PM UTC 163
95.67
GitHub Action Run
18 run-3.4-gemfiles/rack_3_1.gemfile - 25973567226.18 16 May 2026 09:37PM UTC 163
95.68
GitHub Action Run
19 run-3.4-gemfiles/rack_3_2.gemfile - 25973567226.19 16 May 2026 09:36PM UTC 163
95.68
GitHub Action Run
20 run-4.0-gemfiles/dry_validation.gemfile - 25973567226.20 16 May 2026 09:37PM UTC 163
58.35
GitHub Action Run
21 run-3.3-gemfiles/rack_3_0.gemfile - 25973567226.21 16 May 2026 09:36PM UTC 163
95.67
GitHub Action Run
22 run-3.4-gemfiles/rack_2_2.gemfile - 25973567226.22 16 May 2026 09:36PM UTC 163
95.63
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 25973567226.23 16 May 2026 09:36PM UTC 164
95.68
GitHub Action Run
24 run-4.0-gemfiles/rails_7_2.gemfile - 25973567226.24 16 May 2026 09:36PM UTC 164
95.68
GitHub Action Run
25 run-3.3-Gemfile - 25973567226.25 16 May 2026 09:36PM UTC 163
95.67
GitHub Action Run
26 run-3.4-gemfiles/rack_3_0.gemfile - 25973567226.26 16 May 2026 09:36PM UTC 163
95.68
GitHub Action Run
27 run-3.4-gemfiles/rails_7_2.gemfile - 25973567226.27 16 May 2026 09:36PM UTC 164
95.68
GitHub Action Run
28 run-3.3-gemfiles/rails_8_1.gemfile - 25973567226.28 16 May 2026 09:37PM UTC 164
95.68
GitHub Action Run
29 run-3.2-gemfiles/rails_8_1.gemfile - 25973567226.29 16 May 2026 09:37PM UTC 164
95.72
GitHub Action Run
30 run-4.0-gemfiles/rack_3_2.gemfile - 25973567226.30 16 May 2026 09:36PM UTC 163
95.68
GitHub Action Run
31 run-3.4-gemfiles/rails_8_0.gemfile - 25973567226.31 16 May 2026 09:37PM UTC 164
95.68
GitHub Action Run
32 run-4.0-gemfiles/rack_3_1.gemfile - 25973567226.32 16 May 2026 09:36PM UTC 163
95.68
GitHub Action Run
33 run-3.4-gemfiles/rails_8_1.gemfile - 25973567226.33 16 May 2026 09:36PM UTC 164
95.68
GitHub Action Run
34 run-3.2-gemfiles/rack_3_1.gemfile - 25973567226.34 16 May 2026 09:36PM UTC 163
95.72
GitHub Action Run
35 run-4.0-gemfiles/rack_2_2.gemfile - 25973567226.35 16 May 2026 09:36PM UTC 163
95.63
GitHub Action Run
36 run-3.2-gemfiles/rails_8_0.gemfile - 25973567226.36 16 May 2026 09:37PM UTC 164
95.72
GitHub Action Run
37 run-3.3-gemfiles/rails_8_0.gemfile - 25973567226.37 16 May 2026 09:37PM UTC 164
95.68
GitHub Action Run
Source Files on build 25973567226
  • Tree
  • List 164
  • Changed 9
  • Source Changed 9
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25973567226
  • 9bcb0f75 on github
  • Prev Build on master (#25973033231)
  • Next Build on master (#25973725275)
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