tpitale / mail_room

Forward mail from gmail IMAP to a callback URL or job worker, simply.
MIT License
193 stars 51 forks source link

Fix warnings when loading net/protocol #123

Closed stanhu closed 3 years ago

stanhu commented 3 years ago

As described in https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/, Ruby 3.0.0 promoted net-http and net-imap from stdlib. Adding net-http as a dependency avoids "already initialized constant errors" if net-imap and faraday are used. See https://github.com/ruby/net-imap/issues/16#issuecomment-803086765 for more details.