Skip to content

Commit 072b02f

Browse files
authored
Set 2.5 as minimum required ruby version for gem (#70)
GitHub: fix GH-69 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.
1 parent 143d244 commit 072b02f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rexml.gemspec

+2
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)