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

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

Build:
Build:
LAST BUILD BRANCH: revisit_validators
DEFAULT BRANCH: master
Ran 18 Feb 2026 10:11PM UTC
Jobs 41
Files 153
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

18 Feb 2026 10:11PM UTC coverage: 96.87% (-0.04%) from 96.906%
22159706640

Pull #2657

github

ericproulx
Instantiate validators at definition time

  - Store validator instances in ParamsScope/ContractScope and have
    Endpoint#run_validators read them directly
  - Remove ValidatorFactory indirection and eagerly compute validator
    messages/options in constructors
  - Extract Grape::Util::Translation module shared by Exceptions::Base
    and Validators::Base for I18n translate with fallback locale
  - Support Hash messages in translate_message for deferred translation
    with interpolation parameters (e.g. { key: :length, min: 2 })
  - Normalize Grape::Exceptions::Validation params handling and refactor
    validator specs to define routes per example group
  - Drop test-prof dependency and its spec config

Co-authored-by: Cursor <cursoragent@cursor.com>
Pull Request #2657: Instantiate validators at definition time

1058 of 1142 branches covered (92.64%)

Branch coverage included in aggregate %.

172 of 174 new or added lines in 22 files covered. (98.85%)

2 existing lines in 2 files now uncovered.

3306 of 3363 relevant lines covered (98.31%)

