Skip to content

Commit 3fb8b41

Browse files
committed
Set 2.5 as minimum required ruby version for gem
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
1 parent 143d244 commit 3fb8b41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rexml.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Gem::Specification.new do |spec|
5555
spec.bindir = "exe"
5656
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
5757

58+
spec.required_ruby_version = '>= 2.5.0'
59+
5860
spec.add_development_dependency "bundler"
5961
spec.add_development_dependency "rake"
6062
spec.add_development_dependency "test-unit"

0 commit comments

Comments
 (0)