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

ruby-grape / grape / 34715284442
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: feat/lint-router
DEFAULT BRANCH: master
Ran 12 Sep 2026 07:49PM UTC
Jobs 32
Files 169
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

12 Sep 2026 07:48PM UTC coverage: 99.164%. Remained the same
34715284442

push

github

ericproulx
Correct code comments that no longer match the code

A pass over every comment under lib/ against the code it describes, with
each correction kept short.

Behaviour the comments got wrong, checked by running it:
- A `requires` without a type is not coerced; String is not a default.
- `desc` takes keyword options only; a positional Hash raises rather than
  being deprecated.
- A namespace requirement that is not met leaves the route unmatched
  (404), not a 422.
- The param versioner sets no version when none is passed, and neither it
  nor the path versioner rewrites the path.
- The formatter is chosen by the negotiated format, not by a Content-Type
  header set in the endpoint.
- The `sendfile` and `collection_coercer_for` examples raise as written.
- MultipleTypeCoercer coerces one value of several types, not an Array.
- InheritableSetting#stacked and #inheritable_values can hand back the
  root scope's own store, not the calling scope's.
- Grape::API does respond to `inheritable_setting`.

Docs attached to the wrong thing, or naming what no longer exists:
- The `rescue_from` description sat above META_RESCUE_SELECTORS, so YARD
  gave it to the constant; the constant now comes first.
- The positional-Hash `@deprecated` tag moves from `declare` to
  `legacy_options?`.
- `build_with` no longer lists the removed Grape::Extensions builders.
- Helpers are included into a subclass, not the singleton class;
  AsValidator is never dispatched; `#namespace_start` does not exist.
- The YARD params of ParamsScope.new, `given`, `declared`, `route_param`
  and the coercers match their signatures.

Plus smaller corrections and typos.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

1347 of 1393 branches covered (96.7%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

4108 of 4108 relevant lines covered (100.0%)

26778.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_2_2.gemfile - 34715284442.1 12 Sep 2026 07:50PM UTC 168
97.85
GitHub Action Run
2 run-4.0-gemfiles/multi_json.gemfile - 34715284442.2 12 Sep 2026 07:49PM UTC 167
46.75
GitHub Action Run
3 run-3.4-gemfiles/rack_2_2.gemfile - 34715284442.3 12 Sep 2026 07:49PM UTC 168
97.85
GitHub Action Run
4 run-3.4-gemfiles/rails_7_2.gemfile - 34715284442.4 12 Sep 2026 07:51PM UTC 169
97.89
GitHub Action Run
5 run-4.0-gemfiles/hashie.gemfile - 34715284442.5 12 Sep 2026 07:49PM UTC 167
61.07
GitHub Action Run
6 run-3.4-gemfiles/rack_3_2.gemfile - 34715284442.6 12 Sep 2026 07:49PM UTC 168
97.87
GitHub Action Run
7 run-3.3-gemfiles/rails_8_0.gemfile - 34715284442.7 12 Sep 2026 07:50PM UTC 169
97.89
GitHub Action Run
8 run-4.0-gemfiles/multi_xml_0_8.gemfile - 34715284442.8 12 Sep 2026 07:49PM UTC 167
46.52
GitHub Action Run
9 run-4.0-gemfiles/rack_3_0.gemfile - 34715284442.9 12 Sep 2026 07:50PM UTC 168
97.89
GitHub Action Run
10 run-3.3-gemfiles/rails_8_1.gemfile - 34715284442.10 12 Sep 2026 07:49PM UTC 169
97.89
GitHub Action Run
11 run-3.3-gemfiles/rack_3_2.gemfile - 34715284442.11 12 Sep 2026 07:50PM UTC 168
97.89
GitHub Action Run
12 run-4.0-gemfiles/grape_swagger.gemfile - 34715284442.12 12 Sep 2026 07:50PM UTC 167
54.0
GitHub Action Run
13 run-3.3-gemfiles/rack_3_0.gemfile - 34715284442.13 12 Sep 2026 07:50PM UTC 168
97.91
GitHub Action Run
14 run-4.0-gemfiles/grape_entity.gemfile - 34715284442.14 12 Sep 2026 07:49PM UTC 167
49.73
GitHub Action Run
15 run-4.0-gemfiles/rails_7_2.gemfile - 34715284442.15 12 Sep 2026 07:51PM UTC 169
97.87
GitHub Action Run
16 run-3.4-gemfiles/rack_3_1.gemfile - 34715284442.16 12 Sep 2026 07:50PM UTC 168
97.87
GitHub Action Run
17 run-4.0-gemfiles/rails_8_0.gemfile - 34715284442.17 12 Sep 2026 07:51PM UTC 169
97.89
GitHub Action Run
18 run-4.0-gemfiles/rack_3_2.gemfile - 34715284442.18 12 Sep 2026 07:49PM UTC 168
97.89
GitHub Action Run
19 run-3.3-gemfiles/rack_3_1.gemfile - 34715284442.19 12 Sep 2026 07:49PM UTC 168
97.89
GitHub Action Run
20 run-4.0-gemfiles/multi_xml.gemfile - 34715284442.20 12 Sep 2026 07:49PM UTC 167
46.48
GitHub Action Run
21 run-4.0-gemfiles/rack_3_1.gemfile - 34715284442.21 12 Sep 2026 07:51PM UTC 168
97.89
GitHub Action Run
22 run-3.3-Gemfile - 34715284442.22 12 Sep 2026 07:49PM UTC 168
97.89
GitHub Action Run
23 run-4.0-gemfiles/multi_json_1_20.gemfile - 34715284442.23 12 Sep 2026 07:49PM UTC 167
46.79
GitHub Action Run
24 run-4.0-Gemfile - 34715284442.24 12 Sep 2026 07:50PM UTC 168
97.89
GitHub Action Run
25 run-3.4-Gemfile - 34715284442.25 12 Sep 2026 07:49PM UTC 168
97.87
GitHub Action Run
26 run-4.0-gemfiles/rack_2_2.gemfile - 34715284442.26 12 Sep 2026 07:49PM UTC 168
97.83
GitHub Action Run
27 run-3.4-gemfiles/rails_8_1.gemfile - 34715284442.27 12 Sep 2026 07:49PM UTC 169
97.89
GitHub Action Run
28 run-3.3-gemfiles/rails_7_2.gemfile - 34715284442.28 12 Sep 2026 07:49PM UTC 169
97.91
GitHub Action Run
29 run-4.0-gemfiles/rails_8_1.gemfile - 34715284442.29 12 Sep 2026 07:50PM UTC 169
97.89
GitHub Action Run
30 run-4.0-gemfiles/dry_validation.gemfile - 34715284442.30 12 Sep 2026 07:49PM UTC 167
56.92
GitHub Action Run
31 run-3.4-gemfiles/rack_3_0.gemfile - 34715284442.31 12 Sep 2026 07:51PM UTC 168
97.89
GitHub Action Run
32 run-3.4-gemfiles/rails_8_0.gemfile - 34715284442.32 12 Sep 2026 07:49PM UTC 169
97.89
GitHub Action Run
Source Files on build 34715284442
  • Tree
  • List 169
  • Changed 39
  • Source Changed 38
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34715284442
  • f39fd5b6 on github
  • Prev Build on master (#34713252847)
  • Next Build on chore/align-comments-with-code (#34715294798)
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