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

ruby-grape / grape / 25564552185 / 5
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 08 May 2026 03:38PM UTC
Files 156
Run time 10s
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

08 May 2026 03:37PM UTC coverage: 95.608%. Remained the same
25564552185.5

push

github

web-flow
Fix README typos, remove obsolete Fixnum section, and clarify optional + values (#2700)

Spelling and grammar:
- "given on an `configuration`" → "based on a `configuration`"
- "Accept` head" → "Accept` header"
- "won't affects" → "won't affect"
- "with' blocks" → "with` blocks" (mismatched quote)
- `required :beer` / `:wine` / `:blah` → `requires` (the DSL method
  is `requires`; the samples as written would raise NoMethodError)
- "the the [grape-entity]" → "the [grape-entity]"

Accuracy:
- §"Accept-Version Header": the strict-mode sentence said the 406 was
  raised when no correct `Accept` header was supplied; the middleware
  checks `HTTP_ACCEPT_VERSION`, so corrected to "Accept-Version".
- "Rack::Etag" → "Rack::ETag" (correct class name).
- Removed the "Integer/Fixnum and Coercions" section comparing Ruby
  2.4 vs. earlier — `grape.gemspec` requires Ruby >= 3.2, where
  `Fixnum` no longer exists.

Replaces an incorrect note about `requires + values + allow_blank`
(closes #2631) with a correct note covering `optional + values`. The
deleted note claimed `:allow_blank` defaults to `true` and that
absence of `:allow_blank` does not prevent `:state` from receiving
blank values — both wrong: `@allow_blank` defaults to `nil`, and
`requires` already rejects `nil` via the values validator. The real
quirk is `optional + values`: `ValuesValidator#validate_param!`
short-circuits on `nil` whenever the param is optional at the root
scope, so missing/`nil`/`""`-coerced-to-`nil` all pass. The new note
documents that and shows `allow_blank: false` as the way to opt out
while still allowing the key to be absent.

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

1055 of 1165 branches covered (90.56%)

Branch coverage included in aggregate %.

3364 of 3457 relevant lines covered (97.31%)

1008.59 hits per line

Source Files on job run-3.3-gemfiles/rack_3_0.gemfile - 25564552185.5
  • Tree
  • List 156
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25564552185
  • a83fd7ed on github
  • Prev Job for on master (#25406647923.33)
  • Next Job for on master (#25583726063.33)
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