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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 16 May 2026 10:02AM UTC
Jobs 37
Files 160
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 10:02AM UTC coverage: 97.035%. First build
25959131120

Pull #2725

github

ericproulx
Encapsulate Grape::Validations::Validators::Base state behind readers

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>
Pull Request #2725: Encapsulate Grape::Validations::Validators::Base state behind readers

1084 of 1167 branches covered (92.89%)

Branch coverage included in aggregate %.

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

3498 of 3555 relevant lines covered (98.4%)

32113.5 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
92.31
lib/grape/validations/validators/default_validator.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.2-gemfiles/rack_2_2.gemfile - 25959131120.1 16 May 2026 10:03AM UTC 159
95.74
GitHub Action Run
2 run-4.0-gemfiles/multi_xml.gemfile - 25959131120.2 16 May 2026 10:04AM UTC 159
36.38
GitHub Action Run
3 run-3.3-gemfiles/rack_3_2.gemfile - 25959131120.3 16 May 2026 10:03AM UTC 159
95.73
GitHub Action Run
4 run-3.3-Gemfile - 25959131120.4 16 May 2026 10:03AM UTC 159
95.73
GitHub Action Run
5 run-3.2-gemfiles/rack_3_1.gemfile - 25959131120.5 16 May 2026 10:02AM UTC 159
95.78
GitHub Action Run
6 run-4.0-gemfiles/rails_8_1.gemfile - 25959131120.6 16 May 2026 10:03AM UTC 160
95.74
GitHub Action Run
7 run-3.4-gemfiles/rack_2_2.gemfile - 25959131120.7 16 May 2026 10:03AM UTC 159
95.69
GitHub Action Run
8 run-3.3-gemfiles/rails_8_0.gemfile - 25959131120.8 16 May 2026 10:03AM UTC 160
95.74
GitHub Action Run
9 run-3.2-gemfiles/rack_3_0.gemfile - 25959131120.9 16 May 2026 10:02AM UTC 159
95.78
GitHub Action Run
10 run-3.2-gemfiles/rack_3_2.gemfile - 25959131120.10 16 May 2026 10:02AM UTC 159
95.78
GitHub Action Run
11 run-3.4-Gemfile - 25959131120.11 16 May 2026 10:03AM UTC 159
95.73
GitHub Action Run
12 run-3.4-gemfiles/rails_8_1.gemfile - 25959131120.12 16 May 2026 10:04AM UTC 160
95.74
GitHub Action Run
13 run-4.0-gemfiles/multi_json.gemfile - 25959131120.13 16 May 2026 10:03AM UTC 159
36.38
GitHub Action Run
14 run-4.0-gemfiles/grape_entity.gemfile - 25959131120.14 16 May 2026 10:04AM UTC 159
50.04
GitHub Action Run
15 run-4.0-gemfiles/rails_7_2.gemfile - 25959131120.15 16 May 2026 10:04AM UTC 160
95.74
GitHub Action Run
16 run-3.4-gemfiles/rack_3_1.gemfile - 25959131120.16 16 May 2026 10:04AM UTC 159
95.73
GitHub Action Run
17 run-3.3-gemfiles/rack_3_0.gemfile - 25959131120.17 16 May 2026 10:03AM UTC 159
95.73
GitHub Action Run
18 run-3.3-gemfiles/rack_2_2.gemfile - 25959131120.18 16 May 2026 10:03AM UTC 159
95.69
GitHub Action Run
19 run-3.4-gemfiles/rack_3_2.gemfile - 25959131120.19 16 May 2026 10:04AM UTC 159
95.73
GitHub Action Run
20 run-3.3-gemfiles/rails_7_2.gemfile - 25959131120.20 16 May 2026 10:03AM UTC 160
95.74
GitHub Action Run
21 run-4.0-gemfiles/rack_3_2.gemfile - 25959131120.21 16 May 2026 10:03AM UTC 159
95.73
GitHub Action Run
22 run-3.2-Gemfile - 25959131120.22 16 May 2026 10:03AM UTC 159
95.78
GitHub Action Run
23 run-4.0-gemfiles/dry_validation.gemfile - 25959131120.23 16 May 2026 10:03AM UTC 159
58.09
GitHub Action Run
24 run-3.3-gemfiles/rack_3_1.gemfile - 25959131120.24 16 May 2026 10:03AM UTC 159
95.73
GitHub Action Run
25 run-3.4-gemfiles/rack_3_0.gemfile - 25959131120.25 16 May 2026 10:04AM UTC 159
95.73
GitHub Action Run
26 run-3.3-gemfiles/rails_8_1.gemfile - 25959131120.26 16 May 2026 10:03AM UTC 160
95.74
GitHub Action Run
27 run-4.0-gemfiles/rack_3_1.gemfile - 25959131120.27 16 May 2026 10:03AM UTC 159
95.73
GitHub Action Run
28 run-3.2-gemfiles/rails_7_2.gemfile - 25959131120.28 16 May 2026 10:03AM UTC 160
95.78
GitHub Action Run
29 run-4.0-Gemfile - 25959131120.29 16 May 2026 10:03AM UTC 159
95.73
GitHub Action Run
30 run-3.4-gemfiles/rails_7_2.gemfile - 25959131120.30 16 May 2026 10:04AM UTC 160
95.74
GitHub Action Run
31 run-4.0-gemfiles/hashie.gemfile - 25959131120.31 16 May 2026 10:02AM UTC 159
62.42
GitHub Action Run
32 run-3.2-gemfiles/rails_8_0.gemfile - 25959131120.32 16 May 2026 10:02AM UTC 160
95.78
GitHub Action Run
33 run-3.4-gemfiles/rails_8_0.gemfile - 25959131120.33 16 May 2026 10:04AM UTC 160
95.74
GitHub Action Run
34 run-4.0-gemfiles/rack_2_2.gemfile - 25959131120.34 16 May 2026 10:03AM UTC 159
95.69
GitHub Action Run
35 run-4.0-gemfiles/rack_3_0.gemfile - 25959131120.35 16 May 2026 10:03AM UTC 159
95.73
GitHub Action Run
36 run-4.0-gemfiles/rails_8_0.gemfile - 25959131120.36 16 May 2026 10:03AM UTC 160
95.74
GitHub Action Run
37 run-3.2-gemfiles/rails_8_1.gemfile - 25959131120.37 16 May 2026 10:03AM UTC 160
95.78
GitHub Action Run
Source Files on build 25959131120
  • Tree
  • List 160
  • 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 #25959131120
  • Pull Request #2725
  • 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