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

ruby-grape / grape / 25583726063
97%

Build:
DEFAULT BRANCH: master
Ran 08 May 2026 11:01PM UTC
Jobs 37
Files 157
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 May 2026 11:01PM UTC coverage: 96.997% (+0.06%) from 96.935%
25583726063

push

github

web-flow
Fix Array/Set custom-type coercer dropping symbolized hash keys (#2699)

The Array/Set branch of `enforce_symbolized_keys` built a symbolized
copy via non-mutating `deep_symbolize_keys` and discarded it, so the
returned collection still carried string-keyed hashes. Switch to
`map!` so the symbolized values replace the originals, matching the
Hash branch's contract.

While here, refactor the class for readability: hoist the
`[Array, Set]` and `[:coerced?, :parsed?]` arrays to private frozen
constants, lift trailing `if/else` chains into guard clauses, extract
`hash_symbolizer` / `collection_symbolizer` / `enumerable_type_check`
helpers, collapse the `infer_coercion_method` + symbolize-wrap chain
into a single `build_coercion_method` entry point, and reorder the
private methods to follow call order from `initialize`.

Add `spec/grape/validations/types/custom_type_coercer_spec.rb`
covering the Array and Set symbolization paths through the public
API. The Array case is the regression test for the bug above.

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

1079 of 1163 branches covered (92.78%)

Branch coverage included in aggregate %.

25 of 25 new or added lines in 1 file covered. (100.0%)

3411 of 3466 relevant lines covered (98.41%)

32165.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rails_7_2.gemfile - 25583726063.1 08 May 2026 11:02PM UTC 157
95.69
GitHub Action Run
2 run-3.3-gemfiles/rack_3_0.gemfile - 25583726063.2 08 May 2026 11:01PM UTC 156
95.67
GitHub Action Run
3 run-3.3-gemfiles/rails_8_1.gemfile - 25583726063.3 08 May 2026 11:02PM UTC 157
95.67
GitHub Action Run
4 run-3.3-gemfiles/rails_7_2.gemfile - 25583726063.4 08 May 2026 11:02PM UTC 157
95.67
GitHub Action Run
5 run-3.3-Gemfile - 25583726063.5 08 May 2026 11:01PM UTC 156
95.67
GitHub Action Run
6 run-3.2-gemfiles/rails_8_1.gemfile - 25583726063.6 08 May 2026 11:02PM UTC 157
95.72
GitHub Action Run
7 run-3.2-gemfiles/rails_8_0.gemfile - 25583726063.7 08 May 2026 11:02PM UTC 157
95.72
GitHub Action Run
8 run-3.2-gemfiles/rails_7_2.gemfile - 25583726063.8 08 May 2026 11:01PM UTC 157
95.72
GitHub Action Run
9 run-4.0-Gemfile - 25583726063.9 08 May 2026 11:02PM UTC 156
95.69
GitHub Action Run
10 run-3.2-gemfiles/rack_3_0.gemfile - 25583726063.10 08 May 2026 11:01PM UTC 156
95.71
GitHub Action Run
11 run-4.0-gemfiles/rack_3_2.gemfile - 25583726063.11 08 May 2026 11:02PM UTC 156
95.69
GitHub Action Run
12 run-3.2-gemfiles/rack_2_2.gemfile - 25583726063.12 08 May 2026 11:01PM UTC 156
95.67
GitHub Action Run
13 run-3.4-gemfiles/rack_3_2.gemfile - 25583726063.13 08 May 2026 11:01PM UTC 156
95.69
GitHub Action Run
14 run-3.4-gemfiles/rack_3_0.gemfile - 25583726063.14 08 May 2026 11:01PM UTC 156
95.69
GitHub Action Run
15 run-3.4-gemfiles/rails_8_0.gemfile - 25583726063.15 08 May 2026 11:02PM UTC 157
95.69
GitHub Action Run
16 run-3.3-gemfiles/rack_2_2.gemfile - 25583726063.16 08 May 2026 11:01PM UTC 156
95.63
GitHub Action Run
17 run-3.3-gemfiles/rack_3_1.gemfile - 25583726063.17 08 May 2026 11:02PM UTC 156
95.67
GitHub Action Run
18 run-4.0-gemfiles/rails_7_2.gemfile - 25583726063.18 08 May 2026 11:02PM UTC 157
95.69
GitHub Action Run
19 run-4.0-gemfiles/multi_json.gemfile - 25583726063.19 08 May 2026 11:02PM UTC 156
35.92
GitHub Action Run
20 run-3.2-Gemfile - 25583726063.20 08 May 2026 11:02PM UTC 156
95.71
GitHub Action Run
21 run-4.0-gemfiles/grape_entity.gemfile - 25583726063.21 08 May 2026 11:02PM UTC 156
49.94
GitHub Action Run
22 run-4.0-gemfiles/rails_8_1.gemfile - 25583726063.22 08 May 2026 11:02PM UTC 157
95.69
GitHub Action Run
23 run-3.4-gemfiles/rails_8_1.gemfile - 25583726063.23 08 May 2026 11:02PM UTC 157
95.69
GitHub Action Run
24 run-3.4-gemfiles/rack_3_1.gemfile - 25583726063.24 08 May 2026 11:01PM UTC 156
95.69
GitHub Action Run
25 run-4.0-gemfiles/rack_3_0.gemfile - 25583726063.25 08 May 2026 11:01PM UTC 156
95.69
GitHub Action Run
26 run-3.3-gemfiles/rack_3_2.gemfile - 25583726063.26 08 May 2026 11:02PM UTC 156
95.67
GitHub Action Run
27 run-3.4-Gemfile - 25583726063.27 08 May 2026 11:01PM UTC 156
95.69
GitHub Action Run
28 run-3.3-gemfiles/rails_8_0.gemfile - 25583726063.28 08 May 2026 11:02PM UTC 157
95.67
GitHub Action Run
29 run-3.4-gemfiles/rack_2_2.gemfile - 25583726063.29 08 May 2026 11:02PM UTC 156
95.65
GitHub Action Run
30 run-4.0-gemfiles/rails_8_0.gemfile - 25583726063.30 08 May 2026 11:02PM UTC 157
95.69
GitHub Action Run
31 run-4.0-gemfiles/dry_validation.gemfile - 25583726063.31 08 May 2026 11:02PM UTC 156
58.14
GitHub Action Run
32 run-4.0-gemfiles/hashie.gemfile - 25583726063.32 08 May 2026 11:02PM UTC 156
62.75
GitHub Action Run
33 run-4.0-gemfiles/rack_2_2.gemfile - 25583726063.33 08 May 2026 11:02PM UTC 156
95.65
GitHub Action Run
34 run-3.2-gemfiles/rack_3_2.gemfile - 25583726063.34 08 May 2026 11:02PM UTC 156
95.71
GitHub Action Run
35 run-3.2-gemfiles/rack_3_1.gemfile - 25583726063.35 08 May 2026 11:02PM UTC 156
95.71
GitHub Action Run
36 run-4.0-gemfiles/multi_xml.gemfile - 25583726063.36 08 May 2026 11:02PM UTC 156
35.92
GitHub Action Run
37 run-4.0-gemfiles/rack_3_1.gemfile - 25583726063.37 08 May 2026 11:02PM UTC 156
95.69
GitHub Action Run
Source Files on build 25583726063
  • Tree
  • List 157
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25583726063
  • ba19b091 on github
  • Prev Build on master (#25564552185)
  • Next Build on master (#25583959632)
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