Pin dependency to allow tests to run on older version (#1400)

Upstream transitive dependency has dropped support for older rubies
without updating the minimum ruby version required.

Pin the max version of the dependency for older rubies to allow the
tests to run until the upstream project resolves.
This commit is contained in:
Darragh Bailey
2021-11-16 12:53:16 +00:00
committed by GitHub
parent bb267e3910
commit 32d1805583

View File

@@ -40,6 +40,10 @@ group :development do
gem 'rexml'
end
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
gem 'mime-types', '< 3.4.0'
end
gem 'pry'
end