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

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

Build:
Build:
LAST BUILD BRANCH: revisit_validators
DEFAULT BRANCH: master
Ran 18 Feb 2026 09:46PM UTC
Jobs 38
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 09:45PM UTC coverage: 96.847% (-0.06%) from 96.906%
22158904849

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

1056 of 1140 branches covered (92.63%)

Branch coverage included in aggregate %.

170 of 173 new or added lines in 22 files covered. (98.27%)

2 existing lines in 2 files now uncovered.

3306 of 3364 relevant lines covered (98.28%)

38804.97 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.12
-0.88% lib/grape/exceptions/base.rb
2
94.03
-1.89% lib/grape/validations/validators/base.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.12
-0.88% lib/grape/exceptions/base.rb
1
88.89
1.39% lib/grape/exceptions/validation.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.2-gemfiles/rails_8_0.gemfile - 22158904849.1 18 Feb 2026 09:46PM UTC 153
95.75
GitHub Action Run
2 run-3.4-gemfiles/rack_3_2.gemfile - 22158904849.2 18 Feb 2026 09:46PM UTC 152
95.71
GitHub Action Run
3 run-3.3-Gemfile - 22158904849.3 18 Feb 2026 09:46PM UTC 0
GitHub Action Run
4 run-3.2-Gemfile - 22158904849.4 18 Feb 2026 09:46PM UTC 152
95.75
GitHub Action Run
5 run-3.4-gemfiles/rack_3_1.gemfile - 22158904849.5 18 Feb 2026 09:47PM UTC 152
95.71
GitHub Action Run
6 run-3.3-gemfiles/rack_3_0.gemfile - 22158904849.6 18 Feb 2026 09:46PM UTC 152
95.7
GitHub Action Run
7 run-3.3-gemfiles/rails_8_0.gemfile - 22158904849.7 18 Feb 2026 09:46PM UTC 153
95.71
GitHub Action Run
8 run-3.2-gemfiles/rack_2_2.gemfile - 22158904849.8 18 Feb 2026 09:46PM UTC 152
95.71
GitHub Action Run
9 run-4.0-gemfiles/rack_2_2.gemfile - 22158904849.9 18 Feb 2026 09:46PM UTC 152
95.66
GitHub Action Run
10 run-4.0-Gemfile - 22158904849.10 18 Feb 2026 09:46PM UTC 152
95.71
GitHub Action Run
11 run-3.3-gemfiles/rails_7_2.gemfile - 22158904849.11 18 Feb 2026 09:46PM UTC 153
95.71
GitHub Action Run
12 run-3.4-gemfiles/rack_3_0.gemfile - 22158904849.12 18 Feb 2026 09:47PM UTC 152
95.71
GitHub Action Run
13 run-3.2-gemfiles/rack_3_2.gemfile - 22158904849.13 18 Feb 2026 09:46PM UTC 152
95.75
GitHub Action Run
14 run-3.4-gemfiles/rack_2_2.gemfile - 22158904849.14 18 Feb 2026 09:46PM UTC 152
95.66
GitHub Action Run
15 run-3.3-gemfiles/rack_2_2.gemfile - 22158904849.15 18 Feb 2026 09:46PM UTC 152
95.66
GitHub Action Run
16 run-4.0-gemfiles/rack_3_1.gemfile - 22158904849.16 18 Feb 2026 09:46PM UTC 152
95.71
GitHub Action Run
17 run-3.2-gemfiles/rack_3_0.gemfile - 22158904849.17 18 Feb 2026 09:46PM UTC 152
95.75
GitHub Action Run
18 run-4.0-gemfiles/rack_3_2.gemfile - 22158904849.18 18 Feb 2026 09:46PM UTC 152
95.71
GitHub Action Run
19 run-3.4-gemfiles/rails_8_1.gemfile - 22158904849.19 18 Feb 2026 09:46PM UTC 153
95.71
GitHub Action Run
20 run-4.0-gemfiles/grape_entity.gemfile - 22158904849.20 18 Feb 2026 09:47PM UTC 152
49.27
GitHub Action Run
21 run-3.4-gemfiles/rails_7_2.gemfile - 22158904849.21 18 Feb 2026 09:47PM UTC 153
95.71
GitHub Action Run
22 run-3.3-gemfiles/rails_8_1.gemfile - 22158904849.22 18 Feb 2026 09:46PM UTC 153
95.71
GitHub Action Run
23 run-4.0-gemfiles/rack_3_0.gemfile - 22158904849.23 18 Feb 2026 09:46PM UTC 152
95.71
GitHub Action Run
24 run-4.0-gemfiles/multi_json.gemfile - 22158904849.24 18 Feb 2026 09:47PM UTC 152
35.49
GitHub Action Run
25 run-3.2-gemfiles/rails_8_1.gemfile - 22158904849.25 18 Feb 2026 09:47PM UTC 153
95.75
GitHub Action Run
26 run-4.0-gemfiles/multi_xml.gemfile - 22158904849.26 18 Feb 2026 09:46PM UTC 152
35.49
GitHub Action Run
27 run-4.0-gemfiles/rails_7_2.gemfile - 22158904849.27 18 Feb 2026 09:47PM UTC 153
95.71
GitHub Action Run
28 run-3.3-gemfiles/rack_3_2.gemfile - 22158904849.28 18 Feb 2026 09:46PM UTC 152
95.7
GitHub Action Run
29 run-3.2-gemfiles/rack_3_1.gemfile - 22158904849.29 18 Feb 2026 09:46PM UTC 152
95.75
GitHub Action Run
30 run-4.0-gemfiles/hashie.gemfile - 22158904849.30 18 Feb 2026 09:46PM UTC 152
61.21
GitHub Action Run
31 run-4.0-gemfiles/dry_validation.gemfile - 22158904849.31 18 Feb 2026 09:47PM UTC 152
56.85
GitHub Action Run
32 run-3.4-Gemfile - 22158904849.32 18 Feb 2026 09:47PM UTC 152
95.71
GitHub Action Run
33 run-3.4-gemfiles/rails_8_0.gemfile - 22158904849.33 18 Feb 2026 09:47PM UTC 153
95.71
GitHub Action Run
34 run-3.2-gemfiles/rails_7_2.gemfile - 22158904849.34 18 Feb 2026 09:46PM UTC 153
95.75
GitHub Action Run
35 run-4.0-gemfiles/rails_8_0.gemfile - 22158904849.35 18 Feb 2026 09:47PM UTC 306
95.71
GitHub Action Run
36 run-4.0-gemfiles/rails_8_1.gemfile - 22158904849.36 18 Feb 2026 09:47PM UTC 153
95.71
GitHub Action Run
37 run-3.3-gemfiles/rack_3_1.gemfile - 22158904849.37 18 Feb 2026 09:46PM UTC 152
95.7
GitHub Action Run
38 run-3.3-Gemfile - 22158904849.38 18 Feb 2026 09:46PM UTC 152
95.7
GitHub Action Run
Source Files on build 22158904849
  • 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 #22158904849
  • 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