rubocop-hash_inspect 0.2.0
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).
Gemfile:
=
install:
=
Versions:
- 0.2.0 June 17, 2026 (12.5 KB)