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

ruby-grape / grape / 24693774069 / 23
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 10:33PM UTC
Files 155
Run time 9s
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.583% (-0.006%) from 95.589%
24693774069.23

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>

1046 of 1157 branches covered (90.41%)

Branch coverage included in aggregate %.

3304 of 3394 relevant lines covered (97.35%)

1008.6 hits per line

Source Files on job run-3.3-gemfiles/rails_8_0.gemfile - 24693774069.23
  • Tree
  • List 155
  • 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.28)
  • 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