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

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

Build:
Build:
LAST BUILD BRANCH: perf/build-headers-each-header
DEFAULT BRANCH: master
Ran 20 Apr 2026 10:24PM 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:23PM UTC coverage: 96.911% (+0.02%) from 96.893%
24693461892

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.

3353 of 3407 relevant lines covered (98.42%)

32337.69 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/rails_8_0.gemfile - 24693461892.1 20 Apr 2026 10:24PM UTC 155
95.59
GitHub Action Run
2 run-4.0-gemfiles/rack_3_1.gemfile - 24693461892.2 20 Apr 2026 10:25PM UTC 154
95.59
GitHub Action Run
3 run-4.0-gemfiles/dry_validation.gemfile - 24693461892.3 20 Apr 2026 10:24PM UTC 154
57.61
GitHub Action Run
4 run-3.2-gemfiles/rack_2_2.gemfile - 24693461892.4 20 Apr 2026 10:24PM UTC 154
95.57
GitHub Action Run
5 run-4.0-gemfiles/rails_8_1.gemfile - 24693461892.5 20 Apr 2026 10:24PM UTC 155
95.59
GitHub Action Run
6 run-3.3-gemfiles/rack_3_2.gemfile - 24693461892.6 20 Apr 2026 10:24PM UTC 154
95.56
GitHub Action Run
7 run-3.4-gemfiles/rack_3_2.gemfile - 24693461892.7 20 Apr 2026 10:24PM UTC 154
95.59
GitHub Action Run
8 run-3.3-Gemfile - 24693461892.8 20 Apr 2026 10:24PM UTC 154
95.56
GitHub Action Run
9 run-3.2-gemfiles/rack_3_2.gemfile - 24693461892.9 20 Apr 2026 10:24PM UTC 154
95.61
GitHub Action Run
10 run-3.3-gemfiles/rack_2_2.gemfile - 24693461892.10 20 Apr 2026 10:24PM UTC 154
95.52
GitHub Action Run
11 run-4.0-gemfiles/multi_json.gemfile - 24693461892.11 20 Apr 2026 10:24PM UTC 154
35.91
GitHub Action Run
12 run-4.0-gemfiles/rack_3_2.gemfile - 24693461892.12 20 Apr 2026 10:24PM UTC 154
95.59
GitHub Action Run
13 run-3.2-gemfiles/rails_8_1.gemfile - 24693461892.13 20 Apr 2026 10:24PM UTC 155
95.61
GitHub Action Run
14 run-3.4-gemfiles/rails_8_1.gemfile - 24693461892.14 20 Apr 2026 10:24PM UTC 155
95.59
GitHub Action Run
15 run-3.4-gemfiles/rails_8_0.gemfile - 24693461892.15 20 Apr 2026 10:25PM UTC 155
95.59
GitHub Action Run
16 run-4.0-gemfiles/rack_2_2.gemfile - 24693461892.16 20 Apr 2026 10:24PM UTC 154
95.54
GitHub Action Run
17 run-3.3-gemfiles/rack_3_1.gemfile - 24693461892.17 20 Apr 2026 10:24PM UTC 154
95.56
GitHub Action Run
18 run-3.4-gemfiles/rails_7_2.gemfile - 24693461892.18 20 Apr 2026 10:24PM UTC 155
95.59
GitHub Action Run
19 run-3.3-gemfiles/rails_7_2.gemfile - 24693461892.19 20 Apr 2026 10:24PM UTC 155
95.57
GitHub Action Run
20 run-4.0-gemfiles/hashie.gemfile - 24693461892.20 20 Apr 2026 10:24PM UTC 154
62.35
GitHub Action Run
21 run-3.2-gemfiles/rack_3_0.gemfile - 24693461892.21 20 Apr 2026 10:24PM UTC 154
95.61
GitHub Action Run
22 run-3.3-gemfiles/rails_8_1.gemfile - 24693461892.22 20 Apr 2026 10:24PM UTC 155
95.57
GitHub Action Run
23 run-4.0-gemfiles/multi_xml.gemfile - 24693461892.23 20 Apr 2026 10:25PM UTC 154
35.91
GitHub Action Run
24 run-3.2-gemfiles/rails_8_0.gemfile - 24693461892.24 20 Apr 2026 10:24PM UTC 155
95.61
GitHub Action Run
25 run-4.0-gemfiles/rails_7_2.gemfile - 24693461892.25 20 Apr 2026 10:24PM UTC 155
95.59
GitHub Action Run
26 run-3.2-Gemfile - 24693461892.26 20 Apr 2026 10:24PM UTC 154
95.61
GitHub Action Run
27 run-4.0-gemfiles/rack_3_0.gemfile - 24693461892.27 20 Apr 2026 10:24PM UTC 154
95.59
GitHub Action Run
28 run-3.3-gemfiles/rack_3_0.gemfile - 24693461892.28 20 Apr 2026 10:24PM UTC 154
95.56
GitHub Action Run
29 run-3.4-gemfiles/rack_3_1.gemfile - 24693461892.29 20 Apr 2026 10:24PM UTC 154
95.59
GitHub Action Run
30 run-3.2-gemfiles/rack_3_1.gemfile - 24693461892.30 20 Apr 2026 10:24PM UTC 154
95.61
GitHub Action Run
31 run-4.0-Gemfile - 24693461892.31 20 Apr 2026 10:24PM UTC 154
95.59
GitHub Action Run
32 run-4.0-gemfiles/grape_entity.gemfile - 24693461892.32 20 Apr 2026 10:24PM UTC 154
49.4
GitHub Action Run
33 run-3.2-gemfiles/rails_7_2.gemfile - 24693461892.33 20 Apr 2026 10:24PM UTC 155
95.61
GitHub Action Run
34 run-3.4-Gemfile - 24693461892.34 20 Apr 2026 10:24PM UTC 154
95.59
GitHub Action Run
35 run-3.3-gemfiles/rails_8_0.gemfile - 24693461892.35 20 Apr 2026 10:24PM UTC 155
95.57
GitHub Action Run
36 run-3.4-gemfiles/rack_2_2.gemfile - 24693461892.36 20 Apr 2026 10:24PM UTC 154
95.54
GitHub Action Run
37 run-3.4-gemfiles/rack_3_0.gemfile - 24693461892.37 20 Apr 2026 10:24PM UTC 154
95.59
GitHub Action Run
Source Files on build 24693461892
  • 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 #24693461892
  • Pull Request #2683
  • PR Base - master (#24636068189)
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