41229.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.12
-0.88% lib/grape/exceptions/base.rb
1
95.45
-0.46% lib/grape/validations/validators/base.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.12
-0.88% lib/grape/exceptions/base.rb
1
90.0
2.5% lib/grape/exceptions/validation.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_json.gemfile - 22159706640.1 18 Feb 2026 10:11PM UTC 152
35.46
GitHub Action Run
2 run-3.4-Gemfile - 22159706640.2 18 Feb 2026 10:11PM UTC 152
95.73
GitHub Action Run
3 run-4.0-gemfiles/rack_3_2.gemfile - 22159706640.3 18 Feb 2026 10:11PM UTC 152
95.73
GitHub Action Run
4 run-3.2-gemfiles/rails_7_2.gemfile - 22159706640.4 18 Feb 2026 10:11PM UTC 153
95.78
GitHub Action Run
5 run-4.0-gemfiles/grape_entity.gemfile - 22159706640.5 18 Feb 2026 10:11PM UTC 0
GitHub Action Run
6 run-4.0-gemfiles/rack_3_1.gemfile - 22159706640.6 18 Feb 2026 10:11PM UTC 152
95.73
GitHub Action Run
7 run-4.0-Gemfile - 22159706640.7 18 Feb 2026 10:11PM UTC 152
95.73
GitHub Action Run
8 run-3.2-Gemfile - 22159706640.8 18 Feb 2026 10:11PM UTC 152
95.77
GitHub Action Run
9 run-4.0-gemfiles/hashie.gemfile - 22159706640.9 18 Feb 2026 10:11PM UTC 152
61.22
GitHub Action Run
10 run-3.4-gemfiles/rack_3_2.gemfile - 22159706640.10 18 Feb 2026 10:12PM UTC 152
95.73
GitHub Action Run
11 run-3.4-gemfiles/rack_3_1.gemfile - 22159706640.11 18 Feb 2026 10:12PM UTC 304
95.73
GitHub Action Run
12 run-3.4-gemfiles/rails_8_1.gemfile - 22159706640.12 18 Feb 2026 10:12PM UTC 153
95.73
GitHub Action Run
13 run-3.2-gemfiles/rack_3_1.gemfile - 22159706640.13 18 Feb 2026 10:12PM UTC 152
95.77
GitHub Action Run
14 run-4.0-gemfiles/dry_validation.gemfile - 22159706640.14 18 Feb 2026 10:11PM UTC 152
56.86
GitHub Action Run
15 run-3.3-gemfiles/rack_3_1.gemfile - 22159706640.15 18 Feb 2026 10:12PM UTC 152
95.73
GitHub Action Run
16 run-3.4-gemfiles/rails_7_2.gemfile - 22159706640.16 18 Feb 2026 10:12PM UTC 153
95.73
GitHub Action Run
17 run-3.4-gemfiles/rack_3_0.gemfile - 22159706640.17 18 Feb 2026 10:11PM UTC 152
95.73
GitHub Action Run
18 run-3.3-Gemfile - 22159706640.18 18 Feb 2026 10:12PM UTC 152
95.73
GitHub Action Run
19 run-4.0-gemfiles/multi_xml.gemfile - 22159706640.19 18 Feb 2026 10:12PM UTC 152
35.46
GitHub Action Run
20 run-3.2-gemfiles/rack_3_2.gemfile - 22159706640.20 18 Feb 2026 10:12PM UTC 152
95.77
GitHub Action Run
21 run-4.0-gemfiles/rails_8_1.gemfile - 22159706640.21 18 Feb 2026 10:11PM UTC 153
95.73
GitHub Action Run
22 run-4.0-gemfiles/rails_8_0.gemfile - 22159706640.22 18 Feb 2026 10:12PM UTC 0
GitHub Action Run
23 run-3.3-gemfiles/rails_7_2.gemfile - 22159706640.23 18 Feb 2026 10:12PM UTC 153
95.73
GitHub Action Run
24 run-4.0-gemfiles/rack_3_0.gemfile - 22159706640.24 18 Feb 2026 10:12PM UTC 304
95.73
GitHub Action Run
25 run-3.2-gemfiles/rack_2_2.gemfile - 22159706640.25 18 Feb 2026 10:11PM UTC 152
95.73
GitHub Action Run
26 run-3.3-gemfiles/rails_8_0.gemfile - 22159706640.26 18 Feb 2026 10:11PM UTC 153
95.73
GitHub Action Run
27 run-3.3-gemfiles/rack_3_2.gemfile - 22159706640.27 18 Feb 2026 10:11PM UTC 152
95.73
GitHub Action Run
28 run-3.2-gemfiles/rails_8_1.gemfile - 22159706640.28 18 Feb 2026 10:12PM UTC 153
95.78
GitHub Action Run
29 run-3.2-gemfiles/rails_8_0.gemfile - 22159706640.29 18 Feb 2026 10:12PM UTC 153
95.78
GitHub Action Run
30 run-3.3-gemfiles/rack_2_2.gemfile - 22159706640.30 18 Feb 2026 10:12PM UTC 152
95.68
GitHub Action Run
31 run-3.4-gemfiles/rack_2_2.gemfile - 22159706640.31 18 Feb 2026 10:11PM UTC 152
95.68
GitHub Action Run
32 run-3.2-gemfiles/rack_3_0.gemfile - 22159706640.32 18 Feb 2026 10:11PM UTC 152
95.77
GitHub Action Run
33 run-3.4-gemfiles/rails_8_0.gemfile - 22159706640.33 18 Feb 2026 10:12PM UTC 153
95.73
GitHub Action Run
34 run-4.0-gemfiles/rails_7_2.gemfile - 22159706640.34 18 Feb 2026 10:11PM UTC 153
95.73
GitHub Action Run
35 run-3.3-gemfiles/rails_8_1.gemfile - 22159706640.35 18 Feb 2026 10:12PM UTC 153
95.73
GitHub Action Run
36 run-3.3-gemfiles/rack_3_0.gemfile - 22159706640.36 18 Feb 2026 10:12PM UTC 304
95.73
GitHub Action Run
37 run-4.0-gemfiles/rack_2_2.gemfile - 22159706640.37 18 Feb 2026 10:12PM UTC 0
GitHub Action Run
38 run-4.0-gemfiles/grape_entity.gemfile - 22159706640.38 18 Feb 2026 10:11PM UTC 152
49.23
GitHub Action Run
39 run-4.0-gemfiles/rack_2_2.gemfile - 22159706640.39 18 Feb 2026 10:12PM UTC 0
GitHub Action Run
40 run-4.0-gemfiles/rails_8_0.gemfile - 22159706640.40 18 Feb 2026 10:12PM UTC 153
95.73
GitHub Action Run
41 run-4.0-gemfiles/rack_2_2.gemfile - 22159706640.41 18 Feb 2026 10:12PM UTC 152
95.68
GitHub Action Run
Source Files on build 22159706640
  • Tree
  • List 153
  • Changed 22
  • Source Changed 21
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22159706640
  • Pull Request #2657
  • PR Base - master (#21906320707)
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