diff --git a/.travis.yml b/.travis.yml index f731dfc..6459cb8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: ruby rvm: - - 2.5 - 2.6 - 2.7 - 3.0 diff --git a/mail_room.gemspec b/mail_room.gemspec index d1d94a3..3f48bda 100644 --- a/mail_room.gemspec +++ b/mail_room.gemspec @@ -26,6 +26,9 @@ Gem::Specification.new do |gem| # for testing delivery methods gem.add_development_dependency "faraday" + # Ruby v3.0.0 made net-http a default gem. This dependency is needed to eliminate + # warnings when faraday is used. See https://github.com/lostisland/faraday-net_http/pull/5. + gem.add_development_dependency "net-http", "~> 0.1" gem.add_development_dependency "mail" gem.add_development_dependency "letter_opener" gem.add_development_dependency "redis", "~> 3.3.1"