Categories: None [Edit]

rubocop-hash_inspect

https://rubygems.org/gems/rubocop-hash_inspect
https://github.com/puppetlabs/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: 109,143 of 197,051
Downloads: 7,452

Daily

Ranking: 6,619 of 197,010
Downloads: 397

Depended by

RankDownloadsName

Depends on

RankDownloadsName
55753,518,357rubocop
84569,966,195rubocop-ast
372141,770,665lint_roller

Owners

#GravatarHandle
1iconia-content