Categories: None [Edit]
rubocop-hash_inspect
A RuboCop cop that statically detects Ruby code relying on the pre-Ruby 3.4
Hash#inspect output format (e.g. {:sym=>1}). Ruby 3.4 changed Hash#inspect to
produce {sym: 1, "str" => 2}, breaking tests that hardcode the old format.
Run as part of `pdk validate` to catch incompatibilities before upgrading to
Puppet 9 (Ruby 4).
Total
Ranking: 143,489 of 196,721
Downloads: 4,412
Daily
Ranking: 10,700 of 196,694
Downloads: 59
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 56 | 743,824,096 | rubocop |
| 85 | 560,973,852 | rubocop-ast |
| 392 | 134,912,827 | lint_roller |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | ia-content |