lib/net/imap/sasl/cram_md5_authenticator.rb in net-imap-0.4.18 vs lib/net/imap/sasl/cram_md5_authenticator.rb in net-imap-0.5.0
- old
+ new
@@ -18,10 +18,10 @@
authcid: nil, username: nil,
password: nil, secret: nil,
warn_deprecation: true,
**)
if warn_deprecation
- warn "WARNING: CRAM-MD5 mechanism is deprecated." # TODO: recommend SCRAM
+ warn "WARNING: CRAM-MD5 mechanism is deprecated.", category: :deprecated
end
require "digest/md5"
@user = authcid || username || user
@password = password || secret || pass
@done = false