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

ruby-grape / grape / 34029068515
97%
master: 99%

Build:
Build:
LAST BUILD BRANCH: benchmark/perf-2917-2918
DEFAULT BRANCH: master
Ran 06 Sep 2026 11:02AM UTC
Jobs 32
Files 169
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

06 Sep 2026 11:01AM UTC coverage: 97.157%. Remained the same
34029068515

Pull #2908

github

ericproulx
Stop reassigning method parameters across lib

A parameter reassigned partway through a method means the name documents
one thing in the signature and holds another below it. Every site in
`lib` now binds the derived value to its own local, so a parameter keeps
what the caller passed for the whole method.

Two of them were reassigned to hide a mutation of the argument itself,
and those stop writing into what they were given:

* `Middleware::Formatter#ensure_content_type` merged a Content-Type into
  the response headers Hash in place, then returned it.
* `ParamsScope#process_oneof!` wrote the collected variants back into the
  options Hash from the `requires`/`optional` call site. Now
  `#collected_oneof` returns them and the caller merges.

`Endpoint::Options` is left alone; it is fixed in #2907.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2908: Stop reassigning method parameters across lib

1245 of 1334 branches covered (93.33%)

Branch coverage included in aggregate %.

74 of 75 new or added lines in 16 files covered. (98.67%)

3950 of 4013 relevant lines covered (98.43%)

27098.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.33
-0.02% lib/grape/middleware/formatter.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_3_0.gemfile - 34029068515.1 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
2 run-4.0-gemfiles/multi_xml_0_8.gemfile - 34029068515.2 06 Sep 2026 11:02AM UTC 167
47.04
GitHub Action Run
3 run-3.4-gemfiles/rails_8_0.gemfile - 34029068515.3 06 Sep 2026 11:02AM UTC 169
95.9
GitHub Action Run
4 run-3.3-gemfiles/rack_3_1.gemfile - 34029068515.4 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
5 run-3.4-Gemfile - 34029068515.5 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
6 run-4.0-Gemfile - 34029068515.6 06 Sep 2026 11:03AM UTC 168
95.9
GitHub Action Run
7 run-3.4-gemfiles/rack_2_2.gemfile - 34029068515.7 06 Sep 2026 11:02AM UTC 168
95.86
GitHub Action Run
8 run-3.3-gemfiles/rack_2_2.gemfile - 34029068515.8 06 Sep 2026 11:02AM UTC 168
95.86
GitHub Action Run
9 run-4.0-gemfiles/dry_validation.gemfile - 34029068515.9 06 Sep 2026 11:02AM UTC 167
57.8
GitHub Action Run
10 run-4.0-gemfiles/rack_3_1.gemfile - 34029068515.10 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
11 run-4.0-gemfiles/multi_json_1_20.gemfile - 34029068515.11 06 Sep 2026 11:02AM UTC 167
47.54
GitHub Action Run
12 run-4.0-gemfiles/rack_3_2.gemfile - 34029068515.12 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
13 run-3.3-gemfiles/rails_8_1.gemfile - 34029068515.13 06 Sep 2026 11:02AM UTC 169
95.9
GitHub Action Run
14 run-3.3-gemfiles/rack_3_2.gemfile - 34029068515.14 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
15 run-4.0-gemfiles/rails_8_0.gemfile - 34029068515.15 06 Sep 2026 11:03AM UTC 169
95.9
GitHub Action Run
16 run-3.4-gemfiles/rails_8_1.gemfile - 34029068515.16 06 Sep 2026 11:02AM UTC 169
95.9
GitHub Action Run
17 run-4.0-gemfiles/hashie.gemfile - 34029068515.17 06 Sep 2026 11:02AM UTC 167
61.77
GitHub Action Run
18 run-3.4-gemfiles/rack_3_2.gemfile - 34029068515.18 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
19 run-4.0-gemfiles/grape_entity.gemfile - 34029068515.19 06 Sep 2026 11:02AM UTC 167
50.33
GitHub Action Run
20 run-3.4-gemfiles/rails_7_2.gemfile - 34029068515.20 06 Sep 2026 11:02AM UTC 169
95.9
GitHub Action Run
21 run-3.4-gemfiles/rack_3_0.gemfile - 34029068515.21 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
22 run-4.0-gemfiles/rails_7_2.gemfile - 34029068515.22 06 Sep 2026 11:02AM UTC 169
95.9
GitHub Action Run
23 run-4.0-gemfiles/multi_json.gemfile - 34029068515.23 06 Sep 2026 11:02AM UTC 167
47.51
GitHub Action Run
24 run-4.0-gemfiles/grape_swagger.gemfile - 34029068515.24 06 Sep 2026 11:02AM UTC 167
55.24
GitHub Action Run
25 run-3.3-gemfiles/rails_8_0.gemfile - 34029068515.25 06 Sep 2026 11:02AM UTC 169
95.9
GitHub Action Run
26 run-3.3-Gemfile - 34029068515.26 06 Sep 2026 11:03AM UTC 168
95.9
GitHub Action Run
27 run-3.4-gemfiles/rack_3_1.gemfile - 34029068515.27 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
28 run-4.0-gemfiles/rails_8_1.gemfile - 34029068515.28 06 Sep 2026 11:03AM UTC 169
95.9
GitHub Action Run
29 run-4.0-gemfiles/multi_xml.gemfile - 34029068515.29 06 Sep 2026 11:02AM UTC 167
47.0
GitHub Action Run
30 run-3.3-gemfiles/rails_7_2.gemfile - 34029068515.30 06 Sep 2026 11:02AM UTC 169
95.9
GitHub Action Run
31 run-4.0-gemfiles/rack_2_2.gemfile - 34029068515.31 06 Sep 2026 11:02AM UTC 168
95.86
GitHub Action Run
32 run-3.3-gemfiles/rack_3_0.gemfile - 34029068515.32 06 Sep 2026 11:02AM UTC 168
95.9
GitHub Action Run
Source Files on build 34029068515
  • Tree
  • List 169
  • Changed 16
  • Source Changed 16
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34029068515
  • Pull Request #2908
  • PR Base - master (#33993167075)
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