Skip to content

Commit

Permalink
Require Ruby < 3.2
Browse files Browse the repository at this point in the history
Ruby 3.2 removed Object#taint and #tainted?. One of beaker-puppet's
depenencies, inifile, uses those methods.

This commit updates the gemspec to limit usage on Ruby 3.2 and above.

Also see: puppetlabs#206
  • Loading branch information
mhashizume committed Feb 7, 2024
1 parent d5d68fd commit ea47677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beaker-puppet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gem::Specification.new do |s|
s.description = 'For use for the Beaker acceptance testing tool'
s.license = 'Apache-2.0'

s.required_ruby_version = '>= 2.7'
s.required_ruby_version = '>= 2.7', '< 3.2'

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
Expand Down

0 comments on commit ea47677

Please sign in to comment.