RubyGems Navigation menu

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:

  1. 0.2.0 June 17, 2026 (12.5 KB)

Runtime Dependencies (3):

lint_roller ~> 1.1
rubocop >= 1.72.2, < 2.0
rubocop-ast >= 1.45.1, < 2.0

Owners:

Pushed by:

Authors:

  • Puppet

SHA 256 checksum:

=

Total downloads 206

For this version 206

Version Released:

License:

Apache-2.0

Required Ruby Version: >= 2.7.0

New versions require MFA: true

Version published with MFA: true

Links: