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

ruby-grape / grape / 42788093339
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: ractor-mode
DEFAULT BRANCH: master
Ran 10 Nov 2026 09:07AM UTC
Jobs 23
Files 179
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

10 Nov 2026 02:04AM UTC coverage: 100.0%. Remained the same
42788093339

push

github

ericproulx
Work out what declared files each param under when the endpoint compiles

`declared` answers, for each declared param, the key it is filed under
(its name, or the one `as:` gave it) and the empty value it stands for
when it was not passed (an Array, a Set or a Hash, after its documented
type). Neither depends on the request, and both were worked out again on
every call: the path to the param built to look its new name up, its
documented name spelled out to look its type up, that type matched
against the ones that have an empty value, and for a Hash every
documented param scanned for a child.

`Grape::DeclaredParams` holds them per endpoint, built by
`Endpoint#compile!` as `Validations::UndeclaredParams` is, and
`DeclaredParamsHandler` walks its params.

A param a `desc` documents by hand with a type that is not a String, or
with no Hash of details, has no empty value. `declared` raised on it
when it was not passed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

1623 of 1623 branches covered (100.0%)

Branch coverage included in aggregate %.

67 of 67 new or added lines in 4 files covered. (100.0%)

4714 of 4714 relevant lines covered (100.0%)

21945.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rails_8_0.gemfile - 42788093339.1 10 Nov 2026 09:08AM UTC 179
98.88
GitHub Action Run
2 run-4.0-gemfiles/rack_3_2.gemfile - 42788093339.2 10 Nov 2026 09:08AM UTC 178
98.88
GitHub Action Run
3 run-4.0-gemfiles/rails_8_1.gemfile - 42788093339.3 10 Nov 2026 09:08AM UTC 179
98.88
GitHub Action Run
4 run-3.4-Gemfile - 42788093339.4 10 Nov 2026 09:08AM UTC 178
98.88
GitHub Action Run
5 run-3.4-gemfiles/rails_8_1.gemfile - 42788093339.5 10 Nov 2026 09:08AM UTC 179
98.88
GitHub Action Run
6 run-3.3-gemfiles/rails_8_0.gemfile - 42788093339.6 10 Nov 2026 09:08AM UTC 179
98.89
GitHub Action Run
7 run-3.4-gemfiles/rails_8_0.gemfile - 42788093339.7 10 Nov 2026 09:08AM UTC 179
98.88
GitHub Action Run
8 run-4.0-gemfiles/multi_xml_0_8.gemfile - 42788093339.8 10 Nov 2026 09:07AM UTC 177
45.84
GitHub Action Run
9 run-3.4-gemfiles/rack_3_1.gemfile - 42788093339.9 10 Nov 2026 09:08AM UTC 178
98.88
GitHub Action Run
10 run-4.0-gemfiles/rack_3_1.gemfile - 42788093339.10 10 Nov 2026 09:08AM UTC 178
98.88
GitHub Action Run
11 run-4.0-gemfiles/hashie.gemfile - 42788093339.11 10 Nov 2026 09:07AM UTC 177
59.31
GitHub Action Run
12 run-3.4-gemfiles/rack_3_2.gemfile - 42788093339.12 10 Nov 2026 09:08AM UTC 178
98.88
GitHub Action Run
13 run-4.0-Gemfile - 42788093339.13 10 Nov 2026 09:08AM UTC 178
98.88
GitHub Action Run
14 run-4.0-gemfiles/multi_json_1_20.gemfile - 42788093339.14 10 Nov 2026 09:08AM UTC 177
46.08
GitHub Action Run
15 run-3.3-gemfiles/rack_3_2.gemfile - 42788093339.15 10 Nov 2026 09:08AM UTC 178
98.89
GitHub Action Run
16 run-3.3-gemfiles/rack_3_1.gemfile - 42788093339.16 10 Nov 2026 09:08AM UTC 178
98.89
GitHub Action Run
17 run-4.0-gemfiles/grape_entity.gemfile - 42788093339.17 10 Nov 2026 09:07AM UTC 177
48.88
GitHub Action Run
18 run-3.3-gemfiles/rails_8_1.gemfile - 42788093339.18 10 Nov 2026 09:08AM UTC 179
98.89
GitHub Action Run
19 run-4.0-gemfiles/multi_xml.gemfile - 42788093339.19 10 Nov 2026 09:08AM UTC 177
45.81
GitHub Action Run
20 run-4.0-gemfiles/dry_validation.gemfile - 42788093339.20 10 Nov 2026 09:08AM UTC 177
57.05
GitHub Action Run
21 run-3.3-Gemfile - 42788093339.21 10 Nov 2026 09:08AM UTC 178
98.89
GitHub Action Run
22 run-4.0-gemfiles/grape_swagger.gemfile - 42788093339.22 10 Nov 2026 09:08AM UTC 177
53.3
GitHub Action Run
23 run-4.0-gemfiles/multi_json.gemfile - 42788093339.23 10 Nov 2026 09:07AM UTC 177
46.05
GitHub Action Run
Source Files on build 42788093339
  • Tree
  • List 179
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42788093339
  • f6e890c5 on github
  • Prev Build on master (#42706203500)
  • Next Build on perf/declared-params-compiled (#42788490657)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc