Skip to content

Commit

Permalink
Set 2.5 as minimum required ruby version for gem
Browse files Browse the repository at this point in the history
This gem is no longer tested with Rubies older than 2.5,
and it's actually broken on at least <= 2.2.

By setting the minimum version in the `gemspec`, we ensure that older Ruby
versions don't try to use an incompatible `rexml` version.

Issue #69
  • Loading branch information
ivoanjo committed Apr 9, 2021
1 parent 143d244 commit 3fb8b41
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.5.0'

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

0 comments on commit 3fb8b41

Please sign in to comment.