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

ruby-grape / grape / 42520358877
100%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2026 08:29PM UTC
Jobs 23
Files 177
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

08 Nov 2026 08:29PM UTC coverage: 100.0%. Remained the same
42520358877

push

github

web-flow
Add Grape.config.allow_undeclared_params; false answers 400 to undeclared params (#3054)

With the setting false, a request carrying a param its endpoint did not
declare is answered 400, the undeclared params reported in the same
Grape::Exceptions::ValidationErrors as the other validation errors, with
the message "is not allowed".

Declared are the names of the endpoint's params blocks (its own and its
namespaces', given blocks included, renamed params by the name sent), a
contract's keys, the route's path params, and format. Hash, Array and
JSON params are looked into key by key and named by path, as in
items[1][price]. The check runs after the validators, so a JSON param
sent as a String is looked into as the Hash it is coerced to.

The declared names are folded into a frozen tree at compile!, held in
Endpoint::State. A request with no query string and no body is let
through without building params.

The setting defaults to true, which keeps today's behaviour, and Grape
5.0 makes false the default.

Fixes #2241. Refs #2416.

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

1575 of 1575 branches covered (100.0%)

Branch coverage included in aggregate %.

73 of 73 new or added lines in 5 files covered. (100.0%)

4641 of 4641 relevant lines covered (100.0%)

19267.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/hashie.gemfile - 42520358877.1 08 Nov 2026 08:29PM UTC 175
59.5
GitHub Action Run
2 run-3.4-gemfiles/rack_3_2.gemfile - 42520358877.2 08 Nov 2026 08:29PM UTC 176
98.85
GitHub Action Run
3 run-3.3-Gemfile - 42520358877.3 08 Nov 2026 08:29PM UTC 176
98.87
GitHub Action Run
4 run-4.0-gemfiles/dry_validation.gemfile - 42520358877.4 08 Nov 2026 08:29PM UTC 175
56.97
GitHub Action Run
5 run-4.0-gemfiles/rack_3_1.gemfile - 42520358877.5 08 Nov 2026 08:29PM UTC 176
98.85
GitHub Action Run
6 run-3.3-gemfiles/rack_3_2.gemfile - 42520358877.6 08 Nov 2026 08:29PM UTC 176
98.87
GitHub Action Run
7 run-4.0-gemfiles/multi_xml.gemfile - 42520358877.7 08 Nov 2026 08:29PM UTC 175
45.87
GitHub Action Run
8 run-3.3-gemfiles/rails_8_0.gemfile - 42520358877.8 08 Nov 2026 08:29PM UTC 177
98.87
GitHub Action Run
9 run-3.4-gemfiles/rails_8_1.gemfile - 42520358877.9 08 Nov 2026 08:29PM UTC 177
98.86
GitHub Action Run
10 run-3.4-gemfiles/rack_3_1.gemfile - 42520358877.10 08 Nov 2026 08:29PM UTC 176
98.85
GitHub Action Run
11 run-4.0-Gemfile - 42520358877.11 08 Nov 2026 08:29PM UTC 176
98.85
GitHub Action Run
12 run-3.4-Gemfile - 42520358877.12 08 Nov 2026 08:29PM UTC 176
98.85
GitHub Action Run
13 run-4.0-gemfiles/multi_xml_0_8.gemfile - 42520358877.13 08 Nov 2026 08:29PM UTC 175
45.9
GitHub Action Run
14 run-4.0-gemfiles/rack_3_2.gemfile - 42520358877.14 08 Nov 2026 08:29PM UTC 176
98.85
GitHub Action Run
15 run-4.0-gemfiles/grape_swagger.gemfile - 42520358877.15 08 Nov 2026 08:29PM UTC 175
52.98
GitHub Action Run
16 run-4.0-gemfiles/multi_json.gemfile - 42520358877.16 08 Nov 2026 08:29PM UTC 175
46.13
GitHub Action Run
17 run-3.3-gemfiles/rack_3_1.gemfile - 42520358877.17 08 Nov 2026 08:29PM UTC 176
98.87
GitHub Action Run
18 run-4.0-gemfiles/grape_entity.gemfile - 42520358877.18 08 Nov 2026 08:29PM UTC 175
48.99
GitHub Action Run
19 run-4.0-gemfiles/rails_8_1.gemfile - 42520358877.19 08 Nov 2026 08:29PM UTC 177
98.86
GitHub Action Run
20 run-3.4-gemfiles/rails_8_0.gemfile - 42520358877.20 08 Nov 2026 08:29PM UTC 177
98.86
GitHub Action Run
21 run-4.0-gemfiles/rails_8_0.gemfile - 42520358877.21 08 Nov 2026 08:29PM UTC 177
98.86
GitHub Action Run
22 run-4.0-gemfiles/multi_json_1_20.gemfile - 42520358877.22 08 Nov 2026 08:29PM UTC 175
46.16
GitHub Action Run
23 run-3.3-gemfiles/rails_8_1.gemfile - 42520358877.23 08 Nov 2026 08:29PM UTC 177
98.87
GitHub Action Run
Source Files on build 42520358877
  • Tree
  • List 177
  • Changed 7
  • Source Changed 4
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #42520358877
  • 846d4ab0 on github
  • Prev Build on master (#42520147678)
  • Next Build on master (#42520755555)
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