roo.gemspec in roo-2.8.3 vs roo.gemspec in roo-2.9.0

- old
+ new

@@ -15,14 +15,21 @@ spec.files = `git ls-files -z`.split("\x0") spec.files.reject! { |fn| fn.include?('test/files') } spec.require_paths = ['lib'] - spec.required_ruby_version = ">= 2.3.0" + if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' + spec.required_ruby_version = ">= 2.6.0" + else + spec.required_ruby_version = ">= 2.7.0" + end spec.add_dependency 'nokogiri', '~> 1' spec.add_dependency 'rubyzip', '>= 1.3.0', '< 3.0.0' - spec.add_development_dependency 'rake', '~> 10.1' + spec.add_development_dependency 'rake' spec.add_development_dependency 'minitest', '~> 5.4', '>= 5.4.3' spec.add_development_dependency 'rack', '~> 1.6', '< 2.0.0' + if RUBY_VERSION >= '3.0.0' + spec.add_development_dependency 'matrix' + end end