Skip to content

Commit ab82ea9

Browse files
committed
Require Ruby 3.2+ & puppet-lint 5.1+
1 parent fb1420e commit ab82ea9

File tree

4 files changed

+9
-15
lines changed

4 files changed

+9
-15
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: 2 additions & 11 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 11:42:36 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
@@ -23,12 +23,3 @@ RSpec/DescribeClass:
2323
- '**/spec/system/**/*'
2424
- '**/spec/views/**/*'
2525
- 'spec/puppet-lint/plugins/lookup_in_parameter/lookup_in_parameter_spec.rb'
26-
27-
# Offense count: 2
28-
# This cop supports unsafe autocorrection (--autocorrect-all).
29-
# Configuration parameters: EnforcedStyle.
30-
# SupportedStyles: always, always_true, never
31-
Style/FrozenStringLiteralComment:
32-
Exclude:
33-
- 'Gemfile'
34-
- 'Rakefile'

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-lookup_in_parameter-check.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
2222
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
2323
spec.require_paths = ['lib']
2424

25-
spec.required_ruby_version = '>= 2.7.0'
25+
spec.required_ruby_version = '>= 3.2'
2626

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

0 commit comments

Comments
 (0)