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

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

Build:
Build:
LAST BUILD BRANCH: perf/build-headers-each-header
DEFAULT BRANCH: master
Ran 19 Apr 2026 12:56PM UTC
Jobs 37
Files 154
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

19 Apr 2026 12:53PM UTC coverage: 96.924% (+0.02%) from 96.907%
24629619093

Pull #2683

github

ericproulx
Introduce Grape::Util::Lazy::Base for unified lazy-type dispatch

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>
Pull Request #2683: Introduce Grape::Util::Lazy::Base for unified lazy-type dispatch

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.

3342 of 3395 relevant lines covered (98.44%)

32096.62 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-4.0-gemfiles/rack_3_2.gemfile - 24629619093.1 19 Apr 2026 12:56PM UTC 153
95.6
GitHub Action Run
2 run-3.2-gemfiles/rack_2_2.gemfile - 24629619093.2 19 Apr 2026 12:56PM UTC 153
95.58
GitHub Action Run
3 run-3.4-gemfiles/rack_3_1.gemfile - 24629619093.3 19 Apr 2026 12:57PM UTC 153
95.6
GitHub Action Run
4 run-4.0-gemfiles/rails_8_0.gemfile - 24629619093.4 19 Apr 2026 12:56PM UTC 154
95.6
GitHub Action Run
5 run-4.0-gemfiles/multi_xml.gemfile - 24629619093.5 19 Apr 2026 12:56PM UTC 153
35.85
GitHub Action Run
6 run-3.3-gemfiles/rack_3_1.gemfile - 24629619093.6 19 Apr 2026 12:56PM UTC 153
95.57
GitHub Action Run
7 run-3.2-gemfiles/rack_3_1.gemfile - 24629619093.7 19 Apr 2026 12:56PM UTC 153
95.62
GitHub Action Run
8 run-3.3-gemfiles/rack_2_2.gemfile - 24629619093.8 19 Apr 2026 12:57PM UTC 153
95.53
GitHub Action Run
9 run-3.3-gemfiles/rails_7_2.gemfile - 24629619093.9 19 Apr 2026 12:56PM UTC 154
95.58
GitHub Action Run
10 run-4.0-gemfiles/multi_json.gemfile - 24629619093.10 19 Apr 2026 12:56PM UTC 153
35.85
GitHub Action Run
11 run-4.0-gemfiles/rack_3_1.gemfile - 24629619093.11 19 Apr 2026 12:57PM UTC 153
95.6
GitHub Action Run
12 run-3.2-gemfiles/rails_8_1.gemfile - 24629619093.12 19 Apr 2026 12:56PM UTC 154
95.62
GitHub Action Run
13 run-3.2-Gemfile - 24629619093.13 19 Apr 2026 12:56PM UTC 153
95.62
GitHub Action Run
14 run-4.0-gemfiles/rack_3_0.gemfile - 24629619093.14 19 Apr 2026 12:57PM UTC 153
95.6
GitHub Action Run
15 run-3.3-gemfiles/rails_8_1.gemfile - 24629619093.15 19 Apr 2026 12:56PM UTC 154
95.58
GitHub Action Run
16 run-3.4-gemfiles/rack_2_2.gemfile - 24629619093.16 19 Apr 2026 12:57PM UTC 153
95.55
GitHub Action Run
17 run-3.4-gemfiles/rails_8_0.gemfile - 24629619093.17 19 Apr 2026 12:57PM UTC 154
95.6
GitHub Action Run
18 run-3.4-gemfiles/rails_7_2.gemfile - 24629619093.18 19 Apr 2026 12:56PM UTC 154
95.6
GitHub Action Run
19 run-3.2-gemfiles/rack_3_2.gemfile - 24629619093.19 19 Apr 2026 12:56PM UTC 153
95.62
GitHub Action Run
20 run-3.4-Gemfile - 24629619093.20 19 Apr 2026 12:56PM UTC 153
95.6
GitHub Action Run
21 run-4.0-gemfiles/hashie.gemfile - 24629619093.21 19 Apr 2026 12:56PM UTC 153
62.21
GitHub Action Run
22 run-3.4-gemfiles/rails_8_1.gemfile - 24629619093.22 19 Apr 2026 12:56PM UTC 154
95.6
GitHub Action Run
23 run-3.2-gemfiles/rack_3_0.gemfile - 24629619093.23 19 Apr 2026 12:56PM UTC 153
95.62
GitHub Action Run
24 run-4.0-gemfiles/dry_validation.gemfile - 24629619093.24 19 Apr 2026 12:57PM UTC 153
57.52
GitHub Action Run
25 run-4.0-gemfiles/grape_entity.gemfile - 24629619093.25 19 Apr 2026 12:57PM UTC 153
49.22
GitHub Action Run
26 run-3.3-Gemfile - 24629619093.26 19 Apr 2026 12:57PM UTC 153
95.57
GitHub Action Run
27 run-3.3-gemfiles/rails_8_0.gemfile - 24629619093.27 19 Apr 2026 12:56PM UTC 154
95.58
GitHub Action Run
28 run-3.3-gemfiles/rack_3_0.gemfile - 24629619093.28 19 Apr 2026 12:56PM UTC 153
95.57
GitHub Action Run
29 run-3.4-gemfiles/rack_3_2.gemfile - 24629619093.29 19 Apr 2026 12:56PM UTC 153
95.6
GitHub Action Run
30 run-4.0-gemfiles/rack_2_2.gemfile - 24629619093.30 19 Apr 2026 12:57PM UTC 153
95.55
GitHub Action Run
31 run-3.2-gemfiles/rails_7_2.gemfile - 24629619093.31 19 Apr 2026 12:56PM UTC 154
95.62
GitHub Action Run
32 run-3.4-gemfiles/rack_3_0.gemfile - 24629619093.32 19 Apr 2026 12:57PM UTC 153
95.6
GitHub Action Run
33 run-3.3-gemfiles/rack_3_2.gemfile - 24629619093.33 19 Apr 2026 12:57PM UTC 153
95.57
GitHub Action Run
34 run-4.0-gemfiles/rails_8_1.gemfile - 24629619093.34 19 Apr 2026 12:57PM UTC 154
95.6
GitHub Action Run
35 run-4.0-gemfiles/rails_7_2.gemfile - 24629619093.35 19 Apr 2026 12:57PM UTC 154
95.6
GitHub Action Run
36 run-4.0-Gemfile - 24629619093.36 19 Apr 2026 12:56PM UTC 153
95.6
GitHub Action Run
37 run-3.2-gemfiles/rails_8_0.gemfile - 24629619093.37 19 Apr 2026 12:56PM UTC 154
95.62
GitHub Action Run
Source Files on build 24629619093
  • Tree
  • List 154
  • 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 #24629619093
  • Pull Request #2683
  • PR Base - master (#24617960772)
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