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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 12 May 2026 06:57AM UTC
Jobs 37
Files 158
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 May 2026 06:56AM UTC coverage: 97.028% (+0.01%) from 97.016%
25718676609

push

github

ericproulx
Lift trailing if/else into guard clauses; tighten Lazy::ValueEnumerable

- DSL::InsideRoute#content_type: `if val` if/else -> guard clause.
- DSL::InsideRoute default status: collapse the delete-branch if/else
  into a ternary inline with the surrounding `case/elsif`.
- Middleware::Error#run_rescue_handler: lift the three-arm if/elsif/else
  on `response` into two early-return guards.
- Middleware::Versioner::Header#strict_accept_header_negotiation: lift
  `if media_type` into a guard clause returning the yielded value.
- Path#build_suffix: lift the three-arm if/elsif/else into guards;
  inline the `!a || (b || c)` De Morgan as `!a || b || c`.
- Validations::ParamsScope#build_full_path: lift the three-arm
  if/elsif/else into guards.
- Util::Lazy::ValueEnumerable:
  - `[]`: if/else -> guard clause for the missing-key path.
  - `fetch`: replace dup+shift+recursion with a flat `reduce`.
  - `[]=`: pull the Hash/Array/else case dispatch into a `value_class`
    local so the single `@value_hash[key] = value_class.new(value)`
    assignment is shared.

No behaviour change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

1096 of 1179 branches covered (92.96%)

Branch coverage included in aggregate %.

21 of 22 new or added lines in 6 files covered. (95.45%)

3442 of 3498 relevant lines covered (98.4%)

32102.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
90.0
2.5% lib/grape/util/lazy/value_enumerable.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.2-gemfiles/rails_7_2.gemfile - 25718676609.1 12 May 2026 06:58AM UTC 158
95.76
GitHub Action Run
2 run-3.3-gemfiles/rack_2_2.gemfile - 25718676609.2 12 May 2026 06:57AM UTC 157
95.67
GitHub Action Run
3 run-4.0-gemfiles/rack_3_0.gemfile - 25718676609.3 12 May 2026 06:59AM UTC 157
95.74
GitHub Action Run
4 run-4.0-gemfiles/multi_xml.gemfile - 25718676609.4 12 May 2026 06:58AM UTC 157
36.03
GitHub Action Run
5 run-3.4-gemfiles/rails_8_1.gemfile - 25718676609.5 12 May 2026 06:58AM UTC 158
95.74
GitHub Action Run
6 run-3.3-gemfiles/rails_8_1.gemfile - 25718676609.6 12 May 2026 06:58AM UTC 158
95.72
GitHub Action Run
7 run-4.0-gemfiles/dry_validation.gemfile - 25718676609.7 12 May 2026 06:58AM UTC 157
58.06
GitHub Action Run
8 run-4.0-gemfiles/rails_7_2.gemfile - 25718676609.8 12 May 2026 06:58AM UTC 158
95.74
GitHub Action Run
9 run-3.3-gemfiles/rails_7_2.gemfile - 25718676609.9 12 May 2026 06:58AM UTC 158
95.72
GitHub Action Run
10 run-3.4-gemfiles/rack_3_2.gemfile - 25718676609.10 12 May 2026 06:57AM UTC 157
95.74
GitHub Action Run
11 run-3.3-gemfiles/rack_3_2.gemfile - 25718676609.11 12 May 2026 06:57AM UTC 157
95.71
GitHub Action Run
12 run-3.2-gemfiles/rack_3_2.gemfile - 25718676609.12 12 May 2026 06:58AM UTC 157
95.76
GitHub Action Run
13 run-3.3-gemfiles/rack_3_0.gemfile - 25718676609.13 12 May 2026 06:58AM UTC 157
95.71
GitHub Action Run
14 run-4.0-gemfiles/rack_2_2.gemfile - 25718676609.14 12 May 2026 06:58AM UTC 157
95.69
GitHub Action Run
15 run-3.2-gemfiles/rails_8_0.gemfile - 25718676609.15 12 May 2026 06:58AM UTC 158
95.76
GitHub Action Run
16 run-4.0-gemfiles/rack_3_2.gemfile - 25718676609.16 12 May 2026 06:58AM UTC 157
95.74
GitHub Action Run
17 run-3.2-gemfiles/rack_3_1.gemfile - 25718676609.17 12 May 2026 06:58AM UTC 157
95.76
GitHub Action Run
18 run-3.3-Gemfile - 25718676609.18 12 May 2026 06:57AM UTC 157
95.71
GitHub Action Run
19 run-4.0-Gemfile - 25718676609.19 12 May 2026 06:59AM UTC 157
95.74
GitHub Action Run
20 run-3.4-gemfiles/rack_3_1.gemfile - 25718676609.20 12 May 2026 06:58AM UTC 157
95.74
GitHub Action Run
21 run-3.4-gemfiles/rails_7_2.gemfile - 25718676609.21 12 May 2026 06:58AM UTC 158
95.74
GitHub Action Run
22 run-3.2-gemfiles/rails_8_1.gemfile - 25718676609.22 12 May 2026 06:58AM UTC 158
95.76
GitHub Action Run
23 run-3.3-gemfiles/rails_8_0.gemfile - 25718676609.23 12 May 2026 06:58AM UTC 158
95.72
GitHub Action Run
24 run-3.3-gemfiles/rack_3_1.gemfile - 25718676609.24 12 May 2026 06:56AM UTC 157
95.71
GitHub Action Run
25 run-3.4-gemfiles/rails_8_0.gemfile - 25718676609.25 12 May 2026 06:58AM UTC 158
95.74
GitHub Action Run
26 run-3.2-gemfiles/rack_3_0.gemfile - 25718676609.26 12 May 2026 06:57AM UTC 157
95.76
GitHub Action Run
27 run-4.0-gemfiles/rails_8_1.gemfile - 25718676609.27 12 May 2026 06:59AM UTC 158
95.74
GitHub Action Run
28 run-4.0-gemfiles/multi_json.gemfile - 25718676609.28 12 May 2026 06:58AM UTC 157
36.03
GitHub Action Run
29 run-4.0-gemfiles/rails_8_0.gemfile - 25718676609.29 12 May 2026 06:58AM UTC 158
95.74
GitHub Action Run
30 run-3.4-gemfiles/rack_2_2.gemfile - 25718676609.30 12 May 2026 06:58AM UTC 157
95.69
GitHub Action Run
31 run-4.0-gemfiles/hashie.gemfile - 25718676609.31 12 May 2026 06:58AM UTC 157
62.58
GitHub Action Run
32 run-3.4-gemfiles/rack_3_0.gemfile - 25718676609.32 12 May 2026 06:58AM UTC 157
95.74
GitHub Action Run
33 run-3.4-Gemfile - 25718676609.33 12 May 2026 06:57AM UTC 157
95.74
GitHub Action Run
34 run-4.0-gemfiles/rack_3_1.gemfile - 25718676609.34 12 May 2026 06:58AM UTC 157
95.74
GitHub Action Run
35 run-3.2-gemfiles/rack_2_2.gemfile - 25718676609.35 12 May 2026 06:57AM UTC 157
95.72
GitHub Action Run
36 run-3.2-Gemfile - 25718676609.36 12 May 2026 06:58AM UTC 157
95.76
GitHub Action Run
37 run-4.0-gemfiles/grape_entity.gemfile - 25718676609.37 12 May 2026 06:58AM UTC 157
49.91
GitHub Action Run
Source Files on build 25718676609
  • Tree
  • List 158
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25718676609
  • 8fcbfb7d on github
  • Prev Build on master (#25643371840)
  • Next Build on refactor/guard-clauses-style (#25718700738)
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