DEV: Use non-builtin net-pop, net-imap and net-smtp for Ruby 3.1+ (#15692)
This commit is contained in:
parent
4aa9a813ec
commit
3dbb3d09dc
8
Gemfile
8
Gemfile
|
@ -133,6 +133,14 @@ gem 'cose', require: false
|
|||
gem 'addressable'
|
||||
gem 'json_schemer'
|
||||
|
||||
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.1")
|
||||
# net-smtp, net-imap and net-pop were removed from default gems in Ruby 3.1
|
||||
gem "net-smtp", "~> 0.2.1", require: false
|
||||
gem "net-imap", "~> 0.2.1", require: false
|
||||
gem "net-pop", "~> 0.1.1", require: false
|
||||
gem "digest", "3.0.0", require: false
|
||||
end
|
||||
|
||||
# Gems used only for assets and not required in production environments by default.
|
||||
# Allow everywhere for now cause we are allowing asset debugging in production
|
||||
group :assets do
|
||||
|
|
Loading…
Reference in New Issue