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

ruby-grape / grape / 38124778112
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dblock/test-push-master-only
DEFAULT BRANCH: master
Ran 11 Oct 2026 08:26AM UTC
Jobs 25
Files 168
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

11 Oct 2026 08:25AM UTC coverage: 99.105% (-0.9%) from 99.966%
38124778112

Pull #3028

github

ericproulx
Resolve a scope's request params in ParamsScope instead of the params DSL

DSL::Parameters holds the methods a params block calls, but it also held
what resolves a scope's params on every request: #params, #map_params and
the EmptyOptionalValue placeholder. They read ParamsScope's state, the
only class that includes the module, and ParamsScope's own
#validated_params called the private #map_params across it; the
validators and AttributesIterator named the placeholder as
Grape::DSL::Parameters::EmptyOptionalValue.

All three now live in ParamsScope, and the placeholder is
ParamsScope::EmptyOptionalValue. AttributesIterator tests for it with
equal?, as the validators do, rather than asking the element's ==. The
#params examples that ran against a stub of the module now run against
real scopes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #3028: Resolve a scope's request params in ParamsScope instead of the params DSL

1491 of 1509 branches covered (98.81%)

Branch coverage included in aggregate %.

18 of 18 new or added lines in 3 files covered. (100.0%)

34 existing lines in 7 files now uncovered.

4376 of 4411 relevant lines covered (99.21%)

25918.33 hits per line

Coverage Regressions

Lines Coverage ∆ File
11
42.31
-57.69% lib/grape/validations/validators/contract_scope_validator.rb
8
25.0
-75.0% lib/grape/validations/contract_scope.rb
7
65.22
-34.78% lib/grape/json.rb
4
84.85
-15.15% lib/grape/dsl/entity.rb
2
94.55
-5.45% lib/grape/error_formatter/base.rb
1
99.72
-0.28% lib/grape/util/inheritable_setting.rb
1
81.82
-18.18% lib/grape/xml.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rails_8_1.gemfile - 38124778112.1 11 Oct 2026 08:26AM UTC 168
98.8
GitHub Action Run
2 run-3.4-gemfiles/rails_8_1.gemfile - 38124778112.2 11 Oct 2026 08:26AM UTC 168
98.8
GitHub Action Run
3 run-3.3-gemfiles/rack_3_0.gemfile - 38124778112.3 11 Oct 2026 08:26AM UTC 167
98.82
GitHub Action Run
4 run-4.0-gemfiles/rails_8_0.gemfile - 38124778112.4 11 Oct 2026 08:26AM UTC 168
98.8
GitHub Action Run
5 run-3.3-gemfiles/rack_3_1.gemfile - 38124778112.5 11 Oct 2026 08:26AM UTC 167
98.82
GitHub Action Run
6 run-4.0-gemfiles/rack_2_2.gemfile - 38124778112.6 11 Oct 2026 08:26AM UTC 167
98.77
GitHub Action Run
7 run-3.3-gemfiles/rails_8_0.gemfile - 38124778112.7 11 Oct 2026 08:26AM UTC 168
98.82
GitHub Action Run
8 run-3.3-gemfiles/rails_7_2.gemfile - 38124778112.8 11 Oct 2026 08:26AM UTC 168
98.82
GitHub Action Run
9 run-4.0-gemfiles/rails_7_2.gemfile - 38124778112.9 11 Oct 2026 08:26AM UTC 168
98.8
GitHub Action Run
10 run-3.4-gemfiles/rack_2_2.gemfile - 38124778112.10 11 Oct 2026 08:27AM UTC 167
98.77
GitHub Action Run
11 run-4.0-gemfiles/hashie.gemfile - 38124778112.11 11 Oct 2026 08:26AM UTC 166
59.88
GitHub Action Run
12 run-3.4-gemfiles/rack_3_1.gemfile - 38124778112.12 11 Oct 2026 08:26AM UTC 167
98.8
GitHub Action Run
13 run-3.3-gemfiles/rails_8_1.gemfile - 38124778112.13 11 Oct 2026 08:26AM UTC 168
98.82
GitHub Action Run
14 run-4.0-gemfiles/grape_swagger.gemfile - 38124778112.14 11 Oct 2026 08:26AM UTC 166
53.18
GitHub Action Run
15 run-3.4-gemfiles/rack_3_2.gemfile - 38124778112.15 11 Oct 2026 08:26AM UTC 167
98.8
GitHub Action Run
16 run-3.4-gemfiles/rack_3_0.gemfile - 38124778112.16 11 Oct 2026 08:27AM UTC 167
98.8
GitHub Action Run
17 run-3.4-gemfiles/rails_8_0.gemfile - 38124778112.17 11 Oct 2026 08:26AM UTC 168
98.8
GitHub Action Run
18 run-4.0-gemfiles/multi_xml_0_8.gemfile - 38124778112.18 11 Oct 2026 08:26AM UTC 166
45.67
GitHub Action Run
19 run-3.3-gemfiles/rack_3_2.gemfile - 38124778112.19 11 Oct 2026 08:27AM UTC 167
98.82
GitHub Action Run
20 run-4.0-gemfiles/rack_3_0.gemfile - 38124778112.20 11 Oct 2026 08:26AM UTC 167
98.8
GitHub Action Run
21 run-4.0-Gemfile - 38124778112.21 11 Oct 2026 08:26AM UTC 167
98.8
GitHub Action Run
22 run-3.3-gemfiles/rack_2_2.gemfile - 38124778112.22 11 Oct 2026 08:26AM UTC 167
98.78
GitHub Action Run
23 run-3.3-Gemfile - 38124778112.23 11 Oct 2026 08:26AM UTC 167
98.82
GitHub Action Run
24 run-3.4-gemfiles/rails_7_2.gemfile - 38124778112.24 11 Oct 2026 08:26AM UTC 168
98.8
GitHub Action Run
25 run-4.0-gemfiles/multi_json_1_20.gemfile - 38124778112.25 11 Oct 2026 08:26AM UTC 166
45.97
GitHub Action Run
Source Files on build 38124778112
  • Tree
  • List 168
  • Changed 4
  • Source Changed 4
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38124778112
  • Pull Request #3028
  • PR Base - master (#38124703316)
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