Skip to content

Commit 3d2ae88

Browse files
committed
Require Ruby 3.2+ & puppet-lint 5.1+
1 parent 2b08bf6 commit 3d2ae88

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ inherit_gem:
99
Naming/FileName:
1010
Exclude:
1111
- "*.gemspec"
12+
13+
AllCops:
14+
TargetRubyVersion: 3.2

.rubocop_todo.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
2-
# `rubocop --auto-gen-config`
3-
# on 2023-04-21 12:33:23 UTC using RuboCop version 1.50.2.
2+
# `rubocop --auto-gen-config --no-auto-gen-timestamp`
3+
# using RuboCop version 1.79.2.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -36,21 +36,20 @@ RSpec/RepeatedExampleGroupDescription:
3636
Exclude:
3737
- 'spec/puppet-lint/plugins/check_params_empty_string_assignment/check_params_empty_string_assignment_spec.rb'
3838

39-
# Offense count: 5
39+
# Offense count: 3
4040
# This cop supports unsafe autocorrection (--autocorrect-all).
4141
# Configuration parameters: EnforcedStyle.
4242
# SupportedStyles: always, always_true, never
4343
Style/FrozenStringLiteralComment:
4444
Exclude:
45-
- 'Gemfile'
46-
- 'Rakefile'
45+
- '**/*.arb'
4746
- 'lib/puppet-lint/plugins/check_params_empty_string_assignment.rb'
4847
- 'puppet-lint-params_empty_string-check.gemspec'
4948
- 'spec/puppet-lint/plugins/check_params_empty_string_assignment/check_params_empty_string_assignment_spec.rb'
5049

5150
# Offense count: 1
5251
# This cop supports safe autocorrection (--autocorrect).
53-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
52+
# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
5453
# URISchemes: http, https
5554
Layout/LineLength:
5655
Max: 145

Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ group :development do
1313
gem 'rake', '~> 13.0', '>= 13.0.6'
1414
gem 'rspec', '~> 3.12'
1515
gem 'rspec-collection_matchers', '~> 1.2'
16-
gem 'rspec-its', '~> 1.3'
17-
gem 'voxpupuli-rubocop', '~> 2.0'
16+
gem 'rspec-its', '>= 1.3', '< 3'
17+
gem 'voxpupuli-rubocop', '~> 4.2.0'
1818
end

puppet-lint-params_empty_string-check.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
1313
]
1414
spec.summary = 'A puppet-lint plugin to check for class parameters assigned to the empty string.'
1515

16-
spec.required_ruby_version = '>= 2.7.0'
16+
spec.required_ruby_version = '>= 3.2'
1717

18-
spec.add_dependency 'puppet-lint', '>= 3', '< 5'
18+
spec.add_dependency 'puppet-lint', '~> 5.1'
1919
end

0 commit comments

Comments
 (0)