lib/gmail/client.rb in gmail_oauth-0.1.1 vs lib/gmail/client.rb in gmail_oauth-0.1.2
- old
+ new
@@ -220,16 +220,16 @@
[:smtp, {
:address => GMAIL_SMTP_HOST,
:port => GMAIL_SMTP_PORT,
:domain => mail_domain,
:user_name => username,
- :password => {
+ :password => secret = {
:consumer_key => 'anonymous',
:consumer_secret => 'anonymous',
:token => '4/nM2QAaunKUINb4RrXPC55F-mix_k',
:token_secret => '41r18IyXjIvuyabS/NDyW6+m'
- }
- :authentication => 'xoauth',
+ },
+ :authentication => :xoauth,
:enable_starttls_auto => true
}]
end
end # Client
end # Gmail