Skip to content

Commit 1013d7a

Browse files
committed
(GH-372) Reset min Ruby requirement
Prior to this change the required Ruby version was set to greater than or equal to 2.7. This meant that the spec_helpers gem would not run on systems with Ruby 2.5. This change updates the required Ruby version so that Rubies 2.5 and above are compatibel. Additionally the following gems were downgraded for compatibility: * pathspec is now ~> 0.2 * puppet-lint is now ~> 2.5.2
1 parent 1fc08ba commit 1013d7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

puppetlabs_spec_helper.gemspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ Gem::Specification.new do |spec|
2626
spec.executables = Dir['bin/**/*'].map { |f| File.basename(f) }
2727
spec.require_paths = ['lib']
2828

29-
spec.required_ruby_version = Gem::Requirement.new('>= 2.7')
29+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5')
3030

3131
spec.add_runtime_dependency 'mocha', '~> 1.0'
32-
spec.add_runtime_dependency 'pathspec', '~> 1.0'
33-
spec.add_runtime_dependency 'puppet-lint', '~> 3.0'
32+
spec.add_runtime_dependency 'pathspec', '~> 0.2'
33+
spec.add_runtime_dependency 'puppet-lint', '~> 2.5.2'
3434
spec.add_runtime_dependency 'puppet-syntax', '~> 3.0'
3535
spec.add_runtime_dependency 'rspec-github', '~> 2.0'
3636
spec.add_runtime_dependency 'rspec-puppet', '~> 2.0'

0 commit comments

Comments
 (0)