Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Set 2.6 as minimum required ruby version for gem
Browse files Browse the repository at this point in the history
Ruby 2.6 is the oldest Ruby that hasn't reached EOL.
By setting it in the `gemspec`, we ensure that older Ruby
versions don't try to use an incompatible `rexml` version.

Issue ruby#69
  • Loading branch information
ivoanjo committed Apr 9, 2021
1 parent 143d244 commit e3b1096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rexml.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Gem::Specification.new do |spec|
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

spec.required_ruby_version = '>= 2.6.0'

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "test-unit"
Expand Down

0 comments on commit e3b1096

Please sign in to comment.