From 62b56388a3290e0000fd569a6ad0b6586fd67900 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 09:51:35 +0000 Subject: [PATCH] Update voxpupuli-rubocop requirement from ~> 3.0.0 to ~> 4.0.0 Updates the requirements on [voxpupuli-rubocop](https://github.com/voxpupuli/voxpupuli-rubocop) to permit the latest version. - [Changelog](https://github.com/voxpupuli/voxpupuli-rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/voxpupuli/voxpupuli-rubocop/compare/v3.0.0...v4.0.0) --- updated-dependencies: - dependency-name: voxpupuli-rubocop dependency-version: 4.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- lib/puppet/modulebuilder/builder.rb | 2 +- puppet-modulebuilder.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puppet/modulebuilder/builder.rb b/lib/puppet/modulebuilder/builder.rb index eb19d85..179b13b 100644 --- a/lib/puppet/modulebuilder/builder.rb +++ b/lib/puppet/modulebuilder/builder.rb @@ -376,7 +376,7 @@ def validate_ustar_path!(path) return unless path.bytesize > 100 || prefix.bytesize > 155 - raise ArgumentError, \ + raise ArgumentError, format("'%s' could not be split at a directory separator into two " \ 'parts, the first having a maximum length of 155 bytes and the ' \ 'second having a maximum length of 100 bytes.', path: path) diff --git a/puppet-modulebuilder.gemspec b/puppet-modulebuilder.gemspec index f726f5f..c8b4ced 100644 --- a/puppet-modulebuilder.gemspec +++ b/puppet-modulebuilder.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'minitar', '>= 0.9', '< 2' spec.add_dependency 'pathspec', '>= 0.2.1', '< 3.0.0' - spec.add_development_dependency 'voxpupuli-rubocop', '~> 3.0.0' + spec.add_development_dependency 'voxpupuli-rubocop', '~> 4.0.0' spec.required_ruby_version = Gem::Requirement.new('>= 3.1.0') end