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

ruby-grape / grape / 24693774069 / 28

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 10:33PM UTC
Files 154
Run time 8s
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:32PM UTC coverage: 95.601% (-0.006%) from 95.607%
24693774069.28

push

github

web-flow
Readability: case/when, guard clauses, small cleanups (#2684)

Mechanical readability refactors across validators, DSLs, and formatters:

- inside_route.rb: sendfile dispatched via case/when on value type.
- parameters.rb: map_params switched to case/when; EmptyOptionalValue
  simplified to a frozen Object.new; method order tidied.
- error_formatter/json.rb: wrap_message dispatched via case/when.
- middleware/formatter.rb: guard-clause returns in ensure_content_type
  and read_rack_input; bodies.collect -> bodies.map.
- validations/types.rb: create_coercer_instance rewritten as a
  priority-list of guards with comments above each branch; shared
  array_or_set? predicate extracted; redundant Types. prefix dropped.
- validations/types/primitive_coercer.rb: reject? rewritten as case/when
  with String/Array|Hash dispatch.
- validators/except_values_validator.rb: lift except.is_a?(Proc) to a
  local to avoid recomputing it.

No behavior change.

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

1045 of 1155 branches covered (90.48%)

Branch coverage included in aggregate %.

3302 of 3392 relevant lines covered (97.35%)

1008.95 hits per line

Source Files on job run-3.4-Gemfile - 24693774069.28
  • Tree
  • List 154
  • Changed 7
  • Source Changed 7
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 24693774069
  • f4062eae on github
  • Prev Job for on master (#24693636281.6)
  • Next Job for on master (#24693877550.3)
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