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

ruby-grape / grape / 41224667323
100%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2026 05:28PM UTC
Jobs 19
Files 176
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

31 Oct 2026 05:28PM UTC coverage: 99.156% (-0.8%) from 99.967%
41224667323

push

github

web-flow
Split the router's miss and cascade paths and rename its methods (#3047)

#settle and #neighbours handled two situations, no route matching and a route
declining, and told them apart with a `cascaded` flag. That flag was true
exactly when a route had matched, so it is replaced by two paths: #after_miss
looks for the allowed methods and the ANY routes, #after_cascade tries the
siblings and the ANY routes. #halt?, a predicate that closed a body as a side
effect, goes with it.

The names said something else, so:

- `transaction` is `dispatch`: there is no atomicity or rollback in it.
- `match?`, `greedy_match?` and `neighbour_match?` return a route, so they are
  `star_route_for`, `allowed_methods_route_for` and `neighbour_route_for`.
- `GreedyRoute` is `AllowedMethodsRoute`: it matches on the path whatever the
  method, and only ever answers with the methods the path allows. Nothing in
  the ruby-grape org uses the constant outside this repo.

The two lookups that repeated `routes.detect` go through `matched_route`.

This is #3044, which merged into #3043's branch after #3043 had already merged,
so it never reached master.

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

1496 of 1513 branches covered (98.88%)

Branch coverage included in aggregate %.

38 of 38 new or added lines in 3 files covered. (100.0%)

33 existing lines in 6 files now uncovered.

4498 of 4532 relevant lines covered (99.25%)

19165.74 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
42.31
-57.69% lib/grape/validations/validators/contract_scope_validator.rb
8
25.0
-75.0% lib/grape/validations/contract_scope.rb
7
65.22
-34.78% lib/grape/json.rb
4
85.29
-14.71% lib/grape/dsl/entity.rb
2
94.92
-5.08% lib/grape/error_formatter/base.rb
1
99.69
-0.31% lib/grape/util/inheritable_setting.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_3_2.gemfile - 41224667323.1 31 Oct 2026 05:28PM UTC 175
98.82
GitHub Action Run
2 run-3.4-gemfiles/rails_7_2.gemfile - 41224667323.2 31 Oct 2026 05:28PM UTC 176
98.83
GitHub Action Run
3 run-3.3-gemfiles/rails_8_1.gemfile - 41224667323.3 31 Oct 2026 05:28PM UTC 176
98.84
GitHub Action Run
4 run-4.0-Gemfile - 41224667323.4 31 Oct 2026 05:28PM UTC 175
98.82
GitHub Action Run
5 run-4.0-gemfiles/hashie.gemfile - 41224667323.5 31 Oct 2026 05:28PM UTC 174
60.34
GitHub Action Run
6 run-3.3-gemfiles/rails_8_0.gemfile - 41224667323.6 31 Oct 2026 05:28PM UTC 176
98.84
GitHub Action Run
7 run-3.3-gemfiles/rack_2_2.gemfile - 41224667323.7 31 Oct 2026 05:28PM UTC 175
98.81
GitHub Action Run
8 run-4.0-gemfiles/rails_7_2.gemfile - 41224667323.8 31 Oct 2026 05:28PM UTC 176
98.83
GitHub Action Run
9 run-3.3-gemfiles/rack_3_0.gemfile - 41224667323.9 31 Oct 2026 05:28PM UTC 175
98.84
GitHub Action Run
10 run-4.0-gemfiles/rails_8_0.gemfile - 41224667323.10 31 Oct 2026 05:28PM UTC 176
98.83
GitHub Action Run
11 run-3.4-gemfiles/rack_3_1.gemfile - 41224667323.11 31 Oct 2026 05:28PM UTC 175
98.82
GitHub Action Run
12 run-3.4-gemfiles/rack_2_2.gemfile - 41224667323.12 31 Oct 2026 05:28PM UTC 175
98.79
GitHub Action Run
13 run-4.0-gemfiles/multi_json.gemfile - 41224667323.13 31 Oct 2026 05:28PM UTC 174
46.63
GitHub Action Run
14 run-3.4-Gemfile - 41224667323.14 31 Oct 2026 05:28PM UTC 175
98.82
GitHub Action Run
15 run-4.0-gemfiles/multi_xml.gemfile - 41224667323.15 31 Oct 2026 05:28PM UTC 174
46.37
GitHub Action Run
16 run-4.0-gemfiles/multi_xml_0_8.gemfile - 41224667323.16 31 Oct 2026 05:28PM UTC 174
46.4
GitHub Action Run
17 run-4.0-gemfiles/rack_3_1.gemfile - 41224667323.17 31 Oct 2026 05:28PM UTC 175
98.82
GitHub Action Run
18 run-4.0-gemfiles/rack_3_2.gemfile - 41224667323.18 31 Oct 2026 05:28PM UTC 175
98.82
GitHub Action Run
19 run-4.0-gemfiles/rack_3_0.gemfile - 41224667323.19 31 Oct 2026 05:28PM UTC 175
98.82
GitHub Action Run
Source Files on build 41224667323
  • Tree
  • List 176
  • Changed 5
  • Source Changed 5
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41224667323
  • 36a3d553 on github
  • Prev Build on master (#41223761146)
  • Next Build on master (#41295296488)
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