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

ruby-grape / grape / 44817886904
100%

Build:
DEFAULT BRANCH: master
Ran 20 Nov 2026 09:10PM UTC
Jobs 23
Files 178
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

20 Nov 2026 09:10PM UTC coverage: 100.0%. Remained the same
44817886904

push

github

web-flow
Leave out the undeclared params inside a param its validators rejected (#3082)

With Grape.config.allow_undeclared_params = false, a param sent in a
shape its scope does not take was reported twice: once by its type
check, then once for each key it held, as though it had the right
shape.

    requires :items, type: Array do
      requires :sku, type: String
    end

    items: { sku: 'a', price: 1 }
    # => items is invalid, items[price] is not allowed

The same went for a Hash scope sent an Array (address is invalid,
address[0][zip] is not allowed) and for a contract's array sent a Hash
(lines must be an array, lines[price] is not allowed).

The undeclared check now leaves out what sits inside a param the
validators already rejected. The request is answered 400 either way, so
nothing undeclared gets through. Skipping a value by its shape alone
would have let one through: the validators of a given whose dependency
is not met never run, so nothing else would reject it.

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

1623 of 1623 branches covered (100.0%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 2 files covered. (100.0%)

4713 of 4713 relevant lines covered (100.0%)

21515.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_xml_0_8.gemfile - 44817886904.1 20 Nov 2026 09:10PM UTC 176
45.64
GitHub Action Run
2 run-3.3-Gemfile - 44817886904.2 20 Nov 2026 09:10PM UTC 177
98.89
GitHub Action Run
3 run-3.3-gemfiles/rack_3_1.gemfile - 44817886904.3 20 Nov 2026 09:10PM UTC 177
98.89
GitHub Action Run
4 run-4.0-Gemfile - 44817886904.4 20 Nov 2026 09:10PM UTC 177
98.88
GitHub Action Run
5 run-3.4-Gemfile - 44817886904.5 20 Nov 2026 09:10PM UTC 177
98.88
GitHub Action Run
6 run-4.0-gemfiles/rails_8_1.gemfile - 44817886904.6 20 Nov 2026 09:10PM UTC 178
98.88
GitHub Action Run
7 run-3.4-gemfiles/rails_8_1.gemfile - 44817886904.7 20 Nov 2026 09:10PM UTC 178
98.88
GitHub Action Run
8 run-3.3-gemfiles/rails_8_0.gemfile - 44817886904.8 20 Nov 2026 09:10PM UTC 178
98.89
GitHub Action Run
9 run-4.0-gemfiles/multi_json.gemfile - 44817886904.9 20 Nov 2026 09:10PM UTC 176
45.85
GitHub Action Run
10 run-3.4-gemfiles/rails_8_0.gemfile - 44817886904.10 20 Nov 2026 09:10PM UTC 178
98.88
GitHub Action Run
11 run-4.0-gemfiles/multi_json_1_20.gemfile - 44817886904.11 20 Nov 2026 09:10PM UTC 176
45.88
GitHub Action Run
12 run-4.0-gemfiles/grape_entity.gemfile - 44817886904.12 20 Nov 2026 09:10PM UTC 176
48.58
GitHub Action Run
13 run-4.0-gemfiles/rack_3_1.gemfile - 44817886904.13 20 Nov 2026 09:10PM UTC 177
98.88
GitHub Action Run
14 run-3.3-gemfiles/rack_3_2.gemfile - 44817886904.14 20 Nov 2026 09:10PM UTC 177
98.89
GitHub Action Run
15 run-4.0-gemfiles/multi_xml.gemfile - 44817886904.15 20 Nov 2026 09:10PM UTC 176
45.61
GitHub Action Run
16 run-4.0-gemfiles/rack_3_2.gemfile - 44817886904.16 20 Nov 2026 09:10PM UTC 177
98.88
GitHub Action Run
17 run-4.0-gemfiles/grape_swagger.gemfile - 44817886904.17 20 Nov 2026 09:10PM UTC 176
52.67
GitHub Action Run
18 run-3.4-gemfiles/rack_3_2.gemfile - 44817886904.18 20 Nov 2026 09:10PM UTC 177
98.88
GitHub Action Run
19 run-4.0-gemfiles/rails_8_0.gemfile - 44817886904.19 20 Nov 2026 09:10PM UTC 178
98.88
GitHub Action Run
20 run-3.4-gemfiles/rack_3_1.gemfile - 44817886904.20 20 Nov 2026 09:10PM UTC 177
98.88
GitHub Action Run
21 run-3.3-gemfiles/rails_8_1.gemfile - 44817886904.21 20 Nov 2026 09:10PM UTC 178
98.89
GitHub Action Run
22 run-4.0-gemfiles/hashie.gemfile - 44817886904.22 20 Nov 2026 09:10PM UTC 176
59.07
GitHub Action Run
23 run-4.0-gemfiles/dry_validation.gemfile - 44817886904.23 20 Nov 2026 09:10PM UTC 176
56.71
GitHub Action Run
Source Files on build 44817886904
  • Tree
  • List 178
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44817886904
  • c1a0fcea on github
  • Prev Build on master (#44816135613)
  • Next Build on master (#44827046069)
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