Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing bug where net/imap was not being required and PLAIN authentica…

…tion was not being added
  • Loading branch information...
commit 9d70fbf4ddb2ff38c2f44872de1f5468c4687d8d 1 parent e30d225
@dweinand dweinand authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/vendor/plain_imap.rb
View
5 lib/vendor/plain_imap.rb
@@ -1,3 +1,4 @@
+require 'net/imap'
# add plain as an authentication type...
# This is taken from:
# http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/net/imap.rb?revision=7657&view=markup&pathrev=10966
@@ -15,4 +16,6 @@ def initialize(user, password)
@user = user
@password = password
end
-end
+end
+
+Net::IMAP.add_authenticator "PLAIN", PlainAuthenticator
Please sign in to comment.
Something went wrong with that request. Please try again.