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

ruby-grape / grape / 24693529552
97%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 10:26PM UTC
Jobs 37
Files 155
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

20 Apr 2026 10:25PM UTC coverage: 96.911% (+0.02%) from 96.893%
24693529552

push

github

web-flow
Introduce Grape::Util::Lazy::Base for unified lazy-type dispatch (#2683)

Adds a shared abstract parent class for Grape::Util::Lazy::Value and
Grape::Util::Lazy::Block so call sites can type-check with a single
is_a?(Grape::Util::Lazy::Base) instead of duck-typing on respond_to?(:lazy?)
/ respond_to?(:evaluate) or enumerating the concrete subclasses.

- New lib/grape/util/lazy/base.rb with a shared #to_s (deduped from Value and Block).
- Value and Block now inherit from Base; their initialize methods call super().
- The internal #lazy? method is removed — no callers remain.
- Grape::API::evaluate_arguments collapses into a single case/when on
  Grape::Util::Lazy::Base / Hash / Array; argument_lazy? indirection is
  removed and any_lazy? uses Array#any?(Base) for a C-level class match.
- Grape::DSL::Routing#evaluate_as_instance_with_configuration and
  Grape::Validations::ParamsScope#configuration swap their respond_to?
  duck checks for explicit is_a?(Grape::Util::Lazy::Base).

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

1070 of 1157 branches covered (92.48%)

Branch coverage included in aggregate %.

23 of 25 new or added lines in 6 files covered. (92.0%)

1 existing line in 1 file now uncovered.

3353 of 3407 relevant lines covered (98.42%)

32337.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
95.58
0.3% lib/grape/validations/params_scope.rb

Coverage Regressions

Lines Coverage ∆ File
1
95.58
0.3% lib/grape/validations/params_scope.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.2-gemfiles/rails_8_0.gemfile - 24693529552.1 20 Apr 2026 10:26PM UTC 155
95.61
GitHub Action Run
2 run-3.3-Gemfile - 24693529552.2 20 Apr 2026 10:27PM UTC 154
95.56
GitHub Action Run
3 run-4.0-gemfiles/hashie.gemfile - 24693529552.3 20 Apr 2026 10:26PM UTC 154
62.35
GitHub Action Run
4 run-3.3-gemfiles/rails_7_2.gemfile - 24693529552.4 20 Apr 2026 10:26PM UTC 155
95.57
GitHub Action Run
5 run-4.0-Gemfile - 24693529552.5 20 Apr 2026 10:26PM UTC 154
95.59
GitHub Action Run
6 run-3.3-gemfiles/rack_3_2.gemfile - 24693529552.6 20 Apr 2026 10:26PM UTC 154
95.56
GitHub Action Run
7 run-4.0-gemfiles/multi_xml.gemfile - 24693529552.7 20 Apr 2026 10:26PM UTC 154
35.91
GitHub Action Run
8 run-3.4-gemfiles/rack_3_0.gemfile - 24693529552.8 20 Apr 2026 10:26PM UTC 154
95.59
GitHub Action Run
9 run-3.2-gemfiles/rack_2_2.gemfile - 24693529552.9 20 Apr 2026 10:26PM UTC 154
95.57
GitHub Action Run
10 run-3.3-gemfiles/rails_8_1.gemfile - 24693529552.10 20 Apr 2026 10:26PM UTC 155
95.57
GitHub Action Run
11 run-3.4-gemfiles/rack_3_2.gemfile - 24693529552.11 20 Apr 2026 10:26PM UTC 154
95.59
GitHub Action Run
12 run-4.0-gemfiles/dry_validation.gemfile - 24693529552.12 20 Apr 2026 10:26PM UTC 154
57.61
GitHub Action Run
13 run-3.4-gemfiles/rails_8_0.gemfile - 24693529552.13 20 Apr 2026 10:26PM UTC 155
95.59
GitHub Action Run
14 run-4.0-gemfiles/rack_3_2.gemfile - 24693529552.14 20 Apr 2026 10:26PM UTC 154
95.59
GitHub Action Run
15 run-3.3-gemfiles/rails_8_0.gemfile - 24693529552.15 20 Apr 2026 10:26PM UTC 155
95.57
GitHub Action Run
16 run-3.4-Gemfile - 24693529552.16 20 Apr 2026 10:26PM UTC 154
95.59
GitHub Action Run
17 run-3.4-gemfiles/rack_2_2.gemfile - 24693529552.17 20 Apr 2026 10:26PM UTC 154
95.54
GitHub Action Run
18 run-3.4-gemfiles/rails_7_2.gemfile - 24693529552.18 20 Apr 2026 10:26PM UTC 155
95.59
GitHub Action Run
19 run-4.0-gemfiles/rack_3_1.gemfile - 24693529552.19 20 Apr 2026 10:26PM UTC 154
95.59
GitHub Action Run
20 run-4.0-gemfiles/grape_entity.gemfile - 24693529552.20 20 Apr 2026 10:26PM UTC 154
49.4
GitHub Action Run
21 run-3.2-gemfiles/rack_3_0.gemfile - 24693529552.21 20 Apr 2026 10:26PM UTC 154
95.61
GitHub Action Run
22 run-3.2-gemfiles/rails_7_2.gemfile - 24693529552.22 20 Apr 2026 10:26PM UTC 155
95.61
GitHub Action Run
23 run-4.0-gemfiles/rails_7_2.gemfile - 24693529552.23 20 Apr 2026 10:26PM UTC 155
95.59
GitHub Action Run
24 run-3.3-gemfiles/rack_2_2.gemfile - 24693529552.24 20 Apr 2026 10:26PM UTC 154
95.52
GitHub Action Run
25 run-4.0-gemfiles/rails_8_1.gemfile - 24693529552.25 20 Apr 2026 10:26PM UTC 155
95.59
GitHub Action Run
26 run-3.3-gemfiles/rack_3_0.gemfile - 24693529552.26 20 Apr 2026 10:26PM UTC 154
95.56
GitHub Action Run
27 run-4.0-gemfiles/rack_3_0.gemfile - 24693529552.27 20 Apr 2026 10:26PM UTC 154
95.59
GitHub Action Run
28 run-3.3-gemfiles/rack_3_1.gemfile - 24693529552.28 20 Apr 2026 10:26PM UTC 154
95.56
GitHub Action Run
29 run-4.0-gemfiles/rails_8_0.gemfile - 24693529552.29 20 Apr 2026 10:26PM UTC 155
95.59
GitHub Action Run
30 run-3.2-gemfiles/rails_8_1.gemfile - 24693529552.30 20 Apr 2026 10:26PM UTC 155
95.61
GitHub Action Run
31 run-4.0-gemfiles/multi_json.gemfile - 24693529552.31 20 Apr 2026 10:26PM UTC 154
35.91
GitHub Action Run
32 run-3.2-Gemfile - 24693529552.32 20 Apr 2026 10:26PM UTC 154
95.61
GitHub Action Run
33 run-4.0-gemfiles/rack_2_2.gemfile - 24693529552.33 20 Apr 2026 10:26PM UTC 154
95.54
GitHub Action Run
34 run-3.4-gemfiles/rails_8_1.gemfile - 24693529552.34 20 Apr 2026 10:26PM UTC 155
95.59
GitHub Action Run
35 run-3.2-gemfiles/rack_3_1.gemfile - 24693529552.35 20 Apr 2026 10:26PM UTC 154
95.61
GitHub Action Run
36 run-3.4-gemfiles/rack_3_1.gemfile - 24693529552.36 20 Apr 2026 10:26PM UTC 154
95.59
GitHub Action Run
37 run-3.2-gemfiles/rack_3_2.gemfile - 24693529552.37 20 Apr 2026 10:26PM UTC 154
95.61
GitHub Action Run
Source Files on build 24693529552
  • Tree
  • List 155
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24693529552
  • 052d0771 on github
  • Prev Build on master (#24636068189)
  • Next Build on master (#24693636281)
